Telerik Forums
UI for WPF Forum
1 answer
316 views
Hi!
Please look at the following xaml:
<telerik:GridViewDataColumn DataMemberBinding="{Binding}">
    <telerik:GridViewDataColumn.CellTemplate>
        <DataTemplate>
            <StackPanel Orientation="Vertical">
                <TextBox Text="{Binding propertyA}" />
                <TextBox Text="{Binding propertyB}" />
            </StackPanel>
        </DataTemplate>
    </telerik:GridViewDataColumn.CellTemplate>
</telerik:GridViewDataColumn>

My cell template has two text boxes that should be bound with two different properties of my data source item. How do I do that?
Obviously my grid has other columns as well. The reason I want to do this and I don't want to use two different columns is that I want to save space and make my text boxes more wide. I don't mind about the vertical space being wasted that much.
papadi
Top achievements
Rank 1
 answered on 10 Sep 2012
1 answer
393 views
I am new to WPF, The scenerio is that i am Developing the application in WPF and i have made the menu.XML file which is a datasource for Ribbon Control. Now i want to hide/Disbale the menu on the basis of user role, User role is defined in Dataabse, Lets if user is Manager then he will only see Requests Tab and similarly if admin has logged in then he might only be able to see requests tab and Admin Tab also.
Tina Stancheva
Telerik team
 answered on 10 Sep 2012
2 answers
188 views
Dear Telerik team,

How i can style this bars from white/black to green/red?: http://demos.telerik.com/silverlight/#ChartView/Financial in WPF

Best regards,
Saykor
Saykor
Top achievements
Rank 2
 answered on 10 Sep 2012
2 answers
120 views
I have a simple data-bound column bar chart with an x-axis that aggregates the average value of items by month (YTD). Looks fine but how would I get an empty month to appear (zero value column)? Right now I only get columns for months with values. Those zero-values months are relevant too.
Art Kedzierski
Top achievements
Rank 2
 answered on 10 Sep 2012
9 answers
385 views
Hi, I'm a Telerik newbie.

I have a hierarchical grid in which a parent table has 2 child tables, each with different columns. Basically, a row in the parent table has 2 columns that hold collections of objects. For each of those collection types, I created a GridViewTableDefinition with a PropertyRelation to associate the parent table column to a child table. This works fine, but I am trying to find a way to expose the GridViewTableDefinition.PropertyRelation.Name above the child table.

I have seen an example in the forums that shows a RadGridView with multiple child data in tab controls. The tabs show the Relation.Name which is what I want, but I don't want to use the tab controls.

I think what I really want is closer to the RadTreeListView, but the RadTreeListView is only used for displaying homogenous data... and mine is heterogeneous.

I basically want a TreeView with columns so that I can display properties of heterogeneous object types. Is this possible with a RadGridView?

Kind Regards,
Albert


Dimitrina
Telerik team
 answered on 10 Sep 2012
4 answers
416 views
Hi,
I use an Itemscontrol with usercontrols which basically consist of a radrichtextbox and a radtoolbar. Pressing the Alt key removes the focus and activates the main window's menu. Makes it impossible to add certain characters to a text which require a keyboard combination of alt+char.

Somebody posted a similar issue in the Silverlight forum but without any solution for my issue. Is there any simple solution? If not I was considering to use the previewkeydown event to disable the standard handling and inserting the characters code wise but internet is not saying much about keycodes for chars using Alt key combinations. 
Chints
Top achievements
Rank 1
 answered on 10 Sep 2012
7 answers
121 views
Hi,

We're using the DocumentHost as the central part of our application. Panes are opened and closed on a fairly high rate - similarly to a browser's tabs. Panes are sometimes opened as a result of a menu action (from the top menu) and sometimes as a result of an item which was clicked inside a specific pane.

When a pane is closed, the user expects that the previously selected pane will now be selected (instead of simply selecting the first pane). This works kind of like a stack, whenever a pane is selected it's added to the top of the stack and when a pane is hidden/closed we should pop the previous one from the stack and make that the selected one (and not simply the first).

While we have a few thoughts at implementing this, we'd appreciate your feedback - how can we best implement this? Could this also be a built-in feature for the DocumentHost in the future?

Thanks,
yonadav
Ventzi
Telerik team
 answered on 10 Sep 2012
4 answers
183 views
Dear Telerik,

When i am exporting to excel its creating a folder with the same excel file name and it contains (filelist.xml, sheet001.htm, stylesheet.css, tabstrip.htm) if i want to give this file to anyone i have to send this folder along with excel file and the other issue is when i try to open excel file it says "The file you are trying to open 'StockLedger.xls', is in a different format than specified by the file extension.
Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?" 

 I am using MS Office 2010 and I am using Build WPF 2012.2.0703.

Thanks in advance...

Regards,
Mohammed
Manjula
Top achievements
Rank 1
 answered on 10 Sep 2012
1 answer
124 views
Hi everyone,

I'm trying to make a spline chart with thousands of values with the Y-Axis being an integer value and the X-Axis being a datetime value and I don't know how to fill both the integer and the datetime values. I was trying to set the itemsource of the chart as an array, but I couldn't get it, I couldn't show the datetime values. The charge of the information is made in a dynamic way. Any help would be appreciated.

Thanks!!
Petar Marchev
Telerik team
 answered on 10 Sep 2012
1 answer
146 views
Hi all. I have several problems with rotated gridview. So, when grid rotated to 270 degrees and Horizontal Alignment set to Left it's makes as square and don't grow up when populating data take more space than he had. It's look like alignment applied to both vertical and horizontal sides.
Second issue with... it's hard to describe. I have two grid's. First does not rotated, second rotated to 270 degrees. When i set IsFilteringAllowed to false for rotated grid it's start jump... or have a long love with not rotated grid. I think it's some problems with window size and scrolling of gridview... You can see this at video: https://skydrive.live.com/redir?resid=8921E2784A54CF76!137&authkey=!AKe9e5QHUKdJtEw
Alex
Top achievements
Rank 1
 answered on 10 Sep 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?