Telerik Forums
UI for WPF Forum
2 answers
217 views
Hi!

We need to make a complex custom shape (please see attached png). It is composed of many different geometries and brushes. Plus, we have to draw it dynamically from code because it should be drawn according to some properties (nb of floors, number of Windows, etc...), so we c'ant use a xaml to describe the shape.

In our current home made diagram control, shapes derive from visualdrawing and we use the drawingcontext in conjunction with GeometryDrawing object.

Now, we are evaluating Telerik diagram control. Would this be possible? How would you achieve this ?

Any infos appreciated, thanks !

David
David
Top achievements
Rank 1
 answered on 18 Jul 2013
3 answers
193 views
Hello,

I have GridView that has a RowDetailsTemplate specified.

I am trying to figure out how to force the row in a GridView into Edit Mode when the user is editing a property that is displayed in the Row Details template of that row.  The GridView properly goes into Edit Mode when I edit a cell in the row, but not when I am in the Row Details.

Any help is appreciated.

Thanks.

James
Dimitrina
Telerik team
 answered on 18 Jul 2013
5 answers
647 views
Is there a way to set the position of the timeline on the gantt to a specific date?

For example, if the VisibleRange is set to:
this.VisibleRange = new DateRange(this.today.AddYears(-1), this.today.AddYears(1));

On a button click, I want to be able to position the timeline to DateTime.Today.

Anyone have any suggestions?
Ventzi
Telerik team
 answered on 18 Jul 2013
1 answer
99 views
Hi,
     
    I am using rad cartesian chart. In these, i am able to create charts and everything. However, I want to apply two colors for the same series i.e. some part of series is red and some part is blue like that. I am able to accomplish this with Bar series by creating different DataTemplates.
   I need same functionality for the line series, Area Series etc. Could you please help me regarding this issue.
Than You in Advance. 
Evgenia
Telerik team
 answered on 18 Jul 2013
1 answer
140 views
Hi,
    We are using RadBarCode in RadTabStrip. The bar code gets displayed in the Tab 1 but not in the Tab 2 in IE8. I herewith attached the code block.
<div>
       <telerik:RadTabStrip runat="server" ID="rtsPlantDescription" Orientation="HorizontalTop"
           Skin="Transparent" SelectedIndex="0" MultiPageID="rmpPlantDescription">
           <Tabs>
               <telerik:RadTab Text="Tab 1">
               </telerik:RadTab>
               <telerik:RadTab Text="Tab 2">
               </telerik:RadTab>
           </Tabs>
       </telerik:RadTabStrip>
   </div>
   <telerik:RadMultiPage runat="server" ID="rmpPlantDescription" SelectedIndex="0" Width="100%">
       <telerik:RadPageView runat="server" ID="rpvGeneralView">
           <telerik:RadBarcode runat="server" ID="RadBarcode1" Type="Code128" ShortLinesLengthPercentage="90"
               Text="TAG-123458" ShowText="true" Font-Size="16" OutputType="SVG_VML" ShowChecksum="true"
               RenderChecksum="true" >
           </telerik:RadBarcode>
       </telerik:RadPageView>
       <telerik:RadPageView runat="server" ID="rpvIdentificationView">
           <div>
               <telerik:RadBarcode runat="server" ID="rbcBarCode" Type="Code128" ShortLinesLengthPercentage="90"
                   Text="TAG-123458" ShowText="true" Font-Size="16" OutputType="SVG_VML" ShowChecksum="true"
                   RenderChecksum="true" >
               </telerik:RadBarcode>
           </div>
       </telerik:RadPageView>
   </telerik:RadMultiPage>

note: Works fine with Chrome
Yavor
Telerik team
 answered on 18 Jul 2013
0 answers
104 views
Thanks!
Mike
Top achievements
Rank 1
 asked on 17 Jul 2013
1 answer
133 views
Hello,

I'm attempting to update a property of an object in a collection that is being shown by RadGridView. The update is being done by a background (non-UI) thread. Normally, this isn't a problem - the WPF binding takes care of shifting to the UI thread to update the control.

However, RadGridView does not seem to follow this pattern.

I've created an example project to illustrate. Currently, the RadGridView is commented out, and a DataGrid is showing the collection. If we click the button that updates the source objects property on a background thread, then it works fine.

If we uncomment the RadGridView line (so we now have a datagrid and a radgridview showing the same collection), then updating the object property causes a "The calling thread cannot access this object because a different thread owns it" exception.

Is it possible to get RadGridView to behave in the same way as DataGrid in this case?

Thanks,
James.

[EDIT - I've realised I should submit a support ticket so I can attach the project, sorry]

James
Top achievements
Rank 1
 answered on 17 Jul 2013
1 answer
114 views
I am trying to do MVVM with the diagram framework. I modified the MVVM example in the Telerik\xaml-sdk on github.

I am getting a crash when doing the following.  I create connector between a shape inside a
container with shape outside the container. Then I drag the shape outside the container into the container.

Then I immediately get this exception with this error message:
{"Unable to cast object of type 'Telerik.Windows.Controls.RadDiagramConnection' to type 'Telerik.Windows.Controls.Diagrams.Extensions.ViewModels.NodeViewModelBase'."} 


Is this a known bug?  Is there a way to do MVVM with diagram when having connectors and containers?
Tina Stancheva
Telerik team
 answered on 17 Jul 2013
12 answers
1.4K+ views
Hi,

I am using my own custom printpreview in which I show basically a Telerik.Windows.Documents.Model.Table.

The table itself stretches to fit the page, but all columns have equal width, but I would like them to fit their content.

I can only assign  a PreferredWidth to a distinct TableCell.

Is there a possibility to have the Columns adjust their width to their content?
F Beto
Top achievements
Rank 1
 answered on 17 Jul 2013
6 answers
222 views
Hello. I have implemented a feature into my program where I can export the grid view to excel 2010, but only the parent items are exported, and not the child items. Is it possible to export both the parent and children items to excel in a hierarchy-like structure?

Thank you.
Dimitrina
Telerik team
 answered on 17 Jul 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
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
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
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?