Re: Simulate button click to trigger postback

Shawn Wildermuth <[email protected]> Thu, 24 Jan 2008 14:08:12 -0500
Newsgroups gmane.comp.windows.devel.dotnet.web
Message-ID <[email protected]>
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