Telerik Forums
UI for WPF Forum
2 answers
151 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
211 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
218 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
134 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
165 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
229 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
147 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
1 answer
168 views
In our usage of RadDiagram, we enable our shapes to be positioned with subpixel accuracy.  However, we notice that the AdornerManipulator for our shapes is always a little bit larger and aligned exactly on pixel borders.  For instance, if have a diagram shape positioned at 20,30.5, the adorner will be positioned at 20,30.  If that same shape is 40x50 pixels, the bottom of the adorner will be at 60,31.

I think I found the code that does this in RadDiagram.UpdateManipulationAdorner; that code taking the Math.Floor of the position and the Math.Ceiling of the extents.  This makes the adorner lie exactly on a pixel but also makes it not match the adorned object.

This seems like surprising behavior to me; the manipulation-adorner ends up being not quite the bounds of the object adorned.  However, it also looks like someone pretty intentionally put code in place for this behavior.

We are on the 2013.3.1204 release; I don't think any of the release notes since then mention changes related to this functionality.

1) Is this a correct evaluation of what's happening?
2) What considerations led to the decision that the AdornerManipulator has this behavior?  What negative side effects might we expect if we were to remove the Ceiling and Floor calls and instead use the exact position and extents?
3) While we can certainly modify this behavior locally, is this something that you all would address in a future release, please?

Thank you!

-David

Petar Mladenov
Telerik team
 answered on 22 Aug 2014
1 answer
62 views
I want to draw a horizontal/vertical RadDiagramConnection when key Shift is pressed. How to achieve this?
Milena
Telerik team
 answered on 22 Aug 2014
5 answers
183 views
Hi,
    I want to store Some More information with RadDiagramConnection .
    So,Please  can any one suggest me ,how to Create Custom Property to RaddiagramConnection (Or) How To Create a Custom RadDiagramConnection?
Pavel R. Pavlov
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
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
ProgressBar
Sparkline
LayoutControl
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
Rating
Accessibility
Callout
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?