Re: Simulate button click to trigger postback
Christopher <[email protected]> Thu, 24 Jan 2008 13:25:00 -0600
| Newsgroups | gmane.comp.windows.devel.dotnet.web |
|---|---|
| Message-ID | <[email protected]> |
Page.GetPostBackEventReference(Control) will get you the correctly formatted javascript regardless of which version of the fx you use. -- -Christopher | AspInsider http://bluefenix.net On Jan 24, 2008, at 1:08 PM, Shawn Wildermuth wrote: > Can't you just call the PostBack Javascript method that is created > ASP.NET > pages? View the source of the page and see what happens when the > button is > clicked. > > Thanks, > > Shawn Wildermuth > http://adoguy.com > http://wildermuthconsulting.com > Microsoft MVP (C#), MCSD.NET, Author and Speaker > > The Silverlight Tour is coming to a city near you! > > -----Original Message----- > From: Discussion of building .NET applications targeted for the Web > [mailto:[email protected]] On Behalf Of Brady Kelly > Sent: Thursday, January 24, 2008 1:45 PM > To: [email protected] > Subject: [DOTNET-WEB] Simulate button click to trigger postback > > I have tried many ways of forcing a page refresh from within > Javascript, but > my learned colleagues of implemented some sort of URL uniqueness > scheme to > prevent caching and I think this is messing me around. I have a > Refresh > button on the page for a manual refresh, so how do I go about > triggering the > server side Click event for that button? > > > =================================== > This list is hosted by DevelopMentor. http://www.develop.com > > View archives and manage your subscription(s) at http://discuss.develop.com > > =================================== > This list is hosted by DevelopMentorĀ® http://www.develop.com > > View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com