This is a migrated thread and some comments may be shown as answers.

Unable to validate Textboxes loaded in client template in button click

3 Answers 92 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mohammed
Top achievements
Rank 1
Veteran
Mohammed asked on 23 May 2020, 10:57 AM

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

3 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 27 May 2020, 03:06 PM

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.
0
Mohammed
Top achievements
Rank 1
Veteran
answered on 27 May 2020, 05:18 PM
Thank you i got it by required attribute...
0
Nikolay
Telerik team
answered on 01 Jun 2020, 11:49 AM

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.
Tags
Grid
Asked by
Mohammed
Top achievements
Rank 1
Veteran
Answers by
Nikolay
Telerik team
Mohammed
Top achievements
Rank 1
Veteran
Share this question
or