ASP.NET message box

假如想象 提交于 2019-12-23 21:45:20

问题


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

Is there a control which function like a .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.


回答1:


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!




回答2:


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.




回答3:


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



来源:https://stackoverflow.com/questions/293697/asp-net-message-box

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!