Re: ObjectDataSource loading GridView on PageLoad
Patrick Steele <[email protected]> Wed, 1 Aug 2007 17:30:53 -0400
| Newsgroups | gmane.comp.windows.devel.dotnet.web |
|---|---|
| Message-ID | <00bb01c7d483$3dd59400$6a01a8c0@X60T> |
Check the Page.IsPostBack property. --- Patrick Steele http://weblogs.asp.net/psteele -----Original Message----- From: Discussion of building .NET applications targeted for the Web [mailto:[email protected]] On Behalf Of Smotritsky, Alex Sent: Wednesday, August 01, 2007 4:05 PM To: [email protected] Subject: [DOTNET-WEB] ObjectDataSource loading GridView on PageLoad When I setup a GridView to be loaded from an ObjectDataSource it will attempt to load up on page load. I usually don't want it to do that on the first PageLoad. I usually want it to happen after the user clicks a search button or something like that. How can this be controlled? =================================== 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