Telerik Forums
UI for WinForms Forum
1 answer
118 views
Hi

I've extended from RadMenuItem. But while rendering the style is missed. I had the same problem for my customized RadTreeView, Which was solved this way:

  public class KSTree : RadTreeView
    {
        public KSTree()
        {
            this.FullRowSelect = false;
            this.ShowLines = true;
            this.LineStyle = TreeLineStyle.Solid;
        }

        public override string ThemeClassName
        {
            get
            {
                return typeof(RadTreeView).FullName;
            }
        }
  }

But there is no similar property to override for RadMenuItem. Is there any solution?

Thanks.


Saeed
Top achievements
Rank 1
 answered on 18 May 2014
2 answers
245 views
I'd appreciate if you can help. I've seen this example but i want in different way.
and also i want to apply the TreeView MultiSelect properties.
Saif
Top achievements
Rank 2
 answered on 17 May 2014
1 answer
305 views
Hello,

how can i change the Backcolor at SpecialDays?
I read a xml file and create specialdays about this information automatically.
When i create the specialdays with the following code, then i can not see the Day-Number.

public void date_eintrag(string tick_imput, string text, int color)
         {            
             long tick = Convert.ToInt64(tick_imput);
             DateTime time = new DateTime(tick);
             Telerik.WinControls.UI.RadCalendarDay day = new Telerik.WinControls.UI.RadCalendarDay();
             Telerik.WinControls.RadHostItem item = new Telerik.WinControls.RadHostItem(new System.Windows.Forms.Control());
             item.BackColor = Color.Transparent;
             item.ForeColor = Color.Black;
             item.Text = time.Day.ToString();
             day.Date = time;
             day.TemplateItem = item;
             radCalendar1.SpecialDays.Add(day);
         }



How is the right way for this function?



Thanks in advance,


Ronny Gleicke
Stefan
Telerik team
 answered on 16 May 2014
1 answer
74 views
Hi Telerik Team,

I tried to switch the expandImage of the radPropertyGrid for several hours now. Hopefully you can help me to switch the Image ( see attachment -> red box ). In addition to this... how do I switch the backcolor of the sourrounding bars ( see attachment -> yellow boxes ).

I'm setting the content of the radPropertyGrid during runtime using the SelectedObject Property.

Thank you in advance :)
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 May 2014
6 answers
743 views
Hello,

How can i disable, change font to red a specific day in DateTimePicker? For example, day 1, 3, 6, for the month of May.
Daniel
Top achievements
Rank 2
 answered on 15 May 2014
1 answer
386 views
Is there an easy way to save and load a layout directly from a database field, i.e. an Oracle clob field assigned to a string field, without having to save it to disk. I could also use a blob field and an array, but since it's just a xml file a clob would be better.

Later
Art
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 May 2014
11 answers
1.1K+ views
I'm loading data into a GridView and then programatically applying a multi-column sort.  I'd like to place the user on the first row of the sorted results when the grid opens.  The code:

this.gridChanges.Rows[0].IsSelected = true;

Seems to place the user at the first row of the unsorted data.  How you I place them at the first row of the sorted data?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 May 2014
2 answers
157 views
I have ListControl with items and although i try all the combination with AutoSizeItems and FitItemsToSize i still cannot see Horizontal scroll bar 
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 May 2014
1 answer
105 views
hi telerik expert,

      i want to bind data in raddatagridview combox based on my condition. how i can do this ... 
Stefan
Telerik team
 answered on 14 May 2014
1 answer
269 views
Just recently, last two weeks, I have been getting a design time error in a winforms project  I am working on.

The error in a Visual Studio dialog:
Code generation for property 'PrintCellPaint' failed. Error was: 'Object does not match type.'

It appeared to occur only when I have a radgridview on a radPageView page and when I select a different page then save the form.

if the radGridView is databound the error changes to:
Code generation for property 'PropertyChanging' failed. Error was: 'Object does not match type.'

To test I tried this on a fresh winfoms project. VB or C#.

Added a radPageView with two pages.
Added a radGridView to one of the pages saved and opened the form. Select the other page and try to save the form. I get the above error.

Remove the RadGridView from the pageview and put it anywhere else on the form. No error.
Modifying any other control, resize a button, before saving: no error.
I also get the same error if I use a radDock instead of a radPageView.

I have tried this on two different machines, one with windows 8.1 and the other with windows 7. Both have VS 2013 profesional with update 1 and the Telerik winforms controls v.2014,1,402,40

All references to assemblies seem ok.
I have tried a repair on the winforms controls via the Telerik control panel, a repair of Vs2013 and a repair of Vs2013 update 1. All to no avail.

Any insights welcome, or any advise on how to diagnose the error further.
George
Telerik team
 answered on 14 May 2014
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Form
Chart (obsolete as of Q1 2013)
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
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
Bronze
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?