Call Jquery validate before do postback RadAjaxManagerProxy

2 posts, 0 answers
  1. David
    David avatar
    8 posts
    Member since:
    Aug 2014

    Posted 28 Aug 2014 Link to this post

    Hi Admin!
    I have a textbox and a button to send value of textbox. I want validate value of textbox before do postback( Ajaxmanager) if textbox is empty, dopostback stop. But validate textbox empty, do postback alway continue .
    Can you show me a method to stop dopostback telerik(RadAjaxManagerProxy)!
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 28 Aug 2014 in reply to David Link to this post

    Hi David,

    In order to achieve your scenario try to use the asp RequiredFieldValidator control.

    <telerik:RadTextBox ID="rtxtValue" runat="server">
    <asp:RequiredFieldValidator ID="valtxtValue" ControlToValidate="rtxtValue" runat="server"
    <telerik:RadButton ID="rbtnsave" runat="server" Text="submit" AutoPostBack="false">

Back to Top