Click here to Skip to main content
15,894,460 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
hi friends,

i have one grid view with alternate color row in asp.net MVC. i also include delete and edit functionality to each row but after deleting one row the color is not maintain well means sequence of alternate row is miss mach so it create bad row design what should i do to solve this problem.

i also uploaded image on following site

http://www.c-sharpcorner.com/Forums/Thread/303306/[^]
Posted
Updated 11-Jun-15 3:55am
v3
Comments
Torakami 12-Jun-15 3:00am    
Refer this example and check whats wrong in your code .

http://www.dotnetgallery.com/kb/resource22-How-to-change-alternative-color-for-aspnet-gridview-rows-and-coloumns.aspx
[no name] 16-Jun-15 9:17am    
thank you so much,

you are right at some point but my design is good with first load but after deleting one row i can`t get alternative 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