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

radribbonview it not displaying in browser

1 Answer 112 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
Syed Asif
Top achievements
Rank 1
Syed Asif asked on 14 May 2013, 06:56 AM

We are already using TelerikSL4 licence version ,so we are moving TelerikSL5,when we  updated the code sl4 to sl5 but RadRibbonView not working,

We are using this version RadControls for Silverlight Q1 2013, when we work ribbonview of this verion we are unable to see the control in browser,

We tried both the ways xmal and codebehind, but it not displaying in browser

CodeBehind

            RadRibbonTab r1 = new RadRibbonTab();

            r1.Header = "Home";

            RadRibbonGroup rg = new RadRibbonGroup();

            rg.Header = "RibbonGroup";

            RadRibbonButton rbbtn = new RadRibbonButton();

            rbbtn.Content = "Save";

            rg.Items.Add(rbbtn);

            r1.Items.Add(rg);

            PhoenixRibbonBar.Items.Add(r1);

Designmode

<telerik:RadRibbonView ApplicationButtonImageSource="AppIcon.png" Title="Microsoft Word">

    <telerik:RadRibbonTab Header="Home">

        <telerik:RadRibbonGroup Header="Clipboard">

            <telerik:RadRibbonSplitButton Text="Paste" LargeImage="paste.png" Size="Large"

                    telerik:ScreenTip.Title="Paste(Ctrl+V)"

                    telerik:ScreenTip.Description="Paste the contents the Clipboard.">

                <telerik:RadRibbonSplitButton.DropDownContent>

                    <telerik:RadContextMenu BorderThickness="0">

                        <telerik:RadMenuItem Header="Paste" />

                        <telerik:RadMenuItem Header="Paste Form" />

                    </telerik:RadContextMenu>

                </telerik:RadRibbonSplitButton.DropDownContent>

            </telerik:RadRibbonSplitButton>

        </telerik:RadRibbonGroup>

    </telerik:RadRibbonTab>

    <telerik:RadRibbonTab Header="View" />

</telerik:RadRibbonView>

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 16 May 2013, 12:43 PM
Hi Syed,

The RadRibbonView control has a feature that collapses it altogether if the size of its container is under the default threshold of 300x250px. This is a built-in feature of the control that is controlled through the CollapseThresholdSize property - you can use it to change the threshold size to a smaller number. The feature is described in more details in our online documentation.

However, if your issue isn't related to the CollapseThresholdSize property, you can check the referenced Telerik assemblies in your solution. Now we provide two types of assemblies - the normal assemblies and NoXaml assemblies. The NoXaml assemblies don't contain any xaml and therefore they don't provide any visual information about the controls. And if you've referenced these assemblies in your solution, you won't have any visual structure and the controls won't be displayed. And if you'd rather use the NoXaml assemblies, you can apply implicit styles for the Telerik controls defined in your application following the steps described in this article.

I also attached a sample solution where I referenced the latest official version of our normal assemblies and the control is properly displayed.

Kind regards,
Tina Stancheva
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
RibbonView and RibbonWindow
Asked by
Syed Asif
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or