Telerik Forums
UI for WPF Forum
0 answers
122 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
321 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
251 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
208 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
212 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
183 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
111 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
1 answer
316 views
I am using a ComboBox with the following settings:
<Setter Property="TextSearchMode" Value="StartsWith" />
<Setter Property="IsEditable" Value="True" />
<Setter Property="IsReadOnly" Value="True" />

Is there a codeless (MVVM) way to force a valid value to be chosen?  As it stands, the user can click into the "TextBox" part of the RadComboBox, hit the backspace key repeatedly to clear out the text, and effectively set the value to null.  This is even though the ComboBox does not have a null / blank value available for selection via the mouse / arrow keys.

The ideal situation would be to return the ComboBox to its original value if the user does not select a valid value.

I'm sure there is a method of doing this via code behind, but this seems like something that could already be built into the control.

Thank you,
Kevin
Yana
Telerik team
 answered on 30 Dec 2011
5 answers
585 views
I've got a RadGridView on a WPF form.  The control is in a cell of a Grid control.  The cell isn't tall enough to show a full number of rows all of the same height.  That is, the last row at the bottom is displaying as a partial row.

When I scroll all the way down to the bottom, the last row is not displaying fully.  Even though the scroll bar is all the way down, it doesn't scroll the whole last row into view.

How do I fix this so the last row will display in full?

Tony

Edit:  Here is the XAML for the RadGridView control:

<my:RadGridView AlternationCount="1" 
           AutoExpandGroups="True" 
           AutoGenerateColumns="False" 
           CanUserDeleteRows="False" 
           CanUserFreezeColumns="False" 
           CanUserInsertRows="False" 
           CanUserResizeColumns="True"
           CanUserSortColumns="True" 
           DataLoadMode="Asynchronous" 
           EnableColumnVirtualization="True" 
           EnableRowVirtualization="True" 
           FontSize="18" 
           FontWeight="Bold" 
           Grid.Column="1" 
           Grid.Row="1" 
           IsReadOnly="True" 
           Margin="5" 
           Name="HotListResults" 
           SelectionChanged="HotListResults_SelectionChanged"
           SelectionUnit="FullRow" 
           ScrollViewer.CanContentScroll="True" 
           ScrollViewer.HorizontalScrollBarVisibility="Auto" 
           ScrollViewer.VerticalScrollBarVisibility="Auto" 
           ShowGroupFooters="True"
           ToolTip="Matching Hot List Entries">
    <my:RadGridView.Columns>
        <my:GridViewDataColumn DataMemberBinding="{Binding ListName,   Mode=OneWay}" Header="Hot List"    Width="150" />
        <my:GridViewDataColumn DataMemberBinding="{Binding AlarmClass, Mode=OneWay}" Header="Alarm Class" Width="200" />
        <my:GridViewDataColumn DataMemberBinding="{Binding CountryId,  Mode=OneWay}" Header="Country"     Width="100" />
        <my:GridViewDataColumn DataMemberBinding="{Binding LocaleCode, Mode=OneWay}" Header="State"       Width="75" />
        <my:GridViewDataColumn DataMemberBinding="{Binding Plate,      Mode=OneWay}" Header="Plate"       Width="150" />
        <my:GridViewDataColumn DataMemberBinding="{Binding BeginDate,  Mode=OneWay, Converter={StaticResource DateConverter}}" Header="Begin Date" Width="200" />
        <my:GridViewDataColumn DataMemberBinding="{Binding EndDate,    Mode=OneWay, Converter={StaticResource DateConverter}}" Header="End Date"   Width="200" />
    </my:RadGridView.Columns>
</my:RadGridView>
Vanya Pavlova
Telerik team
 answered on 30 Dec 2011
5 answers
192 views
Hi,

is it possible to create chart using the new ChartView like the meteo chart in the original RadChart?
I need to show image and value on y axis, and date on x axis. 
Charly
Top achievements
Rank 1
 answered on 30 Dec 2011
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?