Telerik Forums
UI for WPF Forum
3 answers
174 views
Are there any demos of 3D charts, specifically pie charts, I can't see any, indeed I can't really find any useful documentation about 3D charts at all.
Petar Kirov
Telerik team
 answered on 15 Nov 2012
5 answers
442 views
Is there a way to cleanly get a RadGridView to clear its SortDescriptors everytime the ItemSource is refreshed with a new data source?

My problem is that I am loading different dataset (different columns) into a RadGridView and when there is sorting on one of the data set, after binding a new dataset to the same RadGridView, it is obviously remembering the SortDescriptor and throwing an error because the column it is trying to sort on no longer exists in the new set of data it is being bound to.

Also I am trying to do this in a clean MVVM (WPF) way so calling RadGridView.SortDescriptors.Clear() in the code behind of my WPF form is not the approach I'm looking for.

Any ideas?
Mark
Top achievements
Rank 1
 answered on 15 Nov 2012
0 answers
80 views
Hello, I´m working with 2011.3.1116.40 WPF version, I handle Filtered event, when I follow these steps, FilterDescriptors doesn´t update correctly:

1- Check one filter item -> FilterDescriptors OK.
2- Uncheck "Select all" -> FilterDescriptors wrong. FilterDescriptos continues with the last value.

It happens on filtered method.

Thanks for your support.
Gerardo
Top achievements
Rank 1
 asked on 15 Nov 2012
1 answer
97 views
Hi,

I should implement a dynamic combobox to be WPF gridviews cell editor. I need to create the combobox to some specific cell (for example to row 3 and column 2). The data should get from database in moment the user is activating the cell editing.

Already i found examples how to create GridViewComboBoxColumn, but i need to do this to just one cell at the time and the data must be fetched from relational database dynamic. That is because the data can be updated to the database at any time by other user/process.

What to do next?
Pavel Pavlov
Telerik team
 answered on 15 Nov 2012
1 answer
190 views
Hi,

how do i bind a xml-File to a RadDataForm with a NewItemTemplate and a EditTemplate? Can't find any example!=

Thanks Best
Regards
Rene
Yoan
Telerik team
 answered on 15 Nov 2012
2 answers
139 views
Hi,

I made a control teplate, and i put a RadDatePicker to this. After that, i set the DataTimeWaterMarkContent propterty. But its doesnt show on the UI.
If i use it direct ( Window, UserControl) it's ok.

Control Template:

<ControlTemplate x:Key="OtherWorkEditTemplate">

<Grid x:Name="LayoutRoot">

<GroupBox Header="Something" BorderBrush="{DynamicResource SolidColorBlueBrush}">

<Grid>

...

<telerik:RadDatePicker SelectedValue="{Binding OtherWork.InvoiceDate}" VerticalAlignment="Top" Margin="88.787,98.458,8,0" DateTimeWatermarkContent="Enter" telerik:StyleManager.Theme="Metro" />

</Grid>

</GroupBox>

</Grid>

</ControlTemplate>


Result: http://tinypic.com/r/qp4bb5/6
[IMG]http://i47.tinypic.com/qp4bb5.png[/IMG]

 
How can i solve this?

Thanks a lot,
Attila

 

Attila
Top achievements
Rank 1
 answered on 15 Nov 2012
1 answer
156 views
I am having no end of trouble trying to find the magic to force a single-column RadTileView layout, with all tiles expanding to take up their fully available width.

What property should I be looking for which determines how the tiles determine their width?
Pavel R. Pavlov
Telerik team
 answered on 15 Nov 2012
1 answer
123 views
hello , im using Telerik-Word of WPF in my application , and im wondering if it's possible to make an event to make sure a page is printed out or not , is it possible ? if yes , how ?
Boby
Telerik team
 answered on 15 Nov 2012
4 answers
239 views
I am implementing my own blank row to display at the end of the grid where users will be allowed to enter new data.

I do this by adding an empty row to the end of my ItemsSource

The issue is on Filtering and Sorting the empty row is included in the action. I tried removing the row and then re-adding it  on the Filtering/Filtered and Sorting/Sorted events but on re-add the item is added to the sorted position not the end of the grid. Any help?

For reference this is how I set my DataContext for the Grid.
public DataTable CurrentDataTable
       {
           get { return dataGridView.ItemsSource != null ? ((BindingSource) dataGridView.ItemsSource).DataSource as DataTable : null; }
           set
           {
               CurrentSelectedTableName = value.TableName;
 
               //BindingSource to sync DataTable and DataGridView
               var bSource = new BindingSource {DataSource = value};
 
               //set the DataGridView DataSource
               dataGridView.DataContext = bSource;
           }
       }



Add and Unload Empty Row
public void LoadExtraRow()
 {
      var itemSourceDataTable = CurrentDataTable;
      if (itemSourceDataTable == null)
           return;
      var newRow = itemSourceDataTable.NewRow();
      newRow.RowError = "NEW_ROW";
      itemSourceDataTable.Rows.Add(newRow);
      dataGridView.Rebind();
 }
  
public void UnloadExtraRow()
{
      var itemSourceDataTable = CurrentDataTable;
      if (itemSourceDataTable == null)
           return;
      if (itemSourceDataTable.Rows.Count > 0)
      {
          var emptyRowToRemove = itemSourceDataTable.Rows[itemSourceDataTable.Rows.Count - 1];
          if (emptyRowToRemove.RowError == "NEW_ROW")
          {
               itemSourceDataTable.Rows.Remove(emptyRowToRemove);
          }
       }
   }





David
Top achievements
Rank 1
 answered on 15 Nov 2012
4 answers
848 views
Hi, is there any workaround on preventing the user from  typing beyond the maximum value? 

Please help we are still evaluating a trial copy and this demo will help my boss to decide if she will buy telerik or not.(I know this is not necessary, but lately no one has been replying on questions I post here LOL)

So please... help?
Haegen
Top achievements
Rank 1
 answered on 15 Nov 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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
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
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?