pane width problem in mozilla

3 posts, 0 answers
  1. altaf
    altaf avatar
    50 posts
    Member since:
    Jun 2008

    Posted 20 Jun 2008 Link to this post

    hi,

    i have a vertical splitter and there are two panes in it.
    i have applied javascript to expand and collapsed when user check the checkBox.

    var chk=document.getElementById("<%=myCheckBox.ClientID%>");

    var productsp = $find("<%=newSplitter.ClientID%>");

    var productpane = productsp.getPaneById('<%=FirstPane.ClientID%>');

    var packagepane = productsp.getPaneById('<%=SearchResultPackage.ClientID%>');

    if(chk.checked)

    {

    if(packagepane.get_collapsed())

    {

    packagepane.expand();

    }

    if(!productpane.get_collapsed())

    {

    productpane.collapse();

    }
    }

    else

    {

    if(productpane.get_collapsed())

    {  productpane.expand();  }

    if(!packagepane.get_collapsed())

    {   packagepane.collapse();    }

    }


    this is working fine in IE6 but in Firefox packagepane did not expand and i have checked its whidth it becomes zero.
    i have fixed its width then also it is creating problem.

    please tell me how can i fix it....

  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 23 Jun 2008 Link to this post

    Hi altaf,

    I prepared a sample test project based on the provided information and code but it behaves as expected both under FF and IE.

    Would you please examine the attached project and modify it in order to reproduce the problem?

    In case you succeed, open a new support ticket and send me the reproduction project. Once I receive it, I will do my best to help.

    Greetings,
    Svetlina
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. altaf
    altaf avatar
    50 posts
    Member since:
    Jun 2008

    Posted 26 Jun 2008 Link to this post

    thanks for help.

    that was version problem in mozilla version 1.0.
    but that code is working fine on firefox 2.0 and 3.0.

    thanks.
Back to Top