Telerik Forums
UI for WPF Forum
2 answers
168 views
Hello telerik,

I have tried to implement pagination using RadGridview, i have downloaded the latest WPF Q2 SP1 samples.. and looked into the example in GridView -> Performance - > Server page, sort etc...

When i tried to group the columns by dragging the column header on to the header droppable zone, items have been grouped.
but when i tried to  change the current page to some other page by clicking any number on the Pagination control and after that when i tried to group the columns, it is throwing exception...

Is this a bug?

Reproduce steps:
1) Launched the C# Samples from Start -> Programs -> Telerik
2) Select Grid View control -> Performance -> Server page, sort etc...Now able to see the radgrid view with pagination on the right panel
3) Click on second page ("2") on the pagination control
4) Drag any column header to group, I have dragged "Company Name" column.. Now error is thrown...

When i tried to debug i fournd the following as the inner exception:
"Unable to cast object of type 'Telerik.Windows.Examples.Customer' to type 'Telerik.Windows.Data.IGroup'."

Thanks,
Kranthi
Rossen Hristov
Telerik team
 answered on 28 Aug 2009
1 answer
140 views
the predefined themes for q2 is broken.  We installed Q2 and themes no longer display for the grid.  We uninstalled Q2 and went back to Q1 and themes display fine.  Have not tried the work around for winforms of setting the theme from code in the initialize event.  Will let you know.
Missing User
 answered on 28 Aug 2009
1 answer
122 views
I want to use the RadDatePicker and RadTimePicker together but bound to one datetime object. Do you have an example of how to do this?

Thanks,

Billy Jacobs
Kaloyan
Telerik team
 answered on 28 Aug 2009
1 answer
156 views
Hello Telerik,

I am using RadPanelBar in one of my application, Now i need to expand one of the panelbaritems from one of my function in the code-behind.

for example i need to expand the third item in panel bar when i click on a button.

Consider I am binding a list of "Car" objects to a panelbar, now when i am looping through the items of panelbar i am getting each car item.. 

In this case how to i expand the "n-th" item of panelbar..
expecting a solution asap...

thanks,
- Kranthi
Kiril Stanoev
Telerik team
 answered on 27 Aug 2009
1 answer
125 views
Hello
I want to filter my child grid
when I watch the DateView dv it is filtered
but in the child grid I still see all the rows and not only the filtered rows
this is my code

 private void OnChildGridLoaded(object sender, RoutedEventArgs e)  
        {  
            // Pull data from the detail table based on the relation.  
            var dataRowView = (DataRowView)((RadGridView)sender).ParentRow.DataContext;  
            var ds = dataRowView.DataView.Table.DataSet;  
            var childData = dataRowView.CreateChildView(ds.Relations["BudgetRelation"]);  
            if (((ComboBoxValues.ComboValues)cmbActivityType.SelectedValue).Id != 0)  
            {  
                dv = new DataView(childData.ToTable(), "ActivityTypeID=" + ((ComboBoxValues.ComboValues)cmbActivityType.SelectedValue).Id, "", DataViewRowState.CurrentRows);  
                ((RadGridView)sender).DataContext = dv;  
            }  
            else   
                ((RadGridView)sender).DataContext = childData;  
 
            ((GridViewComboBoxColumn)((RadGridView)sender).Columns["ActivityTypeName"]).ItemsSource = ComboBoxValues.GetComboValues(dtActivityType);  
        } 

Thanks

By the way, I'm still waiting for an answer about second child hierarchy.
Rossen Hristov
Telerik team
 answered on 27 Aug 2009
2 answers
551 views
Is there a way to iterate through the records in a bound grid and highlight (set background color?) for a particular row?

Is there any solution to do this? 
Brandmuscle
Top achievements
Rank 1
 answered on 27 Aug 2009
1 answer
178 views
Hi everyone,

If found something strange about the way setDate behaves when passing a date object in parameter.

I use the fonction like this:
var date = new Date();
alert(date); // Tue Aug 25 2009 16:58:26 CTU+0800
$('#datepicker).datepicker('setDate', date);
alert(date); // Tue Aug 25 2009 16:58:57 CTU+0800

Why does the setDate function modifies the date object? Is this normal?
How to modifiy format of the date ,eg 'yy-MM-dd'?
I didn't find anything about this subject on the website.

Thanks a lot
Veli
Telerik team
 answered on 27 Aug 2009
3 answers
119 views
I would like to make a request for more built-in themes.  Ideally, I would like to see a good 20 or 30 of them to choose from instead of 4.  I know it just came out, so I'm glad it at least has four, but I'd rather not have to sit in Blend and mess around with customizing the template unless I really have to.  It looks like with templates, you can basically do anything you want with the chart...the xaml just really gets complicated (I'm no wpf expert yet though, so maybe it is just a learning curve I need to get over).

On a side note, my post about hiding the legend just disappeared completely from the forum.  Also, subscribing to threads seems to not work.  Maybe the new website changes caused some glitches.
Giuseppe
Telerik team
 answered on 27 Aug 2009
1 answer
136 views
I was wondering if there if someone has an example of using the rad drag and drop to rearrange items in a WPF list box.  I found the example to drag and drop from one control to another, but I am looking for direction on how to drag and drop to rearrange items in a single control.


Thanks

Damon
Kiril Stanoev
Telerik team
 answered on 27 Aug 2009
1 answer
70 views
I build the Example solution and then opened:
When I try to view Scheduler -> WPF -> FirstLook -> Example.xaml

The Scheduler displayed, but started stretching (scaling) horizontally and never stopped stretching. The size  Eventually I closed Example.xaml and reopened. The initial screen showed up fine again but started stretching horizontally, indefinitely.

The other examples show fine, only the scheduler shows this behaviour. Also if I hold down the left mouse button inside the design window, the stretching speeds up!

Running the Example under Debug / Run works fine, its only under the designer.

I'm using VS 2008 with SP1 installed.

ms
Rosi
Telerik team
 answered on 27 Aug 2009
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
DataPager
PersistenceFramework
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
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?