.NET Framework - Reload the current Page Programmatically

Asked By King Coffee
21-Nov-09 02:57 AM
Hi,

How can I re-load the current page within a code behind event file. I am
changing the page Theme and want re-load the page with the new Theme
settings.

Sincerely,
King
ASP.NET
(1)
Response.Redirect
(1)
Redirect
(1)
Reload
(1)
  Mark Rae [MVP] replied to King Coffee
21-Nov-09 05:38 AM
Response.Redirect("mypage.aspx", false);


--
Mark Rae
ASP.NET MVP
http://www.markrae.net
Create New Account
help
ASP.Net - the "Big Picture"? .NET Framework Hi, I have a few questions about ASP.Net, as I have been using it for a while but my knowledge of the "big somewhat vague. . .) - In a closely-related matter, do any languages have issues accessing the full ASP.Net environment and facilities? For example, I found accessing .Net Collections in JScript problematic (though I how to do it). - What support to I have for the "native" Windows features under ASP.Net? Is everything done through the CLR? Can I access ADO COM objects in a moderately
This is a second post on this as the first never showed up in search. ASP.NET Security Discussions ASPNET security (1) Jerry Weng Microsoft Online Community (1) Silverlight (1) NET Framework (1) ASP.NET (1) RIA (1) WCF (1) Application (1) Cancel this. The original showed up. Was a for posting. From your post, my understanding on this issue is: you want to use ASP.NET security in your Silverlight application. If I am off base, please feel free to let me know. If we want to use ASP.NET Authentication in Silverlight applications, we need to create an ASP.NET Application Service. ASP.NET
a number from 1 to 10 .NET Framework hey all, i want to create an asp.net web page that allows internet users to pick a number from 1 to 10. how and the same time). Is this a concurrency issue? thanks, rodchar C# Discussions AppDomain (1) ASP.NET (1) WCF (1) IIS (1) GUIDs (1) Otherwise (1) Database (1) Assign (1) hi Rodchar number some other user does. But since you are trying to implement this in an ASP.NET project, you need to post your question in the ASP.NET newsgroup. Your concurrency issues are specific to ASP.NET and thus you will only get
the gridview, by event OnSelectedIndexChanged, I access the data in that row and do a response.redirect to a second page to enter the data I need, based on the parameters I data is updated. In the second page return a session variable so that when you reload the first page asks for this variable and if true return to make the original datatable and then databind } } Would greatly appreciate some guidance on what may be happening. Greetings, ASP.NET Discussions EventArgs (1) GridView (1) ASP.NET (1) EnableViewState (1) Redirect (1) Refresh (1) Remove (1) Check (1) 4B96-BE44-32BB6E47A8D6@microsoft.com: My guess would
problem with a web app that sees a session variable as null until a page reload. These are the steps: 1. Web app loads an array of string data into a session variable 2. Go to another page using response.redirect(???mynextpage.aspx???) 3. Return to current page using window.open(???mypage.aspx???, ???_self???) call in m not seeing any real differences. thanks for any help pointing me to a resolution. ASP.NET Discussions SessionID (1) Abandon (1) String data (1) Is the SessionID the same? or does problem with a web app that sees a session variable as null until a page reload. These are the steps: 1. Web app loads an array of string da