0
Reply

Values not disaplying in aspx popup control

Theresa

Theresa

Aug 16 2010 4:15 AM
8.8k
Hi
I am using Dev Express tools with ASP.net 3.5

I am trying to display some values on Popup control while clicking on repeater .I want to display popup control from server side
so i use

dxPopupProduct.ShowOnPageLoad = true;
but it is not displaying the control

If I am using the clinrt side functionslity , control wil be displayed...(GetWindow(), and show() method)

which code i hav to use for that one
this is the ASPx control (Popup)

<dxpc:ASPxPopupControl ID="dxPopupProduct" runat="server" CloseAction="CloseButton"
    DataMember="ProductId" ClientInstanceName="dxPopupProduct"  Height="200px" Width="300px" 
     PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter"
    HeaderText="Product Info" >
  
    <ContentCollection>
        <dxpc:PopupControlContentControl runat="server" ID="PopupControlContentControl1">
        </dxpc:PopupControlContentControl>
    </ContentCollection>
    <Windows>
   
        <dxpc:PopupWindow Modal="True" >
      
        <ContentTemplate>   
       
                   <dxpc:PopupControlContentControl runat="server" ID="dxpopupcontent" >
                    <table>
                        <tr>
                            <td>
                                <dxe:ASPxLabel ID="dxLblProdName" runat="server" Text="Product Name">
                                </dxe:ASPxLabel>
                            </td>
                            <td>
                                <dxe:ASPxTextBox runat="server" ID="dxTxtProdName" ClientInstanceName="dxTxtProdName">
                                </dxe:ASPxTextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <dxe:ASPxLabel ID="dxlblProddesc" Text="Description" runat="server">
                                </dxe:ASPxLabel>
                            </td>
                            <td>
                                <dxe:ASPxMemo ID="dxMemoProdDes" runat="server" ClientInstanceName="dxMemoProdDes">
                                </dxe:ASPxMemo>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <dxe:ASPxLabel ID="dxLblPrice" Text="Price" runat="server">
                                </dxe:ASPxLabel>
                            </td>
                            <td>
                                <dxe:ASPxTextBox ID="dxTxtPrice" runat="server" ClientInstanceName="dxTxtPrice">
                                </dxe:ASPxTextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <dxe:ASPxButton ID="dxBtnbuy" runat="server" Text="Buy" ClientInstanceName="dxBtnbuy">
                                </dxe:ASPxButton>
                            </td>
                        </tr>
                    </table>
                </dxpc:PopupControlContentControl></ContentTemplate>
          
<ContentCollection>
<dxpc:PopupControlContentControl runat="server"></dxpc:PopupControlContentControl>
</ContentCollection>
          
        </dxpc:PopupWindow>
    </Windows>
</dxpc:ASPxPopupControl>



wat change i hav to made on this?

please help me

thanks in advance