Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: Generic Modal Dialog

$
0
0
Re: Generic Modal Dialog
Web Connection 5.0
Re: Generic Modal Dialog
Apr. 11, 2013
09:37 pm
3RC1AD2BKShow this entire thread in new window
Gratar Image based on email address
From:Luca
To:Luca
Is there a mistery around wwModalDialog control.
It is the third time I ask you to explain.
Your examples do not work.



dear Rick,
I tried your first example in AJAX Controls Modal Dialogs manual, but it does not work:

<%@ PageLanguage="C#"ID="test_Page" GeneratedSourceFile="test_Page.prg" %><%@ Register Assembly="WebConnectionWebControls" Namespace="Westwind.WebConnection.WebControls" TagPrefix="ww" %><!DOCTYPE html><html><head><title>Modal Dialogs</title><linkhref="westwind.css"rel="stylesheet"type="text/css" /><ww:wwWebLiteralID="WwWebLiteral2"runat="server" Visible="false"><scriptsrc="~/scripts/jquery.js"type="text/javascript"></script><scriptsrc="~/scripts/ww.jquery.js"type="text/javascript"></script></ww:wwWebLiteral></head><body><formid="form1"runat="server"><ww:wwModalDialogID="wwModalDialog1"runat="server"Style="background: white; display: none; width: 400px;"><divid="MessageBoxHeader"class="gridheader"> Header</div><divstyle="padding: 10px;"><divid="MessageBoxContent"></div><hr /><inputtype='button'id='MessageBoxOk'value='Close Dialog' /></div></ww:wwModalDialog><inputtype="button"id="btnTextEntry"value="Enter Name"onclick="wwModalDialog1.showDialog();" /><br /><ww:wwWebButtonID="wwWebButton1"runat="server"width="80" onclientclick="wwModalDialog1.showDialog()"Text="test" /></form></body></html>

Please, what is wrong?
I cannot understand what I mistake.
Many thanks

Still works. Underneath it all though it uses that jquery plugin.

+++ Rick ---



So is the wwModalDialog control obsolete now?


wcdocs:_2hh0s89or.htm

+++ Rick ---


Is it not possible to know how to make work modal dialogs?







Viewing all articles
Browse latest Browse all 10393

Trending Articles