Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Gridview autopostback

Status
Not open for further replies.

flynbye

Programmer
Nov 16, 2001
68
0
0
US
Good Morning All :)

Well the problem that I'm having is that I've built a gridview of available employee information with the data coming from a stored SQL procedure linked to a submit button which retrieves the records I require. All of this works fine but I'd like to implement paging on the gridview and now I'm having issues with the autopostback. When the next page is selected the gridview disappears, but if I click on the submit button (which triggers an autopostback) then the gridview comes back displaying the correct page view.

Any suggestions on how I can generate an autopostback for this control? I'd thought of simply calling the submit button so that it triggers an autopostback but the submit requires a sender and event value I'm not sure how to return.

Thanks for any help!
Chris

I always makes things much harder than they should be... that way later I can slap myself in the forhead after spending hours and hours on two lines of code and say to myself "DUH!"
 
You will probably get a better and faster response to question by posting it in the Microsoft: ASP.NET Forum at this link: forum855

I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson
 
Thanks Jeb,

Tried to repost in the ASP forums but they seem to be down at the moment (or busy) I'll give it another shot here shortly.



I always makes things much harder than they should be... that way later I can slap myself in the forhead after spending hours and hours on two lines of code and say to myself "DUH!"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top