Bill Humphrey
New member
- Joined
- Feb 26, 2009
- Messages
- 2
Hi
I have three panels in multiview MultiView1.SetActiveView(View1) is the default panel. If I navigate to a page from panel 2 or 3, how do I navigate back to 2 or 3 via a back button
My Back Button Code
Private Sub fBTNGoBack_Click(ByVal sender As System.Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles fBTNGoBack.Click
lTransferURL = lNUTHState.NUTHHome & "/Patient/DemographicDetails.aspx"
lTransferURL = lTransferURL & "?ActionOnEntry="
lTransferURL = lTransferURL & NUTHConst.ScreenAction.Load
lTransferURL = lTransferURL & "&ModeOnEntry="
If lNUTHState.tblUserLevelId = NUTHConst.UserLevel.READ Then
lTransferURL = lTransferURL & NUTHConst.ScreenMode.READ
Else
lTransferURL = lTransferURL & NUTHConst.ScreenMode.UPDATE
End If
lTransferURL = lTransferURL & "&tblPatientId="
lTransferURL = lTransferURL & CStr(lNUTHState.tblPatientId)
Server.Transfer(lTransferURL)
End Sub
My Multiview PanelsSub Button1_Click(s as Object, e as EventArgs)
MultiView1.SetActiveView(View1)
End Sub
Sub Button2_Click(s as Object, e as EventArgs)
MultiView1.SetActiveView(View2)
End Sub
Sub Button3_Click(s as Object, e as EventArgs)
MultiView1.SetActiveView(View3)
End Sub
I have three panels in multiview MultiView1.SetActiveView(View1) is the default panel. If I navigate to a page from panel 2 or 3, how do I navigate back to 2 or 3 via a back button
My Back Button Code
Private Sub fBTNGoBack_Click(ByVal sender As System.Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles fBTNGoBack.Click
lTransferURL = lNUTHState.NUTHHome & "/Patient/DemographicDetails.aspx"
lTransferURL = lTransferURL & "?ActionOnEntry="
lTransferURL = lTransferURL & NUTHConst.ScreenAction.Load
lTransferURL = lTransferURL & "&ModeOnEntry="
If lNUTHState.tblUserLevelId = NUTHConst.UserLevel.READ Then
lTransferURL = lTransferURL & NUTHConst.ScreenMode.READ
Else
lTransferURL = lTransferURL & NUTHConst.ScreenMode.UPDATE
End If
lTransferURL = lTransferURL & "&tblPatientId="
lTransferURL = lTransferURL & CStr(lNUTHState.tblPatientId)
Server.Transfer(lTransferURL)
End Sub
My Multiview PanelsSub Button1_Click(s as Object, e as EventArgs)
MultiView1.SetActiveView(View1)
End Sub
Sub Button2_Click(s as Object, e as EventArgs)
MultiView1.SetActiveView(View2)
End Sub
Sub Button3_Click(s as Object, e as EventArgs)
MultiView1.SetActiveView(View3)
End Sub