Telerik Forums
UI for WPF Forum
1 answer
108 views
Hi,

When I'm developing a WPF applications, I can succesfully protect Telerik RadControls assemblies so that end user cannot use them for own purposes.

But now I have issue when I'm creating and build a WPF usercontrol (which uses Telerik RadControls components) and distribute it to the end user. In this case, end user should have possibilities to use my usercontrol (assembly) in he's own project but not Telerik assemblies directly.

In WPF applications I can use App.xaml to define Controls key resource:
<system:String x:Key="Telerik.Windows.Controls.Key">Sample Application Name v2.0 (tm)</system:String>


But how can I do that in usercontrol level?

Regards,
Auvo
Vlad
Telerik team
 answered on 27 Apr 2012
3 answers
96 views
Hi,

Is there a built-in feature to toggle the complete ribbonbar / view with a "expander triangle icon"
such as in word, excel 2010.
See the attached *.png file for detail.

Thx,
Chris
Christoph
Top achievements
Rank 1
 answered on 26 Apr 2012
9 answers
224 views
Hi,

With the old gauge (beta), I create some gauge controls and directly (without display) save the result in an Image file.
With the new gauge, I have some probleme with the ticks and label display (as you can see in the attached file).

The code I use is :
UC = new CircularGauge(); // Usercontrol WPF
UC.Width = 200; UC.Height = 200;
 
UC.Measure(new System.Windows.Size(UC.Width, UC.Height));
UC.Arrange(new Rect(0.0, 0.0, UC.Width, UC.Height));
UC.UpdateLayout();
 
RenderTargetBitmap oTargetBitmap = new RenderTargetBitmap((int)UC.Width, (int)UC.Height, 96.0, 96.0, System.Windows.Media.PixelFormats.Default);
oTargetBitmap.Render(UC);
         
PngBitmapEncoder oPngBitmapEncoder = new PngBitmapEncoder();
oPngBitmapEncoder.Frames.Add(BitmapFrame.Create(oTargetBitmap));
oPngBitmapEncoder.Save(msGaugeImage);

What is wrong in my approch ?
Is there a other way to do this ?

Thanks,

Yves
Anton de Klerk
Top achievements
Rank 1
 answered on 26 Apr 2012
1 answer
260 views
Hi,

I want to implement on demand paging using scroll on radGridView control for my WPF windows application.
We are having a huge data in SQL server database which is causing performance issues if we display entire data on grid view.
We want to make WCF calls to fetch and display data on screen as we scroll down the grid.
We do not want to go for paging control option for this.

I have gone through one blog by  Vladimir Enchev given below.
http://blogs.telerik.com/vladimirenchev/posts/09-12-21/how_to_custom_scrolling_with_radgridview_for_silverlight_and_wcf_ria_services.aspx 

It explains how to implement this for silver light control. But we want to implement this for our WPF control using WCF service calls using SP to connect to DB.

Please guide us and give demo application in this regard.

Looking forward for an early response.

-------
Warm Regards,
Abhishek Vyas
Grapecity India Pvt. Ltd. 
Vlad
Telerik team
 answered on 26 Apr 2012
10 answers
351 views
Hi,
    I'm currently working on a an application that uses a .NET windows form embedded in a web page in Internet Explorer, and am investigating the trial version of RadControls for WPF Q2 2009 SP1 to see if using these controls will be feasible.

When I try to include a radGridView control in the Windows form, I get the following error on loading it in Explorer:

"System.Windows.Markup.XamlParseException:  Cannot find type 'Telerik.Windows.Controls.RadComboBox'. The assembly used when compiling might be different than that used when loading and the type is missing.  Error at object 'System.Windows.Controls.ControlTemplate' in markup file 'Telerik.Windows.Controls.GridView;component/themes/office/silver/DistinctFilterControl.xaml'. ---> System.ApplicationException: Cannot find type 'Telerik.Windows.Controls.RadComboBox'. The assembly used when compiling might be different than that used when loading and the type is missing."

It looks as if Telerik.Windows.Controls.Input.dll assembly that contains the RadComboBox is not being downloaded even though it's part of the project.

I have a workaround for the issue, but to use the controls in a production environment I need to know:

1) is what I'm attempting to do supported behaviour?
2) if it is supported behaviour, will this issue be fixed?
3) if not, is this likely to be supported in the future?

Regards
Michael Mclean
mina haleem
Top achievements
Rank 1
 answered on 26 Apr 2012
1 answer
59 views
Hello,

The application crashes when I insert a table (through the RadRichtTextBoxRibbonUI) in a RadRichTextBox. This only happens if the LayoutMode is different from Paged.

Does the suite not support tables in non-Paged textboxes? I have not been able to find any information on this in the documentation.

Regards,
James
Vasil
Telerik team
 answered on 26 Apr 2012
1 answer
205 views
I am using the listbox control with a custom datatemplete..  I have noticed that the first time you select an item in the list box the selectionchanged even does not fire.  It will only fire the second time you select an item from the list, unless I want to set the selectedIndex property which I do not want to do.   

So if I dont want to have a pre selected item by default.  How do I determine the first item in the list that's selected.
George
Telerik team
 answered on 26 Apr 2012
2 answers
193 views
Hi,

I have a RadGridView with multiple columns, one column contain a timestamp (date + time) and I would like to know how in the column filter I can filter only on the date part (of course, I need to keep the time part in the column) ?

Thank's
Oliver
Top achievements
Rank 1
 answered on 25 Apr 2012
1 answer
295 views

We have a grid with several properties. Length of each "Display name" is different: there are short names like "Step" and long names like "Upper alignment style". I want the "Display name" column (property name column) to auto-size according to the longest property name in the grid.
Currently I tried two options:
1. specify  LabelColumnWidth to Auto, but this gives row-based auto-sizing, but I want that that all rows have the same width (looks like a single column)
2. not specify anything, the width is set to ~200px that's too long for me

Can you please suggest a proper way to have auto-sized width for the whole column?

Thank you!

 

Maya
Telerik team
 answered on 25 Apr 2012
1 answer
164 views
Hello!
In rare cases dialog window looks like on the  attached screenshots. This problem is observed on Windows XP only in rare cases. Typicaly this problem happens right after application is launched.
What can cause this problem? How it can be fixed?

Georgi
Telerik team
 answered on 25 Apr 2012
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?