Telerik Forums
UI for WPF Forum
0 answers
75 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
93 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
186 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
137 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
153 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
119 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
237 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
834 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
1 answer
265 views
I have a RadMap, with an InformationLayer, in which I am drawing a MapPolygon and a MapPinPoint.

The MapLayer.Location of the PinPoint is bound to a Location property in the viewmodel, that raises PropertyChanged when modified.

When I change the location, in code, the MapPinPoint is drawn in the new location, so I'm pretty sure that I have the binding and the notification working right.

Now here's the thing - I want the map to center on that same location. So I've bound RadMap.Center to that same property. And that's not working - the center of the map does not change, even though the location of the MapPinPoint does, when both are bound to the same property.

Since the MapPinPoint is working, I have to assume that the property is working right, and that the RadMap is ignoring PropertyChanged events on Center.

So how, then, do I change the center of the map, through bound properties?
Jeff
Top achievements
Rank 1
 answered on 14 Nov 2012
0 answers
127 views
Hi guys,

I am working on a piece of code written by some other person that uses Telerik. An issue I am trying to resolve right now involves GUI formatting.

In this picture, you can see that the "Country" column has been highlighted and is active (i.e. has Distinct Filter). But in this case, that little wine-glass-like icon on the left is grey instead of orange. Do you know how I can make that icon change colour when the column is active?

The classes that are involved are RadGridView, a class that overrides IFilteringControl, and a set of GridViewColumns.

Thanks.
New
Top achievements
Rank 1
 asked on 14 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
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?