Expand|Select|Wrap|Line Numbers
- Protected Sub selectOrg_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles selectOrg.Click
- 'navigation bar
- ADA.SmartRedirect("AnnaChooseContact.aspx?retain=true")
- End Sub
Expand|Select|Wrap|Line Numbers
- Public Function SmartURL(ByVal Destination As String) As String
- If (Destination.IndexOf("?") = -1) Then
- Return Destination & "?InstanceId=" & InstanceId
- Else
- Return Destination & "&InstanceId=" & InstanceId
- End If
- End Function
- Public Sub SmartRedirect(ByVal Destination As String)
- Response.Redirect(SmartURL(Destination))
- End Sub
Any ideas why? Does Master Pages have "issues" with this sort of thing?
Thanks!
James