Telerik Forums
UI for WPF Forum
2 answers
125 views
Supposingly I would like to bind ID to each of the aggregate cell and retreive it for later usage using View Model, how could it be done.

I understand that there are row group description, column group description and aggregate description to bind property directly,
but i couldn't find ways to bind id to aggregate cell and ways to retrieve it
Kalin
Telerik team
 answered on 22 Aug 2014
3 answers
127 views
Hello

We have strange behavior on Twinhead Durabook T7M hardware (http://goldrushtechnology.com.au/Products/tabid/57/ProdID/2825/Default.aspx) OS: Microsoft Windows 7 32 bit.

When we try to activate the edit controls (f.e. RadComboBox) via the touch pen, they do not become active. Controls are provided by InlineUIContainer  on the object RadDocument. 

The result is that data can not be replaced via the touch pen. Edit controls have focus only for a fraction of a second, and then focus is lost.

When working with mouse there was no such problem. Installing other drivers for the touch pen did not help.

Problem occurs only for objects placed on the object RadDocument.

Version of Telerik software is 2013 Q2.

Best regards

Daniel Gontarek
Petya
Telerik team
 answered on 22 Aug 2014
1 answer
330 views
I have been using Persistence Framework to save the state of RadGridViews. The RadGridViews have a column chooser which enables the user to change the visible columns (IsVisible=true/false). The WPF program saves the state of grids on exit, and loads them when the program starts. This works very well.

However, recently, as part of an update to the software, I had to remove a column definition from the XAML and the Data Model. I noticed that when the program was loaded again, the column still appears (because I had chosen it in my grid) but the values are all blank.

My question is:
Are there any best practices for using the Persistence Framework with new releases of my software? For example, a way to force an update/automatically remove the persisted data for a particular grid that changes?

Zarko
Telerik team
 answered on 22 Aug 2014
2 answers
158 views
Supposingly I have pivot grid like this

    Text here   | Monday   Tuesday  Wednesday Thursday Friday
Employee 1  |
Employee 2  |
Employee 3  |

I would like to input text in the text here column, how is it possible to do this for pivot grid.
I couldn't find any documentation on it, maybe i just miss out something pretty simple.
Kalin
Telerik team
 answered on 22 Aug 2014
2 answers
223 views
Hello,

Here is my case:
I'm working in MVVM.

In my ViewModel I have a list of object like this one :

public class MyObject
  {
    public string Name { get; set; }

    public Dictionary<string,bool> Options
    {
      get;
      set;
    }
  }

In my View I want to bind my datagrid to a the list of MyObject and have a display looks like :
Name                      | Option1 | Option2  | Option3 | ...
Object1Name          | true       |false        |true
Object2Name          | true       |true         |true
...

The bool should be a checkBox

The string is well displayed but I dont know how display the Dictionary.
I hope someone can help me with this issue.

Thanks,

Eric.

PS : Sorry for the faults but English is not my mother tongue.
Eric
Top achievements
Rank 1
 answered on 22 Aug 2014
3 answers
228 views
How to pass value from datepicker when editing a existing entry in a gridview. For instance I have a column name ExpirationMonth with a cell data of AUG, and I want that to pass in a DatePicker Input, instead of seeing the watermark "Enter date". See the first Image.

The first image when editing a certain entry in a gridview, Aug does not show up in the ExpirationMonth, 2014 does not show up in Expiration Year.

Also when I add an entry still the same even it has a default value, set as
//for ExpirationMonth
DateTime.Now.ToString("MMM");
 
//for Expiration Year
DateTime.Now.ToString("yyyy");

But when I select a month for ExpirationMonth, month I selected appears in the DatePicker input. See the second Image.

What I did to show month and year in the Datepicker Input, here is the code snippet:
public CreditCardWindow()
    {
        InitializeComponent();
 
        CultureInfo cultureInfo = new CultureInfo("en-US");
        DateTimeFormatInfo dateTimeFormatInfo = new DateTimeFormatInfo();
        dateTimeFormatInfo.ShortDatePattern = "MMMM";
        cultureInfo.DateTimeFormat = dateTimeFormatInfo;
        dteExpirationMonth.Culture = cultureInfo;
        string dteMonth = dteExpirationMonth.SelectedValue.ToString();
        dteMonth.ToUpper();
 
        CultureInfo cultureInfo2 = new CultureInfo("en-US");
        DateTimeFormatInfo dateTimeFormatInfo2 = new DateTimeFormatInfo();
        dateTimeFormatInfo2.ShortDatePattern = "yyyy";
        cultureInfo2.DateTimeFormat = dateTimeFormatInfo2;
        dteExpirationYear.Culture = cultureInfo2;
 
 
    }


Regards,
Robert Peter Mansion
Kalin
Telerik team
 answered on 22 Aug 2014
1 answer
146 views
Hello, i still evaluating Telerik gantt. I have made me a sample project in mvvm and i add some gantttasks with sample
data. Now i want to use the ScrollingService.ScrollIntoView to item function but how can i access it from viewmodel?
I also using telerik viewmodelbase for the commands in my viewmodel. Can you please give me a hint?

Regards,
Robert

Kalin
Telerik team
 answered on 22 Aug 2014
1 answer
175 views
Is there any way that I can get the list of pages a document. Or any another way to work out pages from a document ?

Regards
Anand
Petya
Telerik team
 answered on 22 Aug 2014
1 answer
239 views
I am using telerik RadTreeMap control. It is showing error when we use DLL Telerik.Windows.Controls.DataVisualization, version- 2013.3.1316.45 is not supporting. when I use version - 2013.3.1316.40 then it work fine. But all over in our application we already used the DLL of version 2013.3.1316.45 and we cant use the old version DLL 2013.3.1316.40. So how we can use the DLL version 2013.3.1316.45 In RadTreeMap application, please give the solution as early as possible.

Thanks and regards
Shreejit Nechipurat

Martin Ivanov
Telerik team
 answered on 22 Aug 2014
2 answers
156 views
I have used RadTimeline in a user control and i am using it in a winform application.
1) The SelectionChanged Event dosent get triggered on mouse Click.
2) The MouseLeftButtonDown event gets triggered but the DataItem of sender is null.
3) Is it possible to trigger a event and get date and time  when user clicks on the year or month tabs. 
Tsvetie
Telerik team
 answered on 22 Aug 2014
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
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
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?