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

RadMaskedTextBox: Prevent AutoPostback

3 Answers 30 Views
Input
This is a migrated thread and some comments may be shown as answers.
Daniele Bruno
Top achievements
Rank 1
Daniele Bruno asked on 07 Aug 2014, 01:36 PM
Is there a workaround to block AutoPostback on RadMaskedTextBox on client-side?

Thanks.

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 1
answered on 08 Aug 2014, 03:29 AM
Hi Daniele Bruno,

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

Thanks,
Shinu.
0
Daniele Bruno
Top achievements
Rank 1
answered on 08 Aug 2014, 07:40 AM
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.
0
Vasil
Telerik team
answered on 08 Aug 2014, 02:56 PM
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.

 
Tags
Input
Asked by
Daniele Bruno
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
Daniele Bruno
Top achievements
Rank 1
Vasil
Telerik team
Share this question
or