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
Amit ChoudharyPosted Mar 4, 2010, 1:25 AM
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.
Jitendra PatelPosted Mar 3, 2010, 11:31 PM
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 ChoudharyPosted Mar 3, 2010, 8:26 AM
See code below
Here is the HTML:
Source article http://www.shiningstar.net/articles/articles/javascript/checkboxes.asp
Jitendra PatelPosted Mar 3, 2010, 8:00 AM
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
kiran kumarPosted Mar 3, 2010, 6:50 AM
I have do this in asp.net with Gridview but not in mvc.?
can you explain it more clearly