Telerik Forums
UI for WPF Forum
21 answers
255 views
We are using a RadRibbonWindow in an application (running on Win 7). When the application starts, there is a lot of black areas where comtrols (RibbonBar, tabs etc.) normally are placed, and when moving the mouse pointer around in the RadRibbonWindow, the controls are showing and the black fields disappear. This also happens if i by using the mouse drags the window so it's size gets smaller or larger.

The problem started after i upgraded to version 2010.2.812.40 of the radcontrols. Is this a bug, or is there something i have missed?
Tina Stancheva
Telerik team
 answered on 03 Jan 2012
1 answer
108 views
Hello,
I'm using an MVVM pattern in a WPF application with RadDocking ... I've got some RadGridView inside usercontrols and they perform poorly with horizontal and vertical scroll... I've searched this forum and the problem seems to be a missing height/width on the RadGridView... since I've defined in me Shell a 1024*768 width have I for each UserCotrol to specify a default width/height? how can I set it to the parent content?

I've also some master/detail gridview that uses a behavior to fill the child RadGrid...those performs worst... have I to specify an height/width as well?

Thanks

Paolo
Dimitrina
Telerik team
 answered on 03 Jan 2012
0 answers
113 views
I've written a module to export data from a WinForm RadGridView to excel. The module handles grouping as well. 
Now that we have ported over to WPF, that module doesn't work anymore.

Below are the RadGridView Winform objects, properties or methods. What are the equivalents in WPF? GridViewChildRowCollection GridViewRowInfo row.ChildRows row.Group row.HierarchyLevel row.Group.GroupRow.HierarchyLevel DataGroupCollection DataGroup
group.Groups.Count
grid.ColumnCount 
Oliver
Top achievements
Rank 1
 asked on 03 Jan 2012
0 answers
92 views
Hi,

 I have used RadGridViews(Telerik.Windows.Controls.GridView) in WPF that has some column. The header of column is a CheckBox. Some times header CheckBox content binding is works fine, but when i changed to another form and return back to the same form CheckBox content binding doesn't work ie, its not showing the CheckBox contant.

the code is below
   <telerikGrid:RadGridView >
 <telerikGrid:RadGridView.Columns>                                
                            <telerikGrid:GridViewDataColumn  DataMemberBinding="{Binding Name}" >
                                <telerikGrid:GridViewBoundColumnBase.Header  >
                                    <CheckBox IsChecked="False"  Content="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerikGrid:RadGridView}}, Path=DataContext.HeaderName}" />
                                </telerikGrid:GridViewBoundColumnBase.Header>
                            </telerikGrid:GridViewDataColumn>
</telerikGrid:RadGridView >

its shows some time like this

any solution pls send me, very urgent..

Thanks in advance
Govind

Govind
Top achievements
Rank 1
 asked on 03 Jan 2012
2 answers
263 views
Hi,
 
How can I export all the records to excel, when I'm using RadDataPager for paging.

Currentl when I export it export only the records which are currently displayed in grid.

Thanks,
Pankaj
Dimitrina
Telerik team
 answered on 03 Jan 2012
1 answer
223 views
Hello

I found a bug i cannot solve on my own

When you put RadDocking on RadRibbonWindow
Compass gets a strange translation to the right and bottom
same as all his markers

what i want to do is to combine docking with RibbonView on one window

Overview of code:

<telerik:RadRibbonWindow>
<DockPanel>
        <telerik:RadRibbonView DockPanel.Dock="Top" />
        <telerik:RadDocking/>
</DockPanel>
</telerik:RadRibbonWindow>

All works perfect except the problem i described :

Compass, transparent overlays that shows where new panel will be docked and markers are translated to the right and bottom


Tina Stancheva
Telerik team
 answered on 02 Jan 2012
2 answers
169 views
We are missing the "IsDefault" property on the RadRibbonButton. How can we set this kind of button as "default"?
Heiko
Top achievements
Rank 1
Iron
Veteran
 answered on 02 Jan 2012
1 answer
195 views
HI, I have a problem to export my document to PDF file radrichtexbox to the error shown is: "Operation is not valid due to the current state of the object".

This happens sometimes, it seems the problem is in the format that takes the document to put bullets.
My process for creating the PDF document is:

Try
ProviderPdf Dim As New PdfFormatProvider PdfFormatProvider = ()
Using output As Stream = File.Open (AppDomain.CurrentDomain.BaseDirectory & "\ temp \" & Label1.Content &. "Pdf", FileMode.Create)
providerPdf.Export (RadRichTextBox1.Document, output)
End Using
Catch ex As Exception
MsgBox (ex.ToString)
End Try

The stack trace is:
   
in Telerik.Windows.Documents.FormatProviders.Pdf.RadPdf.PdfFontPool.get_Item (Span span) in 54
   
in writer, Paragraph Paragraph, RectangleF rect) in 64
   
in writer, Paragraph paragraph) in 84
   
in sectionBox, PdfContentsWriter writer) in 283
   
in Telerik.Windows.Documents.FormatProviders.Pdf.PdfDocumentExporter.ExportPage (SectionLayoutBox sectionBox, PdfContentsWriter writer) in 343
   
in contentsWriter) in 375
   
in Telerik.Windows.Documents.FormatProviders.Pdf.RadPdf.PdfContents.WriteContents (pdfwrite writer) in 22
   
in Telerik.Windows.Documents.FormatProviders.Pdf.RadPdf.PdfStream.WriteToCore (pdfwrite writer) in 57
   
in Telerik.Windows.Documents.FormatProviders.Pdf.RadPdf.PdfObject.WriteTo (pdfwrite writer) in 42
   
in Telerik.Windows.Documents.FormatProviders.Pdf.RadPdf.PdfWriter.WritePdfObject (PdfObject obj) in 56
   
in Telerik.Windows.Documents.FormatProviders.Pdf.PdfDocumentExporter.Export () in 386
   
in Telerik.Windows.Documents.FormatProviders.Pdf.PdfFormatProvider.Export (RadDocument document, Stream output) at 56
   
in WPF_Dictado.Window1.parametrospdf () in C: \ Documents and Settings \ Administrator \ Desktop \ WPD_Dictado RIS \ WPF Dictation \ Window1.xaml.vb: line 1066

I would greatly appreciate the help I can provide. 
Martin Ivanov
Telerik team
 answered on 30 Dec 2011
1 answer
144 views
I haved created one rad document in which I want functionality of print preview using radRichTextBox

I have implemented the following
Dispatcher.BeginInvoke((Action)(() =>
 {
                        RadRichTextBox1.Document = document;
                    }));
 
                    t1.Dispose();
                    RadRichTextBox1.PrintPreview();

But its not working
So can you please guide me how it is possible for me to implement.

I really appreciate your any help. :):):)

Thanks
Boby
Telerik team
 answered on 30 Dec 2011
2 answers
87 views
I have a main window that contains a RadMenu and a RadDocking.

When I select a menu item, I add a new RadPane to the RadDocking's RadPaneGroup. If I select the menu item multiple times, I get multiple RadPane's added, which is what I want.

The odd thing is that if I close one of the RadPanes, by clicking on its corner 'x' icon, the menu item disables itself.  So once I close a pane, I can no longer open any more.

I can envision of no mechanism by which this could be happening, but happening it is.

I've created a stripped-down solution that demonstrates the problem.  It works out to a 8.7MB zip file.  I can't attach it here, should I email it to someone?
Jeff
Top achievements
Rank 1
 answered on 30 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?