Problem:
------------------------
I have a list of names that spill over onto other pages. The user can
click on the pages to advance and see more names. The user can click on
a name to edit information. So, if I edit a name on page 5 and click
Submit, it redirects me to page 1 of the names. I want it to redirect
me back to the previous page.
All of the pages (1-10) are shown as
http://localhost/blah/query_users.aspx
When I hover my mouse over the numbers on the page, it says:
javascript: _doPostBack('results$_ctl54$_ctl#',")
Note - # being the page number I'm pointing at
Code behind button....
-----------------------------------------
Private Sub btnSubmit_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnSubmit.Click
Select Case action
Case "ADD"
AddUser()
Case "UPDATE"
UpdateInsertUser()
End Select
If err Then Exit Sub
DConn.Close()
Response.Redirect("query_users.aspx")
End Sub
Any ideas? Do you need more information? Reply here only, please!