RadMaskedTextBox: Prevent AutoPostback

4 posts, 0 answers
  1. Daniele Bruno
    Daniele Bruno avatar
    22 posts
    Member since:
    Apr 2009

    Posted 07 Aug 2014 Link to this post

    Is there a workaround to block AutoPostback on RadMaskedTextBox on client-side?

    Thanks.
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 07 Aug 2014 in reply to Daniele Bruno Link to this post

    Hi Daniele Bruno,

    Please take a look into this help documentation to achieve your scenario.

    Thanks,
    Shinu.
  3. Daniele Bruno
    Daniele Bruno avatar
    22 posts
    Member since:
    Apr 2009

    Posted 08 Aug 2014 in reply to Shinu Link to this post

    Hi,
    thanks for your reply.

    I've already read documentation on "OnValueChanged" client event, but there is a note:

    ​"On RadMaskedTextBox, the set_cancel() method has no effect"

    I have a RadMaskedText with server TextChanged event attached and AutoPostBack property is True. How can I block postback by client side?

    Thanks.
  4. Vasil
    Admin
    Vasil avatar
    1593 posts

    Posted 08 Aug 2014 Link to this post

    Hello Daniele,

    You can use the set_autoPostBack(false) client side method of the RadMaskedTextBox to turn off the auto post back functionality.

    Regards,
    Vasil
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top