RequiredField validator control in asp.net   Part 44

RequiredField validator control in asp.net Part 44

kudvenkat

11 лет назад

174,066 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@vijayagandhimathi1049
@vijayagandhimathi1049 - 23.03.2022 18:34

Very nice

Ответить
@sagaraggarwal5991
@sagaraggarwal5991 - 01.03.2022 17:24

I have many buttons on the same page, I want to limit this validation to only specific button. how can i achieve this.

Ответить
@jenishajenika5975
@jenishajenika5975 - 02.02.2022 04:22

Thank You My Guide, clear way of understanding.

Ответить
@PrasannaKumarDas86
@PrasannaKumarDas86 - 02.12.2021 09:34

This is the perfect tutorial. Very easy to understand. Thank you

Ответить
@swagataupadhyay2679
@swagataupadhyay2679 - 06.10.2021 14:39

Is there any way to hide lblMessage when Required Field Validator Message are showing?? Any help would really be appreciated🙏

Ответить
@netcore81
@netcore81 - 06.09.2021 14:20

thank you! you saved my project. Never knew about the client side and server side validation difference! thanks!

Ответить
@sushantsahay4576
@sushantsahay4576 - 21.01.2021 18:49

please add
<appSettings>
<add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
</appSettings>
to your web.config only then it works

Ответить
@theakashjadhavaj
@theakashjadhavaj - 05.11.2020 10:11

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

Ответить
@veriparkgmail6820
@veriparkgmail6820 - 04.11.2020 10:52

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 :)

Ответить
@user-hf3xt5sq9t
@user-hf3xt5sq9t - 31.03.2020 13:40

But have error : Type 'DevExpress.Web.ASPxGridView.ASPxGridView' does not have a public property named 'RequiredFieldValidator'.


Help me pls

Ответить
@RakibulHasanMozumder
@RakibulHasanMozumder - 31.03.2020 04:59

your teaching skill awesome bro.

Ответить
@rijipgeorge2703
@rijipgeorge2703 - 05.08.2019 16:30

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 .

Ответить
@deftone10
@deftone10 - 06.06.2018 02:29

Have you authored any book? You make this material very clear. Thank you!

Ответить
@santhathi3949
@santhathi3949 - 27.02.2018 10:11

Thank you sir !

Ответить
@nazishayaz1312
@nazishayaz1312 - 02.10.2017 17:01

Good explainer .Thank you so much....its very useful.

Ответить
@irshad1889
@irshad1889 - 05.09.2017 19:43

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...

Ответить
@priyanka3975
@priyanka3975 - 05.09.2017 09:16

Not show properly text

Ответить
@chandankumar-vk5dj
@chandankumar-vk5dj - 28.08.2017 16:49

If you're having issue in VS 2015 or 17 just put this code onto web.config
<configuration>
<appSettings>
<add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
</appSettings>
</configuration>

Ответить
@edmundogriffin3448
@edmundogriffin3448 - 17.03.2017 20:22

just applauses, thanks for shareing all this knowledge!!!

Ответить
@RahulPawar-md7gv
@RahulPawar-md7gv - 13.03.2017 18:27

Very Nice Tutorial...Tahnks

Ответить
@swapnilsonsurkar2136
@swapnilsonsurkar2136 - 22.09.2016 20:43

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

Ответить
@ravindramestry2975
@ravindramestry2975 - 18.09.2016 08:13

wow great explanation.

Ответить
@sumanshrestha8229
@sumanshrestha8229 - 06.08.2016 10:16

better videos

Ответить
@anannyasaxena7896
@anannyasaxena7896 - 06.04.2016 08:16

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.

Ответить
@89Ssik
@89Ssik - 14.02.2016 20:04

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;
}

Ответить
@deepakpandey1947
@deepakpandey1947 - 15.12.2015 12:22

Hey, Kudvenkat very nice tutorial, could you make a tutorial on client side validation using jquery and server side validation in one form please..

Ответить
@argelpamintuango1956
@argelpamintuango1956 - 08.10.2015 11:55

thanks

Ответить
@kathirvelkaliyanppan1141
@kathirvelkaliyanppan1141 - 25.08.2015 16:56

Good, thanks

Ответить
@JaniceXL
@JaniceXL - 17.02.2015 03:38

Thanks for taking the time to make this! Much appreciated!! =)

Ответить
@selwyndej3053
@selwyndej3053 - 27.11.2014 13:20

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?? 

Ответить
@JS-kp7yh
@JS-kp7yh - 28.05.2014 11:39

Hi, I am little confused - why does the validation run at client side when the validator control has ' run at = "server" ' property? 

Ответить
@christofferandersson3137
@christofferandersson3137 - 19.03.2014 20:45

Thank you verry much!!

Ответить
@milanlight
@milanlight - 23.02.2014 23:50

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

Ответить
@developernader
@developernader - 07.11.2013 13:58

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.

Ответить
@harikaaakutota7776
@harikaaakutota7776 - 10.10.2013 11:13

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......

Ответить
@Csharp-video-tutorialsBlogspot
@Csharp-video-tutorialsBlogspot - 03.08.2013 01:05

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.

Ответить
@dsfdotnet
@dsfdotnet - 02.08.2013 23:51

excellent explanation

Ответить
@kirannadukula5247
@kirannadukula5247 - 09.03.2013 08:33

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...................

Ответить
@sameerthakare5376
@sameerthakare5376 - 28.01.2013 16:25

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?

Ответить
@ferrarikarthik1
@ferrarikarthik1 - 20.01.2013 23:36

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!

Ответить
@maransanthalingam9656
@maransanthalingam9656 - 12.12.2012 17:59

you can add below in the button click event lblMessage.Text = " Name :"+txtName.Text+ " and Gender : "+ddlGender.SelectedItem.Text + " added successfully";

Ответить
@sandeepany8657
@sandeepany8657 - 04.12.2012 11:15

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..

Ответить