Telerik Forums
UI for WPF Forum
3 answers
114 views
Hello,

I have serveral gridviews with observable collections as their items sources.  I have a button which does an Excel export on the grids (by getting the item's sources).  I would like the export to match whatever sorting the users applied on the grid.  How can I accomplish this?

Thank you.
Vlad
Telerik team
 answered on 05 Oct 2012
1 answer
148 views
I am trying to build a grid that has both a static, known column and a set of unknown columns that need to be created dynamically. I have read and understand the method of using DynamicObject combined with the auto generate columns from the RadGridView, but in my situation I want the one known column (the "non-dynamic" one) to be editable, and the dynamic columns readonly (non editable).

Please advise...

Thanks!
Mike Gates
Vlad
Telerik team
 answered on 05 Oct 2012
3 answers
225 views
Hai

am using the  wpf rad grid view.

when i select the row in the grid view, i need to display selected row values(each cell value in the selected row) in textbox.

how to do this. can u provide some example to how get the values from selected row?
phuoc tran ngoc
Top achievements
Rank 1
 answered on 05 Oct 2012
2 answers
183 views
how can i get the value of a cell, in Winform:

radGridView1.Rows[e.RowIndex].Cells[5].Value.ToString();

in WPF, i cant
. THX














phuoc tran ngoc
Top achievements
Rank 1
 answered on 05 Oct 2012
0 answers
166 views
Hi Telerik Team!!

Sorry to bother you, but one more time I have an issue :S,

I have a RadGridView and one of the columns has a datatemplate (button), i.e. if I select the row 1 and after I click the button from the row 5, the  row 1 keeps selected.

<

 

 

telerik:GridViewDataColumn Header="title" >

 

 

 

 

    <telerik:GridViewDataColumn.CellTemplate>

 

 

 

 

        <DataTemplate>

 

 

 

 

            <telerik:RadButton Content="{Binding Value}"

 

 

 

                Command="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}},

 

 

 

                Path=DataContext.X}"

 

 

 

                CommandParameter="{Binding Number}"/>

 

 

 

 

        </DataTemplate>

 

 

 

 

    </telerik:GridViewDataColumn.CellTemplate>

 

</telerik:GridViewDataColumn>

Thanks.

 

hugo cesar
Top achievements
Rank 1
 asked on 04 Oct 2012
0 answers
150 views

Hi Telerik Team.

I have a problem with the rows using the RadGridView and implicit styles, I'll explain:

I have a RadGridView and when it is loaded and I click over a columns name to sort the rows everything is ok, the problem
arise when I added a rowstyle to highlight rows which contain specific data.

 

<

 

 

telerik:RadGridView.RowStyle>

 

 

 

 

    <Style TargetType="telerik:GridViewRow" BasedOn="{StaticResource GridViewRowStyle}">

 

 

 

 

        <Style.Triggers>

 

 

 

 

            <DataTrigger Binding="{Binding Status}" Value="2">

 

 

 

 

                <Setter Property="Background" Value="Red"/>

 

 

 

 

            </DataTrigger>

 

 

 

 

        </Style.Triggers>

 

 

 

 

    </Style>

 

 

 

 

</telerik:RadGridView.RowStyle>

After add those lines when I click over the column name to sort, the rows disappear.

Please any help is really helpful. Thanks.

 

hugo cesar
Top achievements
Rank 1
 asked on 04 Oct 2012
1 answer
147 views
Hi,

Ever since upgrading to the latest release of the WPF libraries (Q2 2012) I am experiencing issues with the currency format in my RadGridView. My PC is set to en-GB but the application was reporting values back in en-US.

I managed to overcome the issue by setting the following code in each of my windows & pages:

//Set Language
this.Language = XmlLanguage.GetLanguage(CultureInfo.CurrentCulture.IetfLanguageTag);


However, I have just stumbled across another issues.
I have a radgridview hosted in a RadDocking pane. When the pane is docked the currency reported in my cells are as they should be, en-GB (£). When the pane becomes floating, the grid cells switch back to en-US ($).

Do you know how I can prevent the culture of my pane from switching when it becomes floating?

Thank you for your time,

Rob


Yana
Telerik team
 answered on 04 Oct 2012
0 answers
109 views

Hi,

We would like to implement a spin progress bar (see the attached image) into Tabs, Toolbars etc.
Could you give us info whether you have any or similar solution to this control in WPF?

Thanks,
Laszlo

Zsolt
Top achievements
Rank 1
 asked on 04 Oct 2012
1 answer
159 views
Is there any easy way to center a diagram? I believe I may need to use the align feature, but not 100% sure.

I've been using autofit and that centers it however when exporting to an image, even with the bounds set for the entire viewport it doesn't export in the center.

Any ideas on what I can try?
Tina Stancheva
Telerik team
 answered on 04 Oct 2012
1 answer
285 views
Hi,
Am having some issues with the Dropdown content in RadDropDownButton.
I get multiple instances of the dropdown content (attached screen shot).
Below is my xaml.

<telerik:RadDropDownButton AutoOpenDelay="0:0:0.0" Grid.Column="1" Grid.Row="0" FlowDirection="RightToLeft" DropDownButtonPosition="Left" 
                                                       Visibility="{TemplateBinding SearchHistoryListVisibility}" KeepOpen="False" DropDownMaxHeight="170"
                                                       IsOpen="{Binding IsSearchHistoryOpen, Mode=TwoWay}">
                                    <telerik:RadDropDownButton.DropDownContent>
                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="{Binding SearchHistoryWidth}" />
                                            </Grid.ColumnDefinitions>
                                            <ListBox Grid.Column="0" FlowDirection="LeftToRight" 
                                                     ItemContainerStyle="{StaticResource SearchHistoryItemStyle}" BorderThickness="0.25" BorderBrush="DarkGray"
                                                     ItemsSource="{Binding Path=SearchHistoryList}" 
                                                     SelectedValue="{Binding Path=SelectedSearchQuery, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" 
                                                     HorizontalAlignment="Stretch" />
                                        </Grid>
                                    </telerik:RadDropDownButton.DropDownContent>
                                </telerik:RadDropDownButton>

Am trying to close the dropdown content on click of a listbox item. Am setting  IsSearchHistoryOpen=false from SelectedSearchQuery property.

This happens only when I specify Mode=TwoWay in 
IsOpen="{Binding IsSearchHistoryOpen, Mode=TwoWay}".
But if I dont specify the twoway mode, the dropdowncontent doesnt close when i click the listbox item.

Any help is much appreciated.

Thanks
Zarko
Telerik team
 answered on 04 Oct 2012
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?