Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
240
WebDialog box for Exception Handling
posted

Hi, I'm trying to use a WebDialog box as part of my Try...Catch statement and can't seem to get the box to open...heres my code. Any help would be appreciated

Catch Ex As Exception

Me.wdbMsgBox.WindowState = Infragistics.Web.UI.LayoutControls.DialogWindowState.Normal

lblError.Text = (Ex.Message)

End Try

Thanks
Marc

Parents
No Data
Reply
  • 28464
    posted

    Hello Marc,

    Thanks for writing. Unfortunately it is a bit hard to tell from the information we have above. Is it possible that you are also setting the Visible property of the WebDialogWindow to False somewhere in code or in the ASPX markup?

    I have been trying to reproduce the problem locally, unfortunately without much success. The try / catch logic should have no effect on the flow of code, but just in case, can you hook a debugging breakpoint to make sure that code is executed (and that there no additional code after that that changes the DialogWindowState enum or Visible property?)

    Any additional information will surely provide additional clues.

Children