ASP.Net User Control for Twitter Bootstrap Modal
Include Bootstrap assetsAdd user control to your project
Register user control in web.config
Add user control reference in .aspx page
Use it with jQuery or in code behind file.
with jQuery
``` javascript $(document).ready(function () { $("body").on("click", "#Button2", function () { ShowModal("", "Message"); }); }); ```
with C#
string someHTML = "<h1>Much far away than you think...</h1>";
ucModalControl.Show(someHTML, "Message");