Hi,
When i have click header checkbox then all checkbox are Checked like (Gmail Inbox) but it is in MVC Archicture useing in JavaScript .
I have not use any server control.
Because my application in MVC.
I am new in MVC. I have do this in asp.net with Gridview but not in mvc.
Thanks,
Jitendra patel
Loading

kiran kumarRank #3,110 · 461 reputationPosted Mar 3, 2010, 1:50 AM EST
I have do this in asp.net with Gridview but not in mvc.?
can you explain it more clearly
Jitendra Patel138 reputationPosted Mar 3, 2010, 3:00 AM EST
When i have click header checkbox then all checkbox are Checked like (Gmail Inbox) but it is in MVC Archicture useing in JavaScript.
I have not used any server control like (Gridview or datalist or repeater).
My data is bind in Table format.
My application in MVC Archicture
Thanks,
Jitendra Patel
Amit ChoudharyRank #145 · 15.8K reputationPosted Mar 3, 2010, 3:26 AM EST
See code below
Here is the HTML:
Source article http://www.shiningstar.net/articles/articles/javascript/checkboxes.asp
Jitendra Patel138 reputationPosted Mar 3, 2010, 6:31 PM EST
Sorry this code is not useful to me.............
actually my requirement is like this.
Please check this link
http://www.aspsnippets.com/Articles/Using-JavaScript-with-ASP.Net-GridView-Control.aspx
in this it is use a Gridview control but
My data is display in Html Table in MVC Archicture.
So any idea please help me.
Thanks,
Jitendra Patel
Amit ChoudharyRank #145 · 15.8K reputationPosted Mar 3, 2010, 8:25 PM EST
i have attached project here. and did what you want using HTML table.
just analyze the table and javascript code.
Please mark the answer if it helps you.