I have a header control:
| <HeaderTemplate> |
| <asp:LinkButton runat="server" ID="lbSelectAllItems" Text="Select All" CommandName="SelectAllItems" CommandArgument="qualification" ></asp:LinkButton> |
| </HeaderTemplate> |
I tried to add a javascript function in "OnClientClien" property to confirm action.
OnClientClick='return ConfirmSelectItem()'
when I click on the linkbutton at run time i get javascript error "object expected".
any idea what I am doing wrong?
thanks in advance