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!"
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!"