Hi, first of all sorry for my english and thanks for your help.
I'm using Net Advantage 2009.2, the Ajax Toolkit 40412 on Visual Studio 2008 and when I put a ModalPopUpExtender into a tempatecolumn of a UltraWebDataGrid I receive the error "there was an error rendering the control."
These was running ok in NetAdvantage For Net 2007 Vol 3 CLR 2.0 on Visual sutio 2005
The code is something like this
<igtbl:UltraWebGrid ID="uwgConversions" runat="server" Width="100%" OnInitializeRow="uwgConversions_InitializeRow" > <Bands> <igtbl:UltraGridBand> <Columns> <igtbl:TemplatedColumn IsBound="True" Key="Editar" Width="40px"> <CellTemplate> <table width="100%"> <tr> <td align="center"> <asp:ImageButton runat="server" ID="imgImagenEditarConversion" ImageUrl="Images/Edit.gif" OnClientClick="EdicionConversions()" CssClass="Hand" ToolTip="Edit"/> <asp:ModalPopupExtender ID="mpeConversion" runat="server" TargetControlID="imgImagenEditarConversion" PopupControlID="pnlConversions" CancelControlID="btnSalirConversions" BackgroundCssClass="modalBackground"></asp:ModalPopupExtender> </td> </tr> </table> </CellTemplate> <Header Caption="Edit"> <RowLayoutColumnInfo OriginX="15" /> </Header> </igtbl:TemplatedColumn> </Columns> </igtbl:UltraGridBand> </Bands> <DisplayLayout AllowColSizingDefault="Free" BorderCollapseDefault="Separate" </DisplayLayout></igtbl:UltraWebGrid>
Hi,
. Below ModalPoputExtender put a Label and change the TargetControlID referencing a Label :
<asp:ModalPopupExtender ID="mpeConversion" runat="server" TargetControlID="lbModal" PopupControlID="pnlConversions" CancelControlID="btnSalirConversions" BackgroundCssClass="modalBackground"></asp:ModalPopupExtender>
<asp:Label ID="lbModal" runat="server"></Label>
. and in function EdicionConversions() put:
$find('mpeConversion').show();
I think it will work!