Hi,
i have tried to redirect the page to a frame.
but the below code is not executing properly.
the else part is executed properly but its not working ie not redirecting the page.
could you tell me the solution.....
If intTaabsRole <> Roles.Guest Then
strRedirect = "<script language='Javascript'>"
strRedirect += "parent.frames('fra2').location.href='Page1.aspx';"
strRedirect += "</script>"
Response.Write(strRedirect)
Else
strRedirect = "<script language='Javascript'>"
strRedirect += "parent.frames('fra2').location.href='GuestPage.aspx';"
strRedirect += "</script>"
Response.Write(strRedirect)
End If
Response.Flush()
...
Go to the complete details ...