weird problem with ComboBox

2 posts, 0 answers
  1. Yoni
    Yoni avatar
    32 posts
    Member since:
    Nov 2010

    Posted 10 Jan 2011 Link to this post

    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 

     

  2. Yoni
    Yoni avatar
    32 posts
    Member since:
    Nov 2010

    Posted 18 Jan 2011 Link to this post

    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??
Back to Top