Telerik Forums
UI for WinForms Forum
6 answers
776 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
411 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.2K+ 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
179 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
115 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
317 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
259 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
107 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
5 answers
389 views
I have a RadGridView(Telerik) that contains data. I don't want to see  / want to see some columns in Excell or PDF but I can't hide column for Exporting. How can I do this ? Also, When exporting checkbox columns it is seen true/false in PDF but I want to see this different for Example 'Yes' 'No'. 
Stefan
Telerik team
 answered on 10 May 2014
1 answer
345 views
When i try to change Row color after checkbox checked my Row color changed only after i chaned another Row checkbox for example if i checked Row the color not changed and only after checked another Row the first Row color changed and same thing when unchecked.
Please see my code:

private void radGridView1_RowFormatting(object sender, RowFormattingEventArgs e)
{
     if ((bool)e.RowElement.RowInfo.Cells["Select"].Value == true)
     {
     e.RowElement.DrawFill = true;
     e.RowElement.GradientStyle = GradientStyles.Solid;
     e.RowElement.BackColor = Color.SkyBlue;
     }
     else
     {
     e.RowElement.ResetValue(LightVisualElement.BackColorProperty, ValueResetFlags.Local);
     e.RowElement.ResetValue(LightVisualElement.GradientStyleProperty, ValueResetFlags.Local);
     e.RowElement.ResetValue(LightVisualElement.DrawFillProperty, ValueResetFlags.Local);
     }
}
Stefan
Telerik team
 answered on 10 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
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?