Checkboxes in ItemTemplate

  • Thread starter Thread starter David C
  • Start date Start date
D

David C

I have a GridView with 6 checkboxes in ItemTemplate. It looks like
this. Nothing special. I cannot use the GridView's line by line edit
function because it would be just to cumbersome. This of this as a
set of survey questions.

<asp:GridView ID="gvTest" runat="server">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<asp:CheckBox runat="server" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<asp:CheckBox ID="CheckBox1" runat="server" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<asp:CheckBox ID="CheckBox2" runat="server" />
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>

But this has to postback and the problem is with the amount of data
being exchanged between the server and the brower. It is
unacceptable, so I am open to ideas.

I would like suggestions on how to go about reducing the amount of
data being transfered. Tried UpdatePanel, and that does not work at
all.

Thank you.
 
Back
Top