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

RadTextBox enabling on postback

1 Answer 63 Views
Input
This is a migrated thread and some comments may be shown as answers.
Josh Lowry
Top achievements
Rank 1
Josh Lowry asked on 17 Jan 2010, 07:33 PM
Hi there,

I have an application consisting of an update panel containing a placeholder which contains dynamically created user controls. These user controls consist of several RadComboBoxes, a RadDatePicker and a RadTextBox. I have a method that changes the display mode of each user control depending on the state that it is in (editing, display etc). When these user controls are first created on page load, they are set to display mode and the Rad controls on them are disabled (Enabled = False). This works fine when the page is first loaded, but as soon as the page posts back, the RadTextBox's are enabled (while the other Rad controls remain disabled). I have put a watch on one of the user controls and traced it through the postback, it runs as it should, but the RadTextBoxes are re-enabled between method calls in the postback so I suspect it may be a problem with the viewstate.

Any suggestions?

Cheers
Josh

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 21 Jan 2010, 08:39 AM
Hello Josh,

Based on the supplied information, it is hard to pinpoint the cause of the problem.
To further track the issue, it will be best if you open a formal support ticket, and send us a small working project, demonstrating your setup, and showing the unwanted behavior. We will debug it locally, and get back to you with more information on the matter.

Regards,
Yavor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Input
Asked by
Josh Lowry
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or