How to force an AutoPostBack when I click a ASP:Button?
I want to to a AutoPostBack but unfortunelly ASP:Button doesn't has it so I wanna know if there's a way to do an AutoPostBack from ServerSide?
The Response object contains a server-side redirection method. I have demonstrated below.
'| Refresh the page by grabbing the currect documents URL in the ServerVariables collection.
Do you know if that will keep the pas like if you were clicked on a ASP:checkbox with AutoPostBack = "true" ?
In other words when I enter to Page_Load it will think that the page is not loaded for first time?
Yes, ASP.NET will know that the page has been reloaded. But the code will still be executed, unless you use the Page.IsPostBack method.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)