E Eliyahu Goldin Apr 21, 2004 #2 This can be achieved only on client side. Use javascript call window.showModalDialog (..). Eliyahu how to show Modal Dialog in ASP.NET, pls give me some example..
This can be achieved only on client side. Use javascript call window.showModalDialog (..). Eliyahu how to show Modal Dialog in ASP.NET, pls give me some example..
A Amar Apr 21, 2004 #3 Grey said: how to show Modal Dialog in ASP.NET, pls give me some example.. -- Click to expand... You should Write HTML and JavaScript code eg. Literal lc = new Literal(); lc.Text = "<BUTTON onclick=\"javascript: window.showModalDialog('GetTxt.asp','','dialogHeight: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
Grey said: how to show Modal Dialog in ASP.NET, pls give me some example.. -- Click to expand... You should Write HTML and JavaScript code eg. Literal lc = new Literal(); lc.Text = "<BUTTON onclick=\"javascript: window.showModalDialog('GetTxt.asp','','dialogHeight: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