I would like to show the validation message of the control that has focus in it. Is there any way to do this in MVC3 razor? Please give me the suggestion.
"And whoever is removed away from the Fire and admitted to Paradise, he indeed is successful." (The Holy Quran)
Excellent Windows VPS Hosting Imran Baloch MVP, MVB, MCP, MCTS, MCPD
I think you nedd client-side validation. By default, MVC3 leverages unobtrusive javascript and famous jQuery validation plugin to perform client side. You can read the article that Irman post to you carefully.
Regards
Young Yang
Please mark the replies as answers if they help or unmark if not.
Feedback to us
MADHURITUMAT...
0 Points
11 Posts
Is there any way to show the validation -message of the control that has focus in mvc3 razor
May 05, 2012 10:04 AM|LINK
Greetings,
I would like to show the validation message of the control that has focus in it. Is there any way to do this in MVC3 razor? Please give me the suggestion.
Thanks,
Madhuri Tumati.
imran_ku07
All-Star
45785 Points
7698 Posts
MVP
Re: Is there any way to show the validation -message of the control that has focus in mvc3 razo...
May 05, 2012 11:34 AM|LINK
See this.
Excellent Windows VPS Hosting
Imran Baloch MVP, MVB, MCP, MCTS, MCPD
Young Yang -...
All-Star
21111 Points
1817 Posts
Microsoft
Re: Is there any way to show the validation -message of the control that has focus in mvc3 razo...
May 07, 2012 02:32 AM|LINK
Hi
I think you nedd client-side validation. By default, MVC3 leverages unobtrusive javascript and famous jQuery validation plugin to perform client side. You can read the article that Irman post to you carefully.
Regards
Young Yang
Feedback to us
Develop and promote your apps in Windows Store