Unable to validate Textboxes loaded in client template in button click

4 posts, 0 answers
  1. Mohammed
    Mohammed avatar
    19 posts
    Member since:
    May 2020

    Posted 23 May Link to this post

    Hi ,

     

    I have a save button outside the grid i want to validate the Grid columns when button click , i have textbox , dropdown and auto autocompete textboxes columns,It should be like this link below,i am using kendo grid and required message should be like kendo popup for each field.Quick help asap appreciated!!!!

     

    https://www.aspsnippets.com/Articles/Validate-TextBox-inside-GridView-using-jQuery-on-Button-Click-in-ASPNet.aspx

  2. Nikolay
    Admin
    Nikolay  avatar
    139 posts

    Posted 27 May Link to this post

    Hello Mohammed,

    Before I proceed to the inquiry can you please confirm the product you are using. Is it Kendo UI Grid for ASP.NET MVC or Telerik UI Grid for ASP.NET AJAX?

    In case it is the first one the desired validation can be achieved by programmatically calling the validate method of the Grid row validator:

    Regards,
    Nikolay
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
  3. Mohammed
    Mohammed avatar
    19 posts
    Member since:
    May 2020

    Posted 27 May in reply to Nikolay Link to this post

    Thank you i got it by required attribute...
  4. Nikolay
    Admin
    Nikolay  avatar
    139 posts

    Posted 01 Jun Link to this post

    Hi Mohammed,

    I am glad to hear this has been resolved and thank you for sharing how you handled it with the community.

    This thread will be closed now. For new inquiries, please submit a new one.

    Regards,
    Nikolay
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
Back to Top