Telerik Forums
UI for WinForms Forum
1 answer
125 views
I was just curious if there was a day changed event (or something similar).
I am loading my scheduler up within the code, but I was only wanting to load the data for the selected day. 

So I figured I would load the data when the user switched days on the scheduler. Am I able to do this?
Dobry Zranchev
Telerik team
 answered on 10 May 2010
3 answers
395 views
Hi,

private void radGridView1_CellFormatting(object sender, CellFormattingEventArgs e) 
        { 
            if (sender is GridCheckBoxCellElement) 
            { 
                if ((bool)((GridCheckBoxCellElement)e.CellElement).Value == true
                { 
                    e.CellElement.RowElement.ForeColor = Color.Red; 
                } 
                 
 
            } 
        } 

But the "Value" parameter is System.dBNull. ¿why? .

Thanks,



Svett
Telerik team
 answered on 10 May 2010
7 answers
234 views
Hello, I would like to target the .NET 3.5 Client Profile for my solution using Telerik RadControls for WinForms.   But when I build my project containing a few of the controls such as RadTabStrip, I get these kind of warnings:

C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning MSB3253: The referenced assembly "Telerik.WinControls, Version=6.1.0.0, Culture=neutralPublicKeyToken=5bb2a467cbec794e" has a dependency on "System.Drawing.Design, Version=2.0.0.0, Culture=neutralPublicKeyToken=b03f5f7f11d50a3a" which is not listed as part of the "Client" TargetFrameworkSubset. If this dependent reference is required, you may get compilation errors. 
 
C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning MSB3253: The referenced assembly "Telerik.WinControls.UI, Version=6.1.0.0, Culture=neutralPublicKeyToken=5bb2a467cbec794e" has a dependency on "System.Drawing.Design, Version=2.0.0.0, Culture=neutralPublicKeyToken=b03f5f7f11d50a3a" which is not listed as part of the "Client" TargetFrameworkSubset. If this dependent reference is required, you may get compilation errors. 
 
C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning MSB3253: The referenced assembly "Telerik.WinControls.Themes.Aqua, Version=6.1.0.0, Culture=neutralPublicKeyToken=5bb2a467cbec794e" has a dependency on "System.Drawing.Design, Version=2.0.0.0, Culture=neutralPublicKeyToken=b03f5f7f11d50a3a" which is not listed as part of the "Client" TargetFrameworkSubset. If this dependent reference is required, you may get compilation errors. 
 

Are you planning on supporting the .NET 3.5 client profile?

Thanks,
David
Vassil Petev
Telerik team
 answered on 10 May 2010
5 answers
1.1K+ views
Hi,

I notice the documentation for the Wrap Layout class, but cannot find a way of applying a Layout specifically to a RadPanel - I must be having a bad day, because its clearly what its there to do. I want to replace my standard WinForms FlowLayoutPanel with the visual goodness of a Rad control, and think this would be the best approach.

Has anyone managed to do it, or have another possible approach ?

Thanks
Phillip H

shinu rag
Top achievements
Rank 1
 answered on 06 May 2010
1 answer
115 views
Hello
How can i user Visual Style Builder to change couple of things of the buttons
for example i would like to change the "Radio Button's Font Type" in the Aqua Theme????

How can i change that using Visual Style Builder also where can i find the styles files in my application???

please explain in details everything how the stage of "Open this file" to how to save it and where please


thanks so much
 
Deyan
Telerik team
 answered on 06 May 2010
4 answers
180 views
I have a chart which plots quite a few data point, as high as 300 on 3 series which comes from an array. I have the EXACT look that I want and populate it with;

                radChart1.DataSource = Glb.dataArray;

                radChart1.DataBind();



This works fine except all the formatting I setup is gone. I now have 900 labels which I had turned off. The line color changes to a look which doesn't match the rest of the window. Is there a way to just change the data without the rest of the chart getting changed to formatting which I don't want?

Thanks,

Joe B
Ves
Telerik team
 answered on 06 May 2010
5 answers
136 views
Hello,

I am trying to learn to use the new visual style builder and I have found one thing to be particularly annoying. In the documentation, you say that the Visual Style Builder:

"... is initially loaded with no styles applied to the controls, i.e. you can start styling a component from scratch."

However, it seems that the Visual Style Builder is loading with some sort of OfficeBlack theme or something. I would much prefer to start designing from the 'ControlDefault' theme, or whatever I see in my designer when I load Telerik Controls without themes. Is there some way to do this, or do I have to start from the Black theme?

Thanks!
Jeremy

Deyan
Telerik team
 answered on 06 May 2010
2 answers
234 views
Does anyone know how to float a new instance of a Telerik.WinControls.UI.RadForm form programmatically? 

WABOM form = new WABOM(); //a new instance of a Telerik.WinControls.UI.RadForm form.
form.MdiParent = this;
form.Show();

This open a new tabbed document on my raddock.

I have my raddock set to MdiChildrenDockType = ToolWindow;  I'm kinda at a loss right know.  When running the application a can right click on the tab and select floating which works just fine...


Deyan
Telerik team
 answered on 06 May 2010
1 answer
148 views
Hello, I've notive a strange thing with radTrackBar.

When you put a radTrackBar in a user control (let's say ucA) and set the anchor to Bottom, Left, Right
The radTrackBar will not appear once you drag the usercontrol in a form.
Same behavior if you create a new usercontrol inheriting from the first one (ucA)

hope this will be corrected soon.
Thx in advance
Cyril
Dobry Zranchev
Telerik team
 answered on 06 May 2010
2 answers
120 views
Hi Guys

I have class that inherits RadListBox to implement a menu.

I am loading an image and want to display the text at the left hand side of the item (ListBox cell) and the image at the right hand end.

"i" is a RadListBoxItem:

 i.DisplayStyle = DisplayStyle.ImageAndText;
 i.ImageAlignment = ContentAlignment.MiddleRight;
 i.TextImageRelation = TextImageRelation.TextBeforeImage;
 i.TextAlignment = ContentAlignment.MiddleLeft;
 i.Image = item.Icon;

 Items.Add(i);
 EndInit();

This gives me the image straight after the text. The ImageAlignment property appears to be ignored.

In fact the only property it seems to honor is TextImageRelation

If I pad the text with spaces I can move the graphic across the cell, but this is too imprecise for a generic solution.
I tried experimenting with the AutoSize and AutoSizeMode property to no avail.

What is the best way of achieving this?

Thanks in advance
Mark Ogle
Top achievements
Rank 1
 answered on 06 May 2010
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?