posting data opens new window on Modal and modelless window
-
Hello There I have one asp.net page for user registration. It displays when user click Sign In. This is a modelless popup ( I tried Modal as well) The page has to get all the information and on click of submit it needs to post the data to server. The problem is when I click submit button it opens a new window automatically and submits the data in that window. Is there any solution where I can Stop the opening of new window and could post the data within same window ? Thanks
-
Hello There I have one asp.net page for user registration. It displays when user click Sign In. This is a modelless popup ( I tried Modal as well) The page has to get all the information and on click of submit it needs to post the data to server. The problem is when I click submit button it opens a new window automatically and submits the data in that window. Is there any solution where I can Stop the opening of new window and could post the data within same window ? Thanks
Check Form tag in html source, I think there is an action property U have set it. remove it. or check ur button click event. Best Regard Pathan
---------------------------------------------------
-
Check Form tag in html source, I think there is an action property U have set it. remove it. or check ur button click event. Best Regard Pathan
---------------------------------------------------
No there is no Action proprty set as this has to auto post . The form tag is set to runat="server" so on button click when there is a server side event it auto post the form and you do not need to set the actions or any manual method to submit. Problem still there. if you would try this by adding two pages you could see what I means