Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
605
Controls in template column dissapear after adding rows
posted

Hello, I have an ultrawebgrid.  The first column is a template column with an imagebutton as the only control.  once I click the add new button, the row appears, but the control is not there.  Any help would be appreciated.  Below is the templated column in the webgrid.

 

<igtbl:TemplatedColumn AllowGroupBy="No" FilterIcon="False" ServerOnly="false"  >
                                <CellTemplate>
                                    <asp:ImageButton ID="btnDeleteResource"  runat="server" ImageUrl="~/images/delete.png" CommandArgument="Delete" OnClientClick="return confirm('Delete Selected Row?');" CommandName="Delete" />
                                    <asp:Button runat="server" Text="test" />
                                </CellTemplate>
                               
                                <Header>
                                <RowLayoutColumnInfo OriginX="1"></RowLayoutColumnInfo>
                                </Header>

                                <Footer>
                                <RowLayoutColumnInfo OriginX="1"></RowLayoutColumnInfo>
                                </Footer>
                            </igtbl:TemplatedColumn>