Showing posts with label property. Show all posts
Showing posts with label property. Show all posts

Saturday, March 24, 2012

Modal popup TargetControlID set to a control from within a DataGrid?

Can someone please tell me how to set the ModalPopupExtender TargetControlID property to an ImageButton control that is part of a template column of a DataGrid? The designer doesn't allow me to set it to the required control, and when I set it in the .aspx source I get a run-time error.

Thanks...

Hi,

Would you please post some code,so I can reproduce the problem and resolve it more quickly?

Thanks


A bit too much code to post. I have an ImageButton inside an DataGrid template column. The DataGrid is in a table. Outside the table I have a Panel and ModalPopupExtender, but I can't set it's TargetControlID to the ImageButton. I can set it to other ImageButtons in the table.

Modal Poupup Extender and scrollhandler

From reading the release notes on codeplex, I was under the assumption that the latest version of modalpopupextender has a property called scrollHandler that can be set to false. I cannot find this property in the binary or the source code on 1.0618.

Thanks for all your help,

Steve

Hi Steve,

I got the same conclusion that this property doesn't exist after I took a look at its source code. You maycreate an issue for such inconsistency. Thank you.

ModalDialogExtender wish

I wish we could have a way to have a modaldialog that had a TargetUrl property that could use a separte aspx page as the source of it's ui. I have a page that has several dialogs and having to jam all that code on one page sure is messy.

I wish, I wish.

Why not use an ascx for each modalpopup?