Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Checkboxes in ItemTemplate

Reply
Thread Tools

Checkboxes in ItemTemplate

 
 
David C
Guest
Posts: n/a
 
      07-19-2008
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.
 
Reply With Quote
 
 
 
 
Munna
Guest
Posts: n/a
 
      07-20-2008
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can code inside a Repeater's ItemTemplate modify controls in the ItemTemplate? Bennett Haselton ASP .Net 1 09-24-2004 01:59 AM
Getting the value from ItemTemplate of DataList Vannela ASP .Net 1 12-12-2003 02:57 PM
binding data to a radiobuttonlist within an ItemTemplate ani ASP .Net 0 10-30-2003 09:11 PM
ItemTemplate using IDE?? SStory ASP .Net 2 08-04-2003 11:25 PM
ItemTemplate help Jeremy Chapman ASP .Net 2 07-29-2003 05:19 PM



Advertisments