Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Participant
1270 Points
279 Posts
Apr 23, 2012 02:38 PM|LINK
In your button click event include
response.redirect(page.aspx?id=1) for login
response.redirect(page.aspx?id=2) for password change
In your new page, on pageload get the query string value by:
If Request.Params.Get("id") <> "" Then id = Request.QueryString("id") Else id = 0 End If
if id=1 then
--display login view
elseif id=2 then
--display forgot password view
Hope this helps.
Shankar_ss
Participant
1270 Points
279 Posts
Re: How to select(set) active view in another page
Apr 23, 2012 02:38 PM|LINK
In your button click event include
response.redirect(page.aspx?id=1) for login
response.redirect(page.aspx?id=2) for password change
In your new page, on pageload get the query string value by:
If Request.Params.Get("id") <> "" Then
id = Request.QueryString("id")
Else
id = 0
End If
if id=1 then
--display login view
elseif id=2 then
--display forgot password view
Hope this helps.
Shankar