Telerik Forums
UI for WPF Forum
1 answer
109 views
Is there a way to hide the navigation control that automatically displays?
GPJ
Top achievements
Rank 1
 answered on 27 Apr 2009
4 answers
174 views
We have a WPF project which uses several telerik grids.  We bind to the grids by using setting the DataContext property in the Window_Loaded, and the ItemsSource on each grid to "{Binding}".  Using the Q308 release, the grids worked in Blend and Visual Studio (though had a whole host of other issues which I won't get into).  Now that Q109 is out, I have upgrade all of our references to the new DLLs, but not changed any code.  The project will build just fine, and the application will work (other than an issue that I will submit in another post).

However, with the new DLLS, the Visual Studio designer will crash as soon as I open the XAML (with no error), and Expression Blend refuses to open the XAML - it displays a NullReferenceException, which appears to being thrown in the Telerik.Windows.Controls.GridView.GridViewITemsControl.DisconnectFromDataEventsFunction().  I would paste the entire contents of the exception, but the developers of Blend apparently saw fit to not include the ability to copy the text of errors that occur in the application.

Any ideas, or do you need more information?
Nate
Top achievements
Rank 1
 answered on 27 Apr 2009
1 answer
155 views
Hello,
I have a collection of a class implementing ICustomTypeDescriptor bound to WPF GridView. Basic functionalities such as viewing, sorting, grouping and filtering works fine. But when I try to add an AggregateFunction to the groups  I receive a null reference exception. As far as I can see, the Properties collection of the RecordManager for the grid does not contain the property descriptions from the ICustomTypeDescriptor, Is there a solution or workaround for this situation?

Additionally, I would expect TypeDescriptionProvider attribute on a class would perform similar as implementing ICustomTypeDescriptor interface for the class. The Microsfot ListView control, for example, can handle this situation.

Thanks,

Mehmet Ali
Rossen Hristov
Telerik team
 answered on 27 Apr 2009
1 answer
97 views
Hi,
just loaded up the eval WPF Controls. I browsed through the demos and the only problem I found was with database access configuration (but I'm not too worried about that). What I did notice was the demo itself!  On my install the documentation reports as being corrupt (after install, uninstall and install) so I'm unable to look in there, but do you publish details of the application itself? Particularly the Navigation panel on the left :-) The source seems to be only partly supplied with the remainder being in Telerik.Windows.Quickstart.dll.
How is the Navigation panel put together? How does it slide the demo's in and out?

thanks
mark

Kaloyan
Telerik team
 answered on 27 Apr 2009
2 answers
251 views
Can you guys give me an example of selecting a row in the grid using databinding?

My DataContext will have a custom object with two values:

  • Object ItemsSource
  • Int SelectedRow

I want to use updates to the DataContexts to auto update the grid, ItemsSource="{Binding Path=ItemsSource}" works for the data, but i cannot figure out the selected row.

Dmitry
Top achievements
Rank 1
 answered on 24 Apr 2009
2 answers
143 views
I have a scenario where my first grid row value will always be an Enum, example values: Good, Bad, Warning.

As the rows are being created i need to switch from this enum to an Ellipse shape with a filled color of Green, Red, or Yellow depending on the enum. I tried to add code into the RowLoaded event and it works fine to detect the value, but when i set back to the Content property im getting an error.

Is there any good examples of this that i can use?
Dmitry
Top achievements
Rank 1
 answered on 24 Apr 2009
2 answers
864 views
OK. 

I'm using a gridView with cell/row editing enabled to keep a bound business object updated when elements in the grid are changed.  That part is working great.  I'm also using validation on the grid contents.  I allow the user to update the grid however they so chose, then click a 'save' button, at which point that changes are comitted to our db. 

The issue is that the validation only fires for a cell when you click another cell/row in the grid, hit tab, or hit enter.  So, if the user inputs invalid data, does not perform any of the actions listed in the last sentence, then clicks my save button, data is allowed to be stored improperly since the CellEditEnded event does not fire, which is what causes validation to be initiated, when they hit my button.  SO, I'm looking for a way to either manually fire that event, OR another way to accomplish my goal of validating the data on button click.

I hope that makes sense.  Any input would be appreciated. 

Thanks,
Marty
Marty
Top achievements
Rank 1
 answered on 24 Apr 2009
1 answer
94 views
Hi all,

Is it possible to set a separate colour for a bar in a barchart, instead of the same colour for all bars?

Thx!

Maarten Cardinaels
TinkerTouch.com
Ves
Telerik team
 answered on 24 Apr 2009
5 answers
117 views

I am trying out the WPF RadGridView now. When the “You are running trial version...” msgbox pops up, I click ‘Cancel’ and the RadGridView is showing fine, Then a link button is clicked to view record detail; when the detail view is closed, the window with RadGridView should show up, but I got error “There is no source code available for the current location.”, I think it is because it was trying to bind the grid before the “You are running trial version...” msgbox popped up.  Is any temp I can us to avoid the annoying popup?

Thanks!

Amy

Vlad
Telerik team
 answered on 24 Apr 2009
1 answer
114 views
Hello, I have a feature request for the RadNumericUpDown control:

Would it be possible to have the control increment or decrement whenever the user presses the Up and Down arrow keys? Thanks.

Martin
Boyan
Telerik team
 answered on 23 Apr 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?