This is a migrated thread and some comments may be shown as answers.
Disable DropDownList in PartailView loaded with Ajax
2 Answers 31 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dominic
Top achievements
Rank 1
Dominic asked on 06 Mar 2012, 12:47 PM
Hello,

i have a PartialView which returns the View if there any Errors in the ModelState. I must disable a ComboBox and TextBox. After the first load everything works fine, but if the view is loaded via Ajax nothing is happens.
How can i disable the controls? 

Please look at the attached project. Start it und click Save, without any modifications.

Regards

2 Answers, 1 is accepted

Sort by
0
Dominic
Top achievements
Rank 1
answered on 09 Mar 2012, 11:16 AM
Hello,

is there any help for this problem?

Regards
0
Dominic
Top achievements
Rank 1
answered on 12 Mar 2012, 12:59 PM
A way is to use the onLoad ClientEvent rather than jQuery onLoad and UIHint Attribute. Is this the only way or is there any other way?
Tags
ComboBox
Asked by
Dominic
Top achievements
Rank 1
Answers by
Dominic
Top achievements
Rank 1
Share this question
or