Click here to Skip to main content
15,915,702 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more: , +
i am unable to validate web grid .suppose i click one row edit button then i can not click on 2nd row eidt button at that time

What I have tried:

i am able to show data in web grid but unable to do validation
Posted

1 solution

Hi,

Thats a good question you posted. Its not that straight to validate a web grid promptly.

I will suggest you do this-

grid.Column(header: "Day", format: @@Html.TextBox("Day", @item.Day as object, new {class="required", @style = "width: 50px;" })),

This is an example of a jquery validation line! You can change it as its stated here.

This should give you the headsup to validate the grid :)

Best,
Sayed,
Growth Hacking Combo to Help you Grow[^]
 
Share this answer
 
Comments
Member 12300401 12-Feb-16 3:34am    
if u click on any other row then it will not allow you to select that row unless u finish the previous row

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900