Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...