For example, I cannot get this to work (in my page_load on the
server):
chkCompleted.at tributes.add("o nclick", "javascript:ret urn confirm('Are
you sure?');")
My code is:
<asp:datagrid.. ..>
<columns>
some boundcolumns
<asp:Template ColumnHeaderTex t="Completed"
ItemStyle-HorizontalAlign ="Center">
<ItemTemplate >
<asp:checkbox id="chkComplete d" Runat="server" />
</ItemTemplate>
</asp:TemplateCol umn>
</columns>
</asp:datagrid>
I get an error that chkCompleted is not declared. My guess is that I
have not imported the correct namespace. I have tried several, just
guessing but I haven't found the right one.
Where is a good reference for this? Thank you and links are
appreciated.
server):
chkCompleted.at tributes.add("o nclick", "javascript:ret urn confirm('Are
you sure?');")
My code is:
<asp:datagrid.. ..>
<columns>
some boundcolumns
<asp:Template ColumnHeaderTex t="Completed"
ItemStyle-HorizontalAlign ="Center">
<ItemTemplate >
<asp:checkbox id="chkComplete d" Runat="server" />
</ItemTemplate>
</asp:TemplateCol umn>
</columns>
</asp:datagrid>
I get an error that chkCompleted is not declared. My guess is that I
have not imported the correct namespace. I have tried several, just
guessing but I haven't found the right one.
Where is a good reference for this? Thank you and links are
appreciated.
Comment