Thank you very much for taking time to give feedback. For email alerts, when new videos are uploaded, please subscribe to my channel. In the description of this video, I have included the link for ASP .NET, C#, and SQL Server playlists. All the videos are arranged in logical sequence in these playlists, which could be useful to you. Please share the link with your friends who you think would also benefit from them. If you like these videos, please click on the THUMBS UP button below the video.
Thnx Venkat for uploading these videos....1 quick question. Is there any way by which we can select either Clientside/Server side validation. As shown in ur video, only when the Javascript is disabled in the browser the Server side validation takes place....Thnx!
Thank you Venkat for this video, If we disable(Enable = false) the control dynamically, associated validation control still works on button click. Shall we dynamically disable the validation control as well to make it work? Or is there any other way to achieve this?
If you're having issue in VS 2013 just put this code onto your page load protected void Page_Load(object sender, EventArgs e) { this.UnobtrusiveValidationMode = System.Web.UI.UnobtrusiveValidationMode.None; }
Thank you very much for taking time to give feedback. This means a lot. I am very glad you found the videos useful. I have organised all the Dot Net & SQL Server videos in to playlists, which could be useful to you th-cam.com/users/kudvenkatplaylists?view=1&sort=dd If you need DVDs or to download all the videos for offline viewing please visit www.pragimtech.com/order.aspx Slides and Text Version of the videos can be found on my blog csharp-video-tutorials.blogspot.com Tips to effectively use my youtube channel. th-cam.com/video/y780MwhY70s/w-d-xo.html If you want to receive email alerts, when new videos are uploaded, please subscribe to my youtube channel. th-cam.com/users/kudvenkat If you like these videos, please click on the THUMBS UP button below the video. May I ask you for a favor. I want these tutorials to be helpful for as many people as possible. Please share the link with your friends and family who you think would also benefit from them. Good Luck Venkat
Thank you so much, I couldn't understand why my ddl's required field validator doesn't working. It's because i didn't set the initial value of my Required Field Validator :)
hi venkat ji, could u show us how to apply requiredfield validator for a checkboxlist and also for group of radiobuttons ie radiobutton1,radiobutton2,radiobutton3 etc...the groupname for all the radiobutton1,radiobutton2,radiobutton3 is set to "xxxx" say for example and also for checkboxlist controls......
thanks fort the video, its very useful and the way you explains, it becomes very easy. but i want to put RED ASTERISK on required field label, can you please help me with this...
Sir help me for i am used validation but other buttons are not working i want to only for submit button or update button others button like search or close not working
Hi, venkat could you please make videos on AJAX Controls. I watched a lot of videos but could not understand any of them because they are not a match to the way you explain. So, please make some videos on Ajax controls venkat. I request please...................
thankyou vry much fr d video sir...i have also seen ur other vids..a gr8 help fr a learner lyk me..i hv a query fr u regarding this video..what if instead of Data saved i want to show something else..i want that when user hit submit bttn then label should show value frm name textbox and selected value frm dropdown list...eg Name is Gender....when user hit submit i want the label to fetch vaues from textbox abd dropdown list..can you plz help me..thank you..
Presentation is nice.But I have one doubt ,if we enable the client side validation ,what difference can be see on the result .how can identify the difference ?.kindly give the reply .
+Deepak Pandey You could disable client side validation in asp .net validation, and you could use jquery for your client side and Asp .net for server side. just set EnableClientScript="false"; For Example :
i am not getting "Validation failed" message when i hit enter without entering value..i am getting only "*" message to enter detailes ...sir please help me
If I understand correctly, ASP fires javascript when validation fails. Is there any place to edit this generated js,so you could for example fadein the errormessage using Jquery??
try disabling EnableClientScript on your validator control, in order to perform validation on the server..afterwards Page.IsValid should return false and your else block will be executed
you can add below in the button click event lblMessage.Text = " Name :"+txtName.Text+ " and Gender : "+ddlGender.SelectedItem.Text + " added successfully";
Eng Venkat how are you, I have error, I'm using VS 2012. Server Error in '/UsingRequiredField' Application. WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive). Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidOperationException: WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive). Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Hi Venkat I am Getting this Error when i use validaton controls in webform. WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive). Can u solve this
You may need to add this setting to the web.config file stackoverflow.com/questions/16660900/webforms-unobtrusivevalidationmode-requires-a-scriptresourcemapping-for-jquery
You're amazing, you explain asp.net/c# better than anyone in TH-cam! thank you super programmer!!!!!!!!!!!
Thank you very much for taking time to give feedback. For email alerts, when new videos are uploaded, please subscribe to my channel. In the description of this video, I have included the link for ASP .NET, C#, and SQL Server playlists. All the videos are arranged in logical sequence in these playlists, which could be useful to you. Please share the link with your friends who you think would also benefit from them. If you like these videos, please click on the THUMBS UP button below the video.
Thank you for sharing your knowledge and also making it so easy to understand 😊
Keep up the good work!
Thanks for taking the time to make this! Much appreciated!! =)
thank you! you saved my project. Never knew about the client side and server side validation difference! thanks!
This is the perfect tutorial. Very easy to understand. Thank you
your teaching skill awesome bro.
Thank You My Guide, clear way of understanding.
thanks, it helped me a lot
If you're having issue in VS 2015 or 17 just put this code onto web.config
Good explainer .Thank you so much....its very useful.
Thnx Venkat for uploading these videos....1 quick question. Is there any way by which we can select either Clientside/Server side validation. As shown in ur video, only when the Javascript is disabled in the browser the Server side validation takes place....Thnx!
Have you authored any book? You make this material very clear. Thank you!
Thank you Venkat for this video, If we disable(Enable = false) the control dynamically, associated validation control still works on button click. Shall we dynamically disable the validation control as well to make it work? Or is there any other way to achieve this?
If you're having issue in VS 2013 just put this code onto your page load
protected void Page_Load(object sender, EventArgs e)
{
this.UnobtrusiveValidationMode = System.Web.UI.UnobtrusiveValidationMode.None;
}
Ooooh thank you sooo much
yes it's really works
just applauses, thanks for shareing all this knowledge!!!
Very Nice Tutorial...Tahnks
Very nice
wow great explanation.
Thank you very much for taking time to give feedback. This means a lot. I am very glad you found the videos useful.
I have organised all the Dot Net & SQL Server videos in to playlists, which could be useful to you
th-cam.com/users/kudvenkatplaylists?view=1&sort=dd
If you need DVDs or to download all the videos for offline viewing please visit
www.pragimtech.com/order.aspx
Slides and Text Version of the videos can be found on my blog
csharp-video-tutorials.blogspot.com
Tips to effectively use my youtube channel.
th-cam.com/video/y780MwhY70s/w-d-xo.html
If you want to receive email alerts, when new videos are uploaded, please subscribe to my youtube channel.
th-cam.com/users/kudvenkat
If you like these videos, please click on the THUMBS UP button below the video.
May I ask you for a favor. I want these tutorials to be helpful for as many people as possible. Please share the link with your friends and family who you think would also benefit from them.
Good Luck
Venkat
Thank you so much, I couldn't understand why my ddl's required field validator doesn't working. It's because i didn't set the initial value of my Required Field Validator :)
Thank you verry much!!
excellent explanation
hi venkat ji,
could u show us how to apply requiredfield validator for a checkboxlist and also for group of radiobuttons ie radiobutton1,radiobutton2,radiobutton3 etc...the groupname for all the radiobutton1,radiobutton2,radiobutton3 is set to "xxxx" say for example
and also for checkboxlist controls......
thanks fort the video, its very useful and the way you explains, it becomes very easy. but i want to put RED ASTERISK on required field label, can you please help me with this...
Sir help me for i am used validation but other buttons are not working i want to only for submit button or update button others button like search or close not working
Thank you sir !
Hi, venkat could you please make videos on AJAX Controls. I watched a lot of videos but could not understand any of them because they are not a match to the way you explain. So, please make some videos on Ajax controls venkat. I request please...................
thankyou vry much fr d video sir...i have also seen ur other vids..a gr8 help fr a learner lyk me..i hv a query fr u regarding this video..what if instead of Data saved i want to show something else..i want that when user hit submit bttn then label should show value frm name textbox and selected value frm dropdown list...eg Name is Gender....when user hit submit i want the label to fetch vaues from textbox abd dropdown list..can you plz help me..thank you..
Presentation is nice.But
I have one doubt ,if we enable the client side validation ,what difference can be see on the result .how can identify the difference ?.kindly give the reply .
Good, thanks
Is there any way to hide lblMessage when Required Field Validator Message are showing?? Any help would really be appreciated🙏
I have many buttons on the same page, I want to limit this validation to only specific button. how can i achieve this.
Hey, Kudvenkat very nice tutorial, could you make a tutorial on client side validation using jquery and server side validation in one form please..
+Deepak Pandey You could disable client side validation in asp .net validation, and you could use jquery for your client side and Asp .net for server side. just set EnableClientScript="false";
For Example :
i am not getting "Validation failed" message when i hit enter without entering value..i am getting only "*" message to enter detailes ...sir please help me
thanks
Hi, I am little confused - why does the validation run at client side when the validator control has ' run at = "server" ' property?
validation is control of asp.net and you must first call validation then that controll call js code
If I understand correctly, ASP fires javascript when validation fails. Is there any place to edit this generated js,so you could for example fadein the errormessage using Jquery??
But have error : Type 'DevExpress.Web.ASPxGridView.ASPxGridView' does not have a public property named 'RequiredFieldValidator'.
Help me pls
hi,
MY code is the same. But on submitting without validation it does not go to the else part, just shows the error messages.
Please help.
try disabling EnableClientScript on your validator control, in order to perform validation on the server..afterwards Page.IsValid should return false and your else block will be executed
@@sokinooo thanks, I faced a similar problem and your solution worked for me.
Not show properly text
you can add below in the button click event
lblMessage.Text = " Name :"+txtName.Text+ " and Gender : "+ddlGender.SelectedItem.Text + " added successfully";
Eng Venkat how are you,
I have error, I'm using VS 2012.
Server Error in '/UsingRequiredField' Application.
WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
+Tarun Sharma Thank you Tarun Sharma
How to solve this?
paste this into webconfig page
please add
to your web.config only then it works
Hi Venkat
I am Getting this Error when i use validaton controls in webform.
WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).
Can u solve this
You may need to add this setting to the web.config file
stackoverflow.com/questions/16660900/webforms-unobtrusivevalidationmode-requires-a-scriptresourcemapping-for-jquery