Checkboxes in ItemTemplate

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.
 
M

Munna

Hi

Since you have already used updatepanel and it is of no use...
i thing you can go for all client side actions...
in this case you got to write raw ajax methods to update your
stuff...
and rather than use a grid you can use normal html table...
the problem is with client side development you have huge javascript
to manage...

Best of luck

-------
Munna

www.munna.shatkotha.com/blog
www.munna.shatkotha.com
www.shatkotha.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top