"Grey" <er*****@i-cable.com> wrote in message news:<OC**************@TK2MSFTNGP12.phx.gbl>...
how to show Modal Dialog in ASP.NET, pls give me some example..
--
You should Write HTML and JavaScript code eg.
Literal lc = new Literal();
lc.Text = "<BUTTON onclick=\"javascript
:
window.showModalDialog('GetTxt.asp','','dialogHeig ht:200px,dialogWidth:40px;status=no';\"></BUTTON>
Add the literal to a control eg. the aspx Form you are
Controls.Add(lc);
and you are ready