Telerik Forums
UI for WPF Forum
1 answer
109 views
Hi,

I'm using WPF 4.0. I followed the demo for reordering rows for radgridview(1 row at a time), it worked perfectly. But now I need to allow multiple rows to be reordered. Is that possible? Anyone here done it before?

Thanks,
Mark
Mark
Top achievements
Rank 1
 answered on 11 Sep 2012
0 answers
75 views
  1. I have a radgridview with the following sorted items in it; the column has a SortDescriptor with SortDirection="Ascending".
    00 item
    03 item
    05 item
    99 item
  2. Rename the cell in the 2nd row in a way that would make it move down 1 position in the list (prepend "06"):
    00 item
    06 03 item
    05 item
    99 item
    The column header shows an up-triangle, indicating ascending sort, but the column is not sorted. 
  3. Now rename the first row (prepend "07"):
    06 03 item
    05 item
    07 00 item 
    99 item
    The renamed item "07 00 item" sorted itself properly, but the one that failed in step 2, "06 03 item", is still in the wrong place.


This bug doesn't seem to affect moving an item upwards in the list, nor does it affect the first row.
Michael
Top achievements
Rank 1
 asked on 10 Sep 2012
1 answer
304 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
381 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
180 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
117 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
374 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
402 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
116 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
174 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
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
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?