Telerik Forums
UI for WPF Forum
1 answer
149 views
Hi
We are forming a scheduleView and defining all appointments as readonly.
we have written the following code to do so:

 

 

//setting the scheduleView as readonly

 

 

 

Slot readOnlyslot = new Slot() { IsReadOnly = true };

 

readOnlyslot.Resources.Add(

 

new Resource("readOnly"));

 

 

 

ObservableCollection<Slot> _readOnlySlots = new ObservableCollection<Slot>();

 

_readOnlySlots.Add(readOnlyslot);

RadTimeLineView.SpecialSlotsSource = _readOnlySlots;


this worked great untill we changed the dll`s from version 2011.2.712.40
to version 2011.2.920.40
from some reason the readonly behavior is not affective on the new version
(when we restored the old dll`s, the behavior was back again).
Any ideas how to solve this for we still want to use the latest Telerik version
Thanks
Yana
Telerik team
 answered on 17 Nov 2011
3 answers
99 views
I've got a bar chart in which some of the bars are very short, so short I can't click on them, how are you guys handling this issue?
Nikolay
Telerik team
 answered on 17 Nov 2011
0 answers
197 views
Hi,
I have added a sort descriptor as follows:
<!-- define initial sorting by name-->
            <telerik:RadGridView.SortDescriptors>
                <telerik:SortDescriptor Member="Name"
                                        SortDirection="Ascending"/>
            </telerik:RadGridView.SortDescriptors>

Now when i open the grid view name column has ascending arrow showing that the grid is programattically set to sort the records ascending, but when i add records to this grid records are added with their names in descending manner. If i change the sort direction to descending in above code then records are sorted in ascending manner. Why records are sorted in opposite direction?
Pankaj
Top achievements
Rank 1
 asked on 17 Nov 2011
3 answers
447 views
Hello,

I'd like to load ans save a rtf file from my sql server database....
When I was in Winforms, I had the "rtf" members from the RichTextBox that was helpful.
How could I achieve this with the RadRichTextBox ?

Best Regards
Xavier
Iva Toteva
Telerik team
 answered on 16 Nov 2011
1 answer
113 views
What I'm looking for is a way to have different step sizes for each thumb of my range slider. These are basically my needs:

Thumb0 can have values on the interval [0, (Maximum - MinimumRangeSpan)] w/ stepsize1
Thumb1 can have values on the interval [SelectionStart, Maximum] w/ stepsize2

Is there an easy way to accomplish this (if at all)?
Tina Stancheva
Telerik team
 answered on 16 Nov 2011
3 answers
191 views
I have a hierarchical chart bound to a tree of CAD assemblies. The hierarchical bar chart is working great for as many levels of assembly as I want. The problem is, when you dig down to the last leaf in any branch of the tree, the last leaf has no children, so the chart says "no data". What I'd like to do instead is show a different chart bound to the leaf instead.

Is it clear what I want to do?

does anyone have some tips on how to do this?

Eric
Ves
Telerik team
 answered on 16 Nov 2011
2 answers
110 views
If I create new class inherits from RadPropertyGrid
public class ExPropertyGrid : RadPropertyGrid    {    }
and in xaml
<RadPropertyGridTest:ExPropertyGrid x:Name="testPropertyGrid" />
then I see nothing in the window.
Paul
Top achievements
Rank 1
 answered on 16 Nov 2011
1 answer
186 views
Hi,

I want to change the backgroundcolor for the labels in my lineseries to transparent. I already tried to set the background in
telerik:LineSeriesDefinition:SeriesItemLabelStyle
but without success.

Can you please tell me how to solve this?
Sia
Telerik team
 answered on 16 Nov 2011
2 answers
152 views
Hi,

I'm trying to implement group headers and I have a class (TestClass) that implements IAppointment but there seems to be a problem when adding to the Resources property. The Resources.Count is always 0, even after adding to the resources. If I inherit from Appointment it works, but in my case I need to use IAppointment because the class already has another base class. Is there something I'm missing here to get it working?

Thanks!

Some sample code:

public class TestClass : IAppointment
{
//IAppointment implementation...
}

Appointments = new List<TestClass>();

var one = new TestClass
{
Subject = "Appointment 01",
        Start = DateTime.Now,
        End = DateTime.Now.AddHours(1)
};

one.Resources.Add(new Resource { ResourceName = "Test" }); //Resources.Count remains 0?
Appointments.Add(one);
Geoffrey
Top achievements
Rank 1
 answered on 16 Nov 2011
1 answer
163 views
I'm using the GridView and also themes.
How could I get the used highlight-color which is used for the selected row in codebehind?

Somethin like this:
var color = MyGrid.HighlightColor;
Ivan Ivanov
Telerik team
 answered on 16 Nov 2011
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?