Telerik Forums
UI for WinForms Forum
1 answer
195 views
I have a command column in a gridview.  I am trying to style the button using either the RowFormatting event or the CellFormatting event.  I found some code in one of the posts on how to modify the children and have adapted it to try to get the button styled properly. 

I originally used the CellFormatting event, then I tried the RowFormatting event but both shared the same problem. For some reason, the size of the button is not properly set when the grid renders.  If I click the button, expand another row, or do something to invalidate the button layout, it jumps to the correct size.  I have tried all kinds of things to fix this and explicitly set the button size.

I posted an image that depicts my problem as well:
http://www.thinkconvergence.com/telerik_issue.jpg


Here is a sample of my code from the CellFormatting event:

RadButtonElement button = e.CellElement.Children[0] as RadButtonElement;
if (button != null)
{
button.ForeColor = Color.White;

BorderPrimitive border = ((BorderPrimitive)button.GetChildrenByType(typeof(BorderPrimitive))[0]);
border.ForeColor = Color.FromArgb(0, 87, 42);
border.InnerColor = Color.FromArgb(0, 56, 27);
border.GradientStyle = GradientStyles.Solid;

FillPrimitive fill = ((FillPrimitive)button.GetChildrenByType(typeof(FillPrimitive))[0]);
fill.GradientStyle = GradientStyles.Glass;
fill.BackColor = Color.FromArgb(71, 133, 101);
fill.BackColor2 = Color.FromArgb(71, 133, 101);
fill.BackColor3 = Color.FromArgb(0, 92, 44);
fill.BackColor4 = Color.FromArgb(0, 106, 51);

button.AutoSize = false;
button.Size = new Size(64, 24);  //THIS IS WHAT DOESNT SEEM TO WORK CORRECTLY
button.Margin = new Padding(5);
}
Jack
Telerik team
 answered on 24 Jan 2008
5 answers
120 views
Hi,

I have an app with two panels.
The left panel will hold something like a menu.

What I want is to provide a Tooltip for this panel.
It work - but only in the "client area" of the panel.

When I hover the "headline" it does not pop up a tooltip.
Since the panel will be filled with other controls the tooltip will never show up.

To be more precise:
Imagine an explorer like app.
A panel to the right - showing details.
A panel to the left - containing a large treeview.

What I want is that when the user hovers the "headline" a tooltip should be shown telling something like "Select a folder to see the files...".

Is this possible?

Regards

Manfred
ManniAT
Top achievements
Rank 2
 answered on 24 Jan 2008
1 answer
108 views
Hi

I have a line graph with has item labels suppressed. However, when I print the chart, I get the item labels apprearing in the printed copy.

How can I suppress item labels in the printed vresion ?

Thanks

Rick
Vladimir Milev
Telerik team
 answered on 24 Jan 2008
9 answers
327 views

Hi, I'm having problems with Telerik.Charting in a web page using a Prometheus chart. Now you might think this post is in the wrong forum but no.

It seems that the RadControls Q2 2007 SP1 for Winforms installer is installing Telerik.Charting 1.6.1.0 instead of 1.6.2.0. This is causing the error:

Error 1 Indirect reference is being made to assembly Telerik.Charting version 1.6.2.0, which contains 'Telerik.Web.UI.RadChart'. This Project references a prior version of Telerik.Charting version 1.6.1.0. To use 'Telerik.Web.UI.RadChart', you must replace the reference to Telerik.Charting with version 1.6.2.0 or higher. C:\Websites\CheckWeb_NEW\Default.aspx 1 1 C:\Websites\CheckWeb_NEW\


 

when I try to use a Prometheus chart in my web application.

Replacing this dll and XML in C:\Program Files\Telerik\RadControls for WinForms Q2 2007\bin and also in C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies with 1.6.2.0 seems to solve this issues but the old dll (1.6.1.0) is still present in the GAC.

Perhaps the Winforms installer should be updated?

Regards,
Jonathan

CodeR
Top achievements
Rank 2
 answered on 23 Jan 2008
2 answers
210 views

Hi,

I Hope all Telerik team member would be fine.

I am working with Docking Manager and faced an issue that on floating docking Panel I am unable to disable context Menu on the Caption. Then I found a thread regarding this issue i.e. http://www.telerik.com/community/forums/thread/b311D-htaac.aspx, and now I hope as Q3 is release there would be some how that I want change it  and can hide it. Please do guide in this matter.

 P.S. It cause major problems for me if the use 'Hides' or change it into 'Tab Document' specailly.

Regards,

Haroon.

Julian Benkov
Telerik team
 answered on 23 Jan 2008
1 answer
76 views
Hi,

I have upgraded to Q3 2007 recently. after that, my radPanelBar is not showing the image on each Group. It worked fine with Q2 so I don't know how to solve it.

I'm creating each group at runtime, selecting the imageindex from the imagelist linked in design time. I have tried to create a new imagelist but is not working either. My radPanelBar style is listbar, but I have tried also changing the style with no success.

What can I do to solve it?

Thanks & regards,

Julio
Boyko Markov
Telerik team
 answered on 23 Jan 2008
4 answers
128 views
Hi,

I'm using the DockingManager in conjunction with a mdi parent form and I was wondering if when the tab is created for the mdichild, if also the ico image could be displayed alongside the title?

Thanks for your help,
Michael

P.S. sorry for bombarding your forums with all of my questions.
Julian Benkov
Telerik team
 answered on 22 Jan 2008
3 answers
63 views

Hi

I am using a RadDockingManager and just faced an issue

That’s is like if I drags a docking panel (say RadPanel1) into the other docking panel (say RadPanel2)  at run time then RadPanel1 acquires the properties of RadPanel2. For example the major problem in this is that I have RadPanel1’s docking position as “bottom” while the docking position property of RadPanel2 is “Left” and now if the user drags the RadPanel1 widows and place it at the bottom of RadPanel2 then on auto hiding mode the panel collapsed towards left and but what I want is that the RadPanel1 should continue collapsing down (even if it is place inside RadPanel2). Can u please help me in this issue?

P.S. I even tried to change the property of RadPanel1.DockPosition to bottom after been place in RadPanel2. which don’t works even.

Regards,
Haroon.

Julian Benkov
Telerik team
 answered on 22 Jan 2008
8 answers
204 views
Hi,

Is there any way for the items in the start menu's right column to be updated/changed upon focus of a RadItem in the left column?  I'm trying to acheive the same effect as in Office, but I'm not sure if this is possible/how to do it.

Thanks very much,

UIdev
Angel
Telerik team
 answered on 22 Jan 2008
1 answer
134 views
We are using a handful of the winforms controls for a customer application.  We want to skin the entire app but are finding the theme-builder extremely difficult and time consuming.  We are looking for someone who is good at styling the tree, grid, tab strip and maybe others to create us custom themes based on our photoshop mock-up.  Is there anyone out there interested?  Does telerik ever do that sort of thing or can we find a 3rd party company/individual?  How much would it be worth to you?  Let me know if you are interested.  Thanks for your time.

Vassil Petev
Telerik team
 answered on 22 Jan 2008
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
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?