Telerik Forums
UI for WinForms Forum
1 answer
293 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
67 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
733 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
376 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.0K+ 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
146 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
96 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
245 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
5 answers
208 views
Is there any way to save the state of the DockPanels without saving the state of all the open DocumentPanes.
Basically I want to record the state of all the toolwindows, not the documents.
George
Telerik team
 answered on 13 May 2014
1 answer
77 views
Hello
In my solution, i added a scheduler, with no binding datasource. I am loading data to the scheduler from a database table named "Remndr_table".
First,
When i am loading appointments from the database, the past appointments does not pop-up, even if i set the dismissed = false and the startreminderinterval before

Second,
How can i add new record  to "remindr_table" when the user add a new appointment to the scheduler, and how to delete the record it if the user delete the appointment.
I don't want to bind the data...

Third
I made a customappointmenteditform, and i follow the demo steps "Adding a custom field to the EditAppointment dialog"
Everything goes fine.
Only one thing, i am not able to open from the reminder window,  the appointment in my customappointmenteditform.
How can i do that.
i have the following, and it opens the normal editappointmentform
Private Sub radReminder1_ItemOpened(ByVal sender As Object, ByVal e As RadOpenItemArgs)
       Dim editAppointmentDialog As New EditAppointmentDialog(CType(e.RemindObject, IEvent), sche)
       editAppointmentDialog .showdialog 
end sub







Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 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)
Chart (obsolete as of Q1 2013)
Form
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
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
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
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?