Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jul 04, 2012 07:01 AM by maramkirankumar
Jul 25, 2007 08:08 PM|LINK
We are trying implement a details view for a datagrid using modalpopup.The details of each row are rendered as hidden panels with different ID's. We have one modalpopup on the page and we would like to set the popupcontrolid of the modalpopup to different
detail panels depending on which row the user clicked. We would like to do everything on the client side without postbacks (partial or full)
Any replies will be greatly appreciated
Jul 26, 2007 01:03 PM|LINK
Can it by chance be a mistake? set_popControlID does not exist as property setter in the modal popup extender. Instead of this the setter is named
set_PopupControlID. The setter rises the PropertyChnaged event for the property named PopupControlID, so you should be able to track this down...
Furthermore, in order to set new popup control ID you need to hide and destroy the modal popup object, then set the new popup control ID and finally disply the modal popup again...
And it functions... :)
Jul 26, 2007 10:47 PM|LINK
How about creating different modalpopup controls with a dummy button as the targetcontrolid and then using JS to show the correct one when you click the grid row?
Jul 27, 2007 02:18 PM|LINK
Thanks you very much for all the replies.
There was a typo in my original message. it should have been set_PopupControlID instead of set_popControlID.
looks something like this
var modalPopupBehaviorCtrl = $find('detailPopup');
Oct 16, 2007 11:16 PM|LINK
Thanks for the posts they were very helpful. It looks like when
initialize() is called that's when all the properties are set which control the element which acts as a modal window.
Aug 06, 2008 07:25 PM|LINK
I am using ModalPopupExtender in my application. I need to change the
Please let me know any changes need to be done.
Need Help Urgently.
mODAl popup extender and show/hide
Aug 07, 2008 05:44 PM|LINK
What error is your code giving you. It looks correct. I use the following method to change the PopupControlID :
Jul 04, 2012 07:01 AM|LINK
For first click its showing popup, but from second click onwars its not showing can you please help me in this.... its urgent...........