Click here to Skip to main content
15,893,594 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
grid view's advanced setting,edit delete is working in asp.net.
but not working in asp.net mvc .edit,delete links appear but on select nothing happening.
Posted
Updated 24-Oct-12 22:19pm
v2

I am replying too late but I think it can help.

Edit Delete operation on Gridview are depend upon viewstate in case of asp.net, but since MVC does not support viewstate so this can be the reason to happen nothing on clicking these links.
 
Share this answer
 
I'm not sure that I completely understand your question...

If some thing is not working when you click something in MVC I normally have a look at the html and see what controller/action you are trying to call and put a break point there so you can see what is happening.


And I have to add this too...
This is a really good tutorial on MVC4 if you have not seen this you really should.

http://www.asp.net/mvc/tutorials/mvc-4/getting-started-with-aspnet-mvc4/intro-to-aspnet-mvc-4[^]
 
Share this answer
 
thank u ..wat is the alternate option for it in mvc?
 
Share this answer
 

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