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

weird problem with ComboBox

1 Answer 56 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Yoni
Top achievements
Rank 1
Yoni asked on 10 Jan 2011, 09:35 AM
Hi

I have a ComboBox with items. when I select a specific item, I want some controls to become disable, and when I select other items I want those controls to become enable.

what I did is this :

<

 

telerik:RadComboBox ID="cmbFormStatus" CssClass="RadComboBox_rtl" Skin="Office2007"

 

 

DropDownCssClass="RadComboBox_rtl" runat="server"

 

 

onselectedindexchanged="cmbFormStatus_SelectedIndexChanged" AutoPostBack ="true" />

 


and in the code behind, i wrote :

...
 i_Enabled = true/false

 

this.cmbDecisionType.Enabled = i_Enabled;

 

 

this.rdpDecisionStart.Enabled = i_Enabled;

 

 

this.rdpDecisionEnd.Enabled = i_Enabled;

....
it works. but, it looks weird.(attached file).



i checked, and found that what does it is the 'AutoPostBack'.
so, i tried doing it at the Client Side, with JavaSript, with no success.

what do you suggest me to do?

(Somebody told me something about Attribute in PageLoat, but I'm not familiar with it...)

p.s.
it happens only in Explorer 8

Thanks in advance
yoni 

 

1 Answer, 1 is accepted

Sort by
0
Yoni
Top achievements
Rank 1
answered on 18 Jan 2011, 10:01 AM
ok, so i checked it and i saw that the problem is the AJAX.
when i delete the AJAX, it looks fine, but i need the AJAX.
can anyone please help me??
Tags
ComboBox
Asked by
Yoni
Top achievements
Rank 1
Answers by
Yoni
Top achievements
Rank 1
Share this question
or