Ok I’ve posted a similar issue. But this time I’m getting an extra-postback even after I do a redirect away from the page that postbacked to. The issue only affects Internet Explorer!
Let-me illustrate:(Aspx Page A {Webdialog 1 {Close Button} ‘X Button’ } )
(Aspx Page B)
Note if you click the ‘X’ in the top right-hand corner. The page works as intended. Note my Redirect below. I tried ‘Transfer’, Execute…. Nothing will work!
CloseButton – OnClientClick
<asp:Button ID="btnCancelVoid" runat="server" CausesValidation="False" Text="Close" OnClientClick="closeVoidWindow();" />
function closeVoidWindow() {
var dialogWindow = $find('<%=wdVoidRx.ClientID%>');
dialogWindow.set_windowState($IG.DialogWindowState.Hidden, true);
}
Protected Sub wdVoidRx_StateChanged(ByVal sender As Object, ByVal e As Infragistics.Web.UI.LayoutControls.DialogWindowStateChangedEventArgs) Handles wdVoidRx.StateChanged
If e.NewState = Infragistics.Web.UI.LayoutControls.DialogWindowState.Hidden Then
'Do the same the cancel button that is on the dispense form
'btnCancel_Click(sender, New System.EventArgs) 'Redirect to the patient profile page 'Didn't work in IE
'cancel the rx
Dim fwdGUID As String = System.Guid.NewGuid().ToString().Replace("-", "")
Dim fwd_args As New Dictionary(Of String, String)
fwd_args.Add("MRN", hdMRN.Value.ToString)
fwd_args.Add("PatientID", hdPatientID.Value.ToString) 'Add PatientID
Context.Session(fwdGUID) = fwd_args
'Server.Execute("~/Dispense/Profile.aspx?ID=" & fwdGUID.ToString, False)
'Server.Transfer("~/Dispense/Profile.aspx?ID=" & fwdGUID.ToString, False)
Response.Redirect("~/Dispense/Profile.aspx?ID=" & fwdGUID.ToString, False)
End If
End Sub
Hello mccreadiegroup,
what is the build number you are using?
Thank you
We are on build 11.1.20111.1006