.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

WPF Ribbon Control - Freezing

Posted By:      Posted Date: September 24, 2010    Points: 0   Category :WPF

Downloaded the latest Ribbon Control Library from microsoft.


Created a new WPF Ribbon Application, and create a few simple buttons and tabs.


Problem:  When I navigate away from my Ribbon Window to another app (ie browser), when I come back the the Ribbon Application the Ribbon will sometimes be frozen.  I cannot click any buttons or switch tabs, only the application menu is still active.  I can fix it my maximizing the window oddly.  Is this a know problem?  How do I fix it?  I can provide a small sample app if needed. 

Please check into this Microsoft :).




<ribbon:RibbonWindow x:Class="Main"
    Width="1100" Height="900" Background="{DynamicResource WindowBackground}">

  <Grid x:Name="LayoutRoot">
      <RowDefinition Height="Auto"/>
      <RowDefinition Height="*"/>

View Complete Post

More Related Resource Links

Using MVVM with new Ribbon Control Library

Hi, As new ribbon for wpf http://www.microsoft.com/downloads/details.aspx?FamilyID=2BFC3187-74AA-4154-A670-76EF8BC2A0B4&displaylang=en is officially released, I am looking for a way to use new ribbon control library in my application respecting the MVVM pattern, I used ribbon 2007 repecting MVVM by extending the RibbonCommand with CanExecute and Exceute properties, but Microsoft has dumped RibbonCommand in new release. Any help on new Ribbon with MVVM is appreciated.

Catch Save Ribbon Event from code-behind for webpart control

Hi there, How can a custom web part catch the Save Ribbon event from code-behind? Thank you, —JoeJoe

Catch Save Ribbon Event from code-behind for webpart control

Hi there, How can a custom web part catch the Save Ribbon event from code-behind? Thank you, —JoeJoe

WPF Ribbon Control binding to a VM Ribbon reference

Hi, I have a scenario where I will initialize the Ribbon in XAML but its relatd Tab, group, buttons etc., needs to be coming from VM file , meaning there will be a public property of Ribbon which needs to be set back to the Ribbon that was initialized in XAML like ( I am using WPF provided Ribbon control only)  <r:Ribbon Height="135" VerticalAlignment="Top" Name="mainRibbon" ... > // Above XAML I need to set the RibbonControl which is a public property (having the tabs, gropping, buttons etc., // Since WPF ribbion doesn't have ItemsSource I am struggling to set this ... In the VM file private Ribbon _RibbonControl; public Ribbon RibbonControl { get {      CreateRibbon() //This functon will creates tabs, groups, buttons etc., & adds to _RibbonControl      return _RibbonControl; } } Any help here is greatly appreciated. Prakash.G

Ribbon Control + Drag/Drop


I've done a fair amount of looking, but I have not found what I am looking for.

I would like a ribbon control that I drag from the ribbon to a canvas below. In addition, I would like a combobox resting just below the control that allows me to change the content available for drag.

Is there a control out there that does this or should I build my own? If I build my own, how should i go about doing this?


"This control is currently disabled..." Most Library-->Documents ribbon actions are greyed


This started when I just needed to delete a document, I noticed most of the actions on the ribbon for Library-->Documents were greyed out.  The only thing that is not greyed is Upload document.  I have tried with multiple administrator accounts, installed office client on the server, I have tried from multiple clients and get the same thing.  Windows 7 and Office 2010 are on the clients I have tried.

Is it possible I may have missed an explicit permission that even an administrator account (domain admin + SP site collaction/farm admin) does not have?

SPCalendarView Navigation shows in Control Instead of Ribbon


When I use the SPCalendarView control in a custom visual webpart, the navigation for expand all, collapse all, Day, Week, and Month, all show up in the calendar control itself, like SP2007 without the ribbon.  Is there a way to change this behavior to make it assume these will be in the ribbon and not show up in the control.

Right now I am just hiding them via css.

When you look at the OOTB calendar view used in a library, it puts this stuff in the ribbon in SP2010.

create custom application page with a ribbon and user control webpart


i am in stress how to start this what should be the first step

i want to create custom application page with a ribbon and some user
control web part to show document item properties.

Please help me regarding this


thanks in advance 



wasikhan junior software ENG

Adding Dynamic Rows in ASP.NET GridView Control with TextBoxes and with Delete functionality

In my previous examples, I have demonstrated on how to add dynamic rows in GridView control with TextBoxes and how to save the values into the database. Now, seems that most of the developers are asking if how to add a delete functionality with it. So in this example, I'm going to show on how to delete a certain row in the dynamic GridView with TextBoxes.

Accessing the different controls inside a GridView control

how we can access a particular control which resides inside a GridView control. In this article I will show you how you can access different controls inside a GridView control. We will see how we can access a TextBox control, a DropDownList control and a ListBox control. If you are working with ASP.NET 1.X then you might want to check out my article Accessing Different Controls Inside a DataGrid.

In-Depth look at the GridView Control

In the last article we looked at few of the new controls available in Asp.net 2.0. We also talked about Grid View Control which has replaced the Asp.net 1.1 DataGrid control for good. In this article we will examine more features of the Grid View control. In this article we will see some of the common operations that can be performed using the GridView control. Apart from these operations there are many more functions that can be performed on the control and which we will see in the later articles

ASP.NET repeater control - databind with style

even used the inline editing features, which I at the time thought was the coolest way possible to write ASP.NET code ( I managed to write code to hide all other rows and only show the current one - the row being edited). With a nice looking EditTemplate it looked indeed very slick but it really turned into giant and hard to manage code behind files.

Creating Paging for a Repeater Control

A common question is "How do I implement paging within a Repeater?" Although the beauty of the Repeater control is its flexibility, you're on your own for building most functions. ASP.NET 2.0 has included some new controls that provide paging, as does the DataGrid in ASP.NET 1.1. However, this tip shows you how to roll your own paging for a simple data viewer.

Using TemplateFields in the GridView Control

The GridView is composed of a set of fields that indicate what properties from the DataSource are to be included in the rendered output along with how the data will be displayed. The simplest field type is the BoundField, which displays a data value as text. Other field types display the data using alternate HTML elements. The CheckBoxField, for example, renders as a checkbox whose checked state depends on the value of a specified data field; the ImageField renders an image whose image source is based upon a specified data field. Hyperlinks and buttons whose state depends on an underlying data field value can be rendered using the HyperLinkField and ButtonField field types.

How To Add calendar control inside a GridView

This article show hot to add calendar control inside a GridView with code in c#

Using ATLAS PopUp Control with Calendar inside the GridView Control

In this video tutorial Mohammad demonstrates how you can access the Calendar control which is displayed using the ATLAS PopUp control inside the GridView control.

GridView control to show master-child or master-slave data, written in c#, asp.net

I previously made a master slave datagrid using Visual Studio 2003 .Net (original article) that would allow users to show data to clients using collapse and expand features. These features however did not carry over to gridview for many users. This tutorial will explaing how to create a collapsable/expandable gridview in frameworks 2.0 and higher
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend