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

pane width problem in mozilla

2 Answers 71 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
altaf
Top achievements
Rank 1
altaf asked on 20 Jun 2008, 06:38 AM
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 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 23 Jun 2008, 02:08 PM
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
0
altaf
Top achievements
Rank 1
answered on 26 Jun 2008, 11:24 AM
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.
Tags
Splitter
Asked by
altaf
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
altaf
Top achievements
Rank 1
Share this question
or