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

Browser Crashs if Height / With or Scrolling are declared in Nested RadPanes

3 Answers 93 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Bodo Naumann
Top achievements
Rank 1
Bodo Naumann asked on 15 Jul 2007, 02:59 PM
Hello,

I reproduced the r.a.d. splitter example on page 360 from the step by step learning guide with Prometheus Controls and I think I’ve discovered a problem.

I wrote the example completely by using code behind.

If I add the Control “paneTop” or “paneBottom” to “splitterTopBottom”

'###############-Content Zone-############################
        splitterTopBottom.Items.Add(paneTop)
        splitterTopBottom.Items.Add(splitBarH)
        splitterTopBottom.Items.Add(paneBottom)

Firefox crashes.

I can solve the problem if I don’t declare all propertys declared in the example.

  Dim paneTop As New RadPane
        paneTop.ID = "paneTop"
        'paneTop.Height = Unit.Percentage(50)
        'paneTop.Width = Unit.Percentage(100)
        'paneTop.Scrolling = SplitterPaneScrolling.None

If I declare Height / Width or Scrolling the browser crashes.

-> If I user unit.pixel it works...

With kind regards,
Bodo Naumann

3 Answers, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 19 Jul 2007, 10:43 AM
Hello Bodo,
I was able to reproduce the problem you describe and forwarded it to our developers.

For the time being, I can offer you not to set the Width/Height of the nested RadSplitter objects (as they by Default take the Width/Height of their parent pane) and not to use the  VisibleDuringInit property of the RadSplitter.

Additionally, you need not set both Width/Height properties of the RadPane objects. If, for example, you have a RadSplitter with Vertical orientation, you need not set the Height of the RadPanes as they will automatically get the Height of their splitter parent. In the other case, when you have a splitter with Horizontal orientation, you need not set the Width of its panes.

In case the problem continues, please open a new support ticket and send us a simple running project that demonstrates the problem.

Kind regards,
Tsvetie
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Bodo Naumann
Top achievements
Rank 1
answered on 19 Jul 2007, 11:39 AM
Hello Tsvetie,

Tank you for your response.

If I add the splitter during init, I have to use the VisibleDuringInit property; else the control won’t get displayed.

As you remarked, with some fine tuning I don’t need to specify the values inside the RadPanes.

But I had another problem if I use the Full screen mode, IE 7.0 shows me scrollbars, only if I specify the width and height manually I can avoid them.

With kind regards,
Bodo Naumann
0
Tsvetie
Telerik team
answered on 20 Jul 2007, 04:00 PM
Hi Bodo,
You can remove the scrollbars of the browser by applying the following style:
body, form, html  
{  
   height: 100%;  
   overflow: hidden;  
   margin: 0px;  
   padding: 0px;  

In case you have problems with the scrollbars of the RadPane objects - you can use their Scrolling property.

I am not sure why exactly you need the VisibleDuringInit property - could you please prepare and send us in a new support ticket a simple running project, that demonstrates the issue you have faced? We will have a look at it right away and get back to you as soon as possible.

Best wishes,
Tsvetie
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Splitter
Asked by
Bodo Naumann
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Bodo Naumann
Top achievements
Rank 1
Share this question
or