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
730
webdialogwindow object reference error
posted

Hello,

I just upgraded to the latest release of asp controls. I created a webdialogwindow in a user control with exposed properties to set them in the webdialogwindow, like width height and image url and so forth. I also created a public method "Show" that takes a messagetype enum and a message string so I can display different types of messages (error, info, warning, question, and confirm).

I placed the user control on aspx page and now every time I call it in the code behind I get an error "Object reference not set to an instance of an object."

Why am I getting this?

Is there a better way to do what I'm trying to do?

Parents Reply Children
No Data