Hi,
I know that i can now show the modal popup server side but I have a case where i dont want or need a postback to show the popup. I have buttons in a repeater that and i simply show the modal on click...so in 'Atlas' i did this in javascript..
aspx..
<atlasT:ModalPopupExtenderID="ModalPopupExtender1"runat="server">
<atlasT:ModalPopupPropertiesID="MyPopup"
TargetControlID="Button1"PopupControlID="panModal"CancelControlID="btnCancel"
BackgroundCssClass="modalBackground"DropShadow="True"OkControlID="btnHiddenOK"/>
</atlasT:ModalPopupExtender>
Then in .js
$object("MyPopup")._show();
------AJAX-------
<ajaxT:ModalPopupExtenderID="ModalPopupExtender1"runat="server"
TargetControlID="Button1"PopupControlID="panModalPopup"CancelControlID="btnCancel"
BackgroundCssClass="modalBackground"DropShadow="True"OkControlID="btnHiddenOK"/>
And in .js...
$find("ModalPopupExtender1")._show();
Which doesn't work....Any ideas?
Also, I see properties in the control called Dynamic*; what are they for? Databinding?
Thx
Steve
bump... Anyone got a resolution for this?
Thx
Steve
I thnk that you need to use the show method instead of _show:
$find("ModalPopupExtender1").show();
The dynamic* properties appear to be related to dynamic population. See:
http://ajax.asp.net/ajaxtoolkit/Walkthrough/OtherNeatStuff.aspx
and search for "Easily adding dynamic population"
Thx
Thx cti.
No comments:
Post a Comment