Writing a Modal Ajax Messagebox for ASP.NET(blogs.gaiaware.net)

submitted by naitsnaits(45) 3 years, 3 months ago

Most applications today utilizes some kind of messagebox to either give feedback to the user or halt the execution of the application, until the user performs a choice. Typically Ok, Yes, No or Cancel. Creating such a control for the web can be a daunting task, but it doesn't have to be. In this blog I am going to create the MessageBox and use it in a simple sample. The code will be provided for download if you find it useful.

3 comments |category: |Views: 900

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by rochdrrochdr(1) 10 months, 23 days ago 0

I am quite new to asp. I have implemented that code in my web pages, and it is working good whn invoked from a button OnClick event. However, i have some problem when trying to invoke it from a DropDownList SelectedIndexChanged event.
<br>
<br>The MsgBox.Show method is invoke, but the form is never actually showned.
<br>
<br>Any idea?

Thanks

Reply

posted by rochdrrochdr(1) replied to rochdrrochdr(1), 10 months, 22 days ago 0

Forget it, I found that the bug was cause by an UpdatePanel...

Reply

posted by mfo_trmfo_tr(1) 9 months, 1 day ago 0

thanks, it's so usefull.. :D
best regards

Reply

information Login or create an account to comment on this story