views:

580

answers:

3

Hello friends I am looking for a custom control which could enable me to call message of following type

http://extjs.com/deploy/dev/examples/message-box/msg-box.html

I have searched 2 days now but no luck with it. I am looking for control which function like .net desktop application messagebox. I know, exactly similar may not be possible but main features I am looking for here is returning value of clicked button and custom value entered by user in code behind.

I have also started working on it myself, but hardly any luck so far.. any direction in this case will also be very useful.

A: 

Have you looked at the AJAX Toolkit? It doesn't do all the things you want, but it should be too hard to the extender and controls needed into a CustomControl and create your own DLL.

Robert Wagner
yes i did looked into that but really if it is not so hard to extend, then why I have not found single instance where it is done. I am sure this is not first time someone have faced this problem. Still I even if you could Guide in terms of extending the earlier controls that would be great.
+2  A: 

There is a good tutorial which could help:

Create MessageBox user control using ASP.NET and CSS

And here combining it with the AjaxControlToolkit:

ASP.NET Popup Message Box User Control

I hope this helps!

splattne
A: 

use the namespace "System.Windows.Forms" by adding the reference to the solution explorer