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. 13, 2013
01:01 am
3RE027NR7Show this entire thread in new window
Gratar Image based on email address
From:Luca
To:Rick Strahl
Dear Rick,
I tried examples both from your manual (AJAX Controls - Modal Dialogs) and from your Demos webpage (AJAX Controls - Modal Dialogs popups).
Please see both first and second examples on this thread.
Surely there is something I mistake, but I am not able to understand what.
I would like to use your wwModalDialog control because still I do not know Java language so I prefer to trust on your framework now.
Many thanks again



What doesn't work. Give me an example...

The samples most defintely work:

http://west-wind.com/wconnect/webcontrols/ModalPopup.wcsx

+++ Rick ---



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