Telerik Forums
UI for WPF Forum
3 answers
171 views

Hi,
Is it possible to set some levels in the ganttview grid to readonly?
If we take the sample "Import from MS Project" as an example and says that we want OutlineLevel 1,2,3 to be readonly and OutlineLevel 4 as editabled. How do i do that?

Only thing that i have tested so far is to have a  boolean property in my custom tasks class  and then try to bind it to the control for the specific level:

<telerik:ColumnDefinition MemberBinding="{Binding End_str}" Header="End" ColumnWidth="80">
                    <telerik:ColumnDefinition.CellEditTemplate>
                        <DataTemplate>
                            <telerik:RadDatePicker 
                                 SelectedValue="{Binding End,Mode=TwoWay}"
                                 IsReadOnly="{Binding isLevelReadOnly}"  />
                        </DataTemplate>
                    </telerik:ColumnDefinition.CellEditTemplate>
</telerik:ColumnDefinition>
Nasko
Telerik team
 answered on 07 Sep 2015
1 answer
379 views

Hi everyone,

I am having troubles with the memory. I am developing a usercontrol in WPF to put it in a WinCC (Siemens) application. WinCC accepts WPF controls to be putted in its forms.

When I load my control in one of its pictures (they call pictures to any of its instances) my control gets load correctly. But when I go to another pic and come back to the pic of my control, it isn't load correctly the telerik controls.

I have tried to put every telerik control equal null, and remove them from their parents. it isn't work:

gridGanttView.Children.Remove(ganttView);
ganttView = null;
gridChart.Children.Remove(radCartesianChart);
radCartesianChart = null;
System.GC.Collect();
//System.GC.WaitForFullGCComplete(); (Any of this two works)
System.GC.WaitForPendingFinalizers();

I have seen there are people having the same problem like here: LINK

Any Solution? How can I step by step delete every control inside of RadGanttView and RadCartesianChart (or another ones)??

 Thanks.

Polya
Telerik team
 answered on 07 Sep 2015
7 answers
394 views
Hi, I'm not sure if this is possible but here is my scenario:

I'm using the StackedBar series and they work fine, but sometimes I will need to compare similar data and would need two series per datapoint on the X axis for this, and I have to do this in codebehind. In other words like a normal chart with multiple dataseries but with stacked bar chart.

Are there any examples for this ?

Best regards
Kristján.

Bhavya
Top achievements
Rank 1
 answered on 07 Sep 2015
2 answers
110 views
I try to export diagram to Html. But connection caption is hidden in .html file. How can i add connection caption into .html?
Mihail
Top achievements
Rank 1
 answered on 07 Sep 2015
1 answer
153 views

The calculation is right, but the dealing with minus is not applicable and not logical.

For instance it's accepting this as following images.

 ​

Peshito
Telerik team
 answered on 07 Sep 2015
1 answer
71 views

hi,

is there a sampe with Prism. I tried to make a Prism Region within the RadTileList Ctrl and in separate Module i created a View with 

Grid

     Tile1

     Tile2

 etc...

It works that they are loaded into the RadTileList Ctrl ( in the Region i defined) but all of them in the same visual place overlapping ?

thnx br

 

 

 

Maya
Telerik team
 answered on 07 Sep 2015
1 answer
175 views

In the XAML-File the DataSorce created. Data displayed in in a DataGridView and DataForm.

<telerik:RadEntityFrameworkDataSource Name="ProductsEntityFrameworkDataSource" QueryName="Products">
<telerik:RadEntityFrameworkDataSource.DbContext>
<local:AdventureWorksEntities />
</telerik:RadEntityFrameworkDataSource.DbContext>
</telerik:RadEntityFrameworkDataSource>

How can I save the changes?

 

Harald
Top achievements
Rank 2
 answered on 06 Sep 2015
1 answer
77 views

My customer is using scanners which use returns.

When adding a new row I would like the enter key to act the same as the tab key (navigating the cells) until the last cell focus is lost (submit then).

I suspect I can do this with the keyboard command provider.

Can someone provide an example for such.

When the grid is not in edit mode I want the return key to do nothing.

Any help would be appreciated

Thanks

dco

 

Martin
Telerik team
 answered on 04 Sep 2015
1 answer
91 views

When copying a Unicode strings from GridView to an excel spreadsheet, I get less records.

I think problem in HTML representation. It seems that you take for EndHTML and EndFragment number of characters, but should be the number of bytes. 

https://msdn.microsoft.com/en-us/library/windows/desktop/ms649015(v=vs.85).aspx

 

Dimitrina
Telerik team
 answered on 04 Sep 2015
1 answer
53 views

I have a 'placeholder' appointment that we place on the scheduleview via code upon loading the calendar.  We let the user drag the appointment to the correct date/time and would then like to show the Edit Appointment dialog for this 'new' appointment. 

The post here (http://www.telerik.com/forums/drag-and-drop-and-schedulerdialog) says this will be integrated in a later version in 2011.  How do we go about doing this from within the CustomDragDropBehavior?

Also the 'placeholder' appointment is NOT in the 'ScheduleViewRepository.Context' as I have excluded the placeholders from the 'NotifyCollectionChangedAction.Add' so it doesn't add all of them that are not dragged and created as actual appointments.  So can I add it add some point in the SqlAppointment class endedit somehow?

Thanks much!

Rosi
Telerik team
 answered on 04 Sep 2015
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
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
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
Rating
SplashScreen
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
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?