Telerik Forums
UI for WPF Forum
4 answers
228 views
Hi,

I need to apply telerik gidview column header's default style to the row header also. I need to assign this dynamically through coding.

I have attached the sample image also.

How can i acheive it.

Thanks,
Subash
Subash
Top achievements
Rank 1
 answered on 18 Feb 2013
2 answers
118 views
Hi,
I have an AutoCompleteBox control as part of the insert template for RadDataForm. My AutoCompleteBox SelectedItem is bound to a navigation property (EF 5 Model/WCF Data Services).The  AutoCompleteBox works fine in ReadOnly and Edit mode, but once I insert a new record, all my controls would bind properly except the AutoCompleteBox. I know that this due to the fact that the record navigation property needs to be loaded through DataServiceContext.LoadProperty, but i do not know the event handler in which to call this method.I tried calling this method in the RadDataForm CurrentItemChanged, but that did not help .My understanding is that the form will switch to ReadOnly mode after inserting a record.


Regards,

Madani


HCT-CERT
Top achievements
Rank 1
 answered on 17 Feb 2013
1 answer
101 views
Hi,

I'm trying to get the style of a spanbox by code and apply it to another spanbox. I'm confused on how to get the job done. Can I get a sample on how to do it?

Thanks a lot,

Pat
Patrick
Top achievements
Rank 2
 answered on 15 Feb 2013
3 answers
191 views
XAML:
ShapeSerialized="diagram_ShapeSerialized"

Code-behind:
private void diagram_ShapeSerialized(object sender, ShapeSerializationRoutedEventArgs e)
{
    // Event not working?!
    System.Diagnostics.Debugger.Break();
}

My ShapeSerialized handler is never called! What could be wrong? Note that I do have a custom shape, derived from RadDiagramShape.

Update
Please note that I have overridden the serialization methods of my shape. Makes no difference...

public override Telerik.Windows.Diagrams.Core.SerializationInfo Serialize()
{
    var info = base.Serialize();

    info["IsResizingEnabled"] = IsResizingEnabled;
    info["IsRotationEnabled"] = IsRotationEnabled;
    info["ZIndex"] = ZIndex;

    return info;
}

public override void Deserialize(Telerik.Windows.Diagrams.Core.SerializationInfo info)
{
    base.Deserialize(info);

    IsResizingEnabled = Convert.ToBoolean(info["IsResizingEnabled"]);
    IsRotationEnabled = Convert.ToBoolean(info["IsRotationEnabled"]);
    ZIndex = Convert.ToInt32(info["ZIndex"]);
}

Pavel R. Pavlov
Telerik team
 answered on 15 Feb 2013
2 answers
78 views
Good morning,
I am porting a client application from win forms to wpf, in the old application I used Microsoft Data Visualization suite for graphs, in the new one I am using your Telerik ChartView package.
I ask for advice for representing this king of graph:
http://postimage.org/image/iymas3axn/
You can think that as a big box seen from the top view filled with smaller parallelepipeds (the stocks). On the x axis I represent the box length, on the y axis I represent the box width, the stocks position coordinates, length and width are scaled with real world dimensions.
In old application I solved the problem using annotations, with Data Visualization package it was possible to create Rectangular Annotation with its position and dimensions referred to graph axes, so for example, it was possible to draw a rectangle in 3 meters as X position, 5 meters as Y position, 6 meters long and 1 meter wide.

In new application tried with ChartView to customize the scatter point series, but I had two problems:
1) I have to set my rectangles dimensions in pixels, not in graph axes dimensions as I wished
2) Every rectangle ends to have the same dimensions

Then I read documentation about annotations, the CartesianPlotBandAnnotation seems encouraging (if you see again my image you'll see that I used some kind of those to draw the blue stripes that divide my box within zones), because their dimensions can be bound to axes. But the CartesianCustomAnnotation (that I want to use to draw my rectangles) is again a letdown, because its dimension are in pixels.

There is some kind of annotation, series...that I can use, or adapt, to fulfill my goal ?
Thank you very much for your attention, best regards,
  Paolo Spagnolo
Paolo
Top achievements
Rank 1
 answered on 15 Feb 2013
1 answer
146 views
Do we have some example for applying radTransitionControl to the radWindow and radDock?

During the radWindow open and close used a dialog box, we would like to apply some animation effect?

While we adding/switching the radPane of the radPaneGroup of radDock, we also would like to have some animation effect?


Thanks
Yana
Telerik team
 answered on 15 Feb 2013
1 answer
143 views
I have an issue where i have a custom control inside rad pane. If the rad pane is hidden and when it is set to true/visible. All the controls are reloaded and the apply template is called again. where it try's to apply template again and that i guess creates multiple instances and when a property of the control within the radpane changes The PropertyChangedCallback is called multiple times. 

What happens is the pane refreshes its datacontext when its isHidden Property is changed. 

I can explain it in sample code if needed. but its just a control inside a RadPane. 

Yana
Telerik team
 answered on 15 Feb 2013
1 answer
241 views
Hi
I am trying to use a single propertygrid that will be bound to an object that changes its type depending on user input.

This works fine when AutoGeneratePropertyDefinitions="true". However, I want to define my own property definitions depending on the type.

How do you recommend I do this?

Thanks
Craig
Radiation
Top achievements
Rank 1
 answered on 15 Feb 2013
1 answer
128 views
Considering purchasing the WPF controls.  Looking at using the Diagram control to 'diagram' our companies data work flow which will include having probably 200-500 shapes with connectors, etc.  As well as probably adding listboxes to the shapes, etc. I would also probably group many of the shapes in container controls. Has anyone done anything similiarly to this.  Concerned if the control can handle this kind of volume
Miro Miroslavov
Telerik team
 answered on 15 Feb 2013
1 answer
84 views
OK, I realize that the subject line of this thread is pretty wide. I'll try to narrow it down.

We're working on a LOB app that will use WPF. We have a WCF service which returns a list of results from a search, initiated by the user. The results include things like client first and last name, and the client ID. Right now we have the results displayed in a listbox, for each record. The issue is that a client may have multiple records in the database. Now we're displaying each record, but that seems wasteful, or at least very 1990's VB6 type of code. Instead we want to use a control which allows for some expandable regions. Naturally, the first thing that came to my mind was the out-of-the-box WPF Expander control. I've used it before, but more or less like a tab control. In this case what we want to do is show the client's first & last names, and client ID, but then in the collapsible regions data from each of the separate records related to that client. (As you can imagine, we have several clients with the same first and last names, so client ID is the only thing that differentiates between them.)

So the first thing I did was perform a web search and I came across a blog post by Karl Shifflet on ListBox grouping. I've been working my way through this, and I'm sure it will work. But we have the full suite of Telerik controls for WPF, Silverlight, ASP.NET, etc, and so I thought I'd ask on this forum, is there a Telerik control which we could use, which will speed development? I took a quick look at the Telerik Expander control, but want to know if there's another one I should consider instead? And it would be great to see some code examples, too, please.
Rossen Hristov
Telerik team
 answered on 15 Feb 2013
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?