asp.net - Insert hidden column in asp:GridView but still available client side -
this simple. want insert hidden column asp:griview i'll able access through javascript. pointers?
you can hide column setting cssclass property, e.g:
<style> .hidden {display:none;} </style> ... <asp:gridview id="gridview1" runat="server" autogeneratecolumns="false"> <columns> <asp:boundfield datafield="id" itemstyle-cssclass="hidden" headerstyle-cssclass="hidden" /> <asp:boundfield datafield="title" /> </columns> </asp:gridview>
Comments
Post a Comment