RequiredField validator control in asp.net Part 44

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ม.ค. 2025

ความคิดเห็น • 55

  • @Geek-jx3gw
    @Geek-jx3gw 5 ปีที่แล้ว

    You're amazing, you explain asp.net/c# better than anyone in TH-cam! thank you super programmer!!!!!!!!!!!

  • @Csharp-video-tutorialsBlogspot
    @Csharp-video-tutorialsBlogspot  11 ปีที่แล้ว +1

    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.

    • @surpreet7006
      @surpreet7006 5 ปีที่แล้ว

      Thank you for sharing your knowledge and also making it so easy to understand 😊
      Keep up the good work!

  • @JaniceXL
    @JaniceXL 10 ปีที่แล้ว +10

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

  • @netcore81
    @netcore81 3 ปีที่แล้ว

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

  • @PrasannaKumarDas86
    @PrasannaKumarDas86 3 ปีที่แล้ว

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

  • @RakibulHasanMozumder
    @RakibulHasanMozumder 4 ปีที่แล้ว +1

    your teaching skill awesome bro.

  • @jenishajenika5975
    @jenishajenika5975 3 ปีที่แล้ว

    Thank You My Guide, clear way of understanding.

  • @tharindumadushan779
    @tharindumadushan779 8 หลายเดือนก่อน

    thanks, it helped me a lot

  • @chandankumar-vk5dj
    @chandankumar-vk5dj 7 ปีที่แล้ว +4

    If you're having issue in VS 2015 or 17 just put this code onto web.config

  • @nazishayaz1312
    @nazishayaz1312 7 ปีที่แล้ว

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

  • @ferrarikarthik1
    @ferrarikarthik1 12 ปีที่แล้ว

    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!

  • @deftone10
    @deftone10 6 ปีที่แล้ว +1

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

  • @sameerthakare5376
    @sameerthakare5376 12 ปีที่แล้ว

    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?

  • @89Ssik
    @89Ssik 9 ปีที่แล้ว +7

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

    • @kemour8
      @kemour8 7 ปีที่แล้ว

      Ooooh thank you sooo much

    • @anjanisuman6428
      @anjanisuman6428 6 ปีที่แล้ว

      yes it's really works

  • @edmundogriffin3448
    @edmundogriffin3448 7 ปีที่แล้ว

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

  • @RahulPawar-md7gv
    @RahulPawar-md7gv 7 ปีที่แล้ว

    Very Nice Tutorial...Tahnks

  • @vijayagandhimathi1049
    @vijayagandhimathi1049 2 ปีที่แล้ว

    Very nice

  • @ravindramestry2975
    @ravindramestry2975 8 ปีที่แล้ว +1

    wow great explanation.

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  8 ปีที่แล้ว +2

      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

  • @veriparkgmail6820
    @veriparkgmail6820 4 ปีที่แล้ว

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

  • @christofferandersson3137
    @christofferandersson3137 11 ปีที่แล้ว

    Thank you verry much!!

  • @dsfdotnet
    @dsfdotnet 11 ปีที่แล้ว

    excellent explanation

  • @harikaaakutota7776
    @harikaaakutota7776 11 ปีที่แล้ว

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

  • @irshad1889
    @irshad1889 7 ปีที่แล้ว

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

  • @theakashjadhavaj
    @theakashjadhavaj 4 ปีที่แล้ว

    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

  • @santhathi3949
    @santhathi3949 7 ปีที่แล้ว

    Thank you sir !

  • @KiranNadukula
    @KiranNadukula 12 ปีที่แล้ว

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

  • @sandeepany8657
    @sandeepany8657 12 ปีที่แล้ว

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

  • @rijipgeorge2703
    @rijipgeorge2703 5 ปีที่แล้ว

    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 .

  • @kathirvelkaliyanppan1141
    @kathirvelkaliyanppan1141 9 ปีที่แล้ว

    Good, thanks

  • @swagataupadhyay2679
    @swagataupadhyay2679 3 ปีที่แล้ว

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

  • @sagaraggarwal5991
    @sagaraggarwal5991 2 ปีที่แล้ว

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

  • @deepakpandey1947
    @deepakpandey1947 9 ปีที่แล้ว

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

    • @johnnydepp1499
      @johnnydepp1499 9 ปีที่แล้ว

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

  • @swapnilsonsurkar2136
    @swapnilsonsurkar2136 8 ปีที่แล้ว

    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

  • @argelpamintuango1956
    @argelpamintuango1956 9 ปีที่แล้ว

    thanks

  • @JS-kp7yh
    @JS-kp7yh 10 ปีที่แล้ว

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

    • @DIWLJAK
      @DIWLJAK 10 ปีที่แล้ว +1

      validation is control of asp.net and you must first call validation then that controll call js code

  • @selwyndej3053
    @selwyndej3053 10 ปีที่แล้ว

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

  • @user-hf3xt5sq9t
    @user-hf3xt5sq9t 4 ปีที่แล้ว

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

  • @anannyasaxena7896
    @anannyasaxena7896 8 ปีที่แล้ว

    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.

    • @sokinooo
      @sokinooo 4 ปีที่แล้ว +1

      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

    • @jankiasati9774
      @jankiasati9774 3 ปีที่แล้ว

      @@sokinooo thanks, I faced a similar problem and your solution worked for me.

  • @priyanka3975
    @priyanka3975 7 ปีที่แล้ว

    Not show properly text

  • @maransanthalingam9656
    @maransanthalingam9656 12 ปีที่แล้ว

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

  • @developernader
    @developernader 11 ปีที่แล้ว

    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.

    • @developernader
      @developernader 9 ปีที่แล้ว

      +Tarun Sharma Thank you Tarun Sharma

    • @saurabhgore266
      @saurabhgore266 6 ปีที่แล้ว

      How to solve this?

    • @mdshahbazanwar
      @mdshahbazanwar 6 ปีที่แล้ว

      paste this into webconfig page

  • @sushantsahay4576
    @sushantsahay4576 4 ปีที่แล้ว

    please add

    to your web.config only then it works

  • @milanlight
    @milanlight 11 ปีที่แล้ว

    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

    • @elikihara8568
      @elikihara8568 10 ปีที่แล้ว +3

      You may need to add this setting to the web.config file
      stackoverflow.com/questions/16660900/webforms-unobtrusivevalidationmode-requires-a-scriptresourcemapping-for-jquery