Telerik Forums
UI for WinForms Forum
1 answer
132 views
What's the best way of installing SP2?

I have SP1 installed - should I de-install it first and install SP2 or should I install over SP1?

Do I need to update anything manually, such as the toolbox or global assembly cache?

Thanks for your help.
Dwight
Telerik team
 answered on 11 Jul 2007
2 answers
377 views
I encountered a problem using RadTitleBar with ShapedForm. When docked to the top it coveres window border... makes it look pretty ugly.

So, I found several ways to work around this problem, and as I couldn't find any documentation on how to solve it I thought I'd post what I found for people who encounter the same kind of problem.

Solution #1, simplest
Just make the border to be the same color as your title bar. This is very easy. It works ok, but if the window is on top of another window with similar colors it might be hard to actually see the edges of the window. Here's a sample of what it looks like: http://www.telerik.com/support/kb/article/b454K-ttk-b454T-ckd-b454c-ckd.aspx

Solution #2
simulate border around title bar using padding, background color and Shape

here's a code example:
public partial class Form1 : ShapedForm  
{  
    public Form1()  
    {  
        InitializeComponent();  
 
        RoundRectShape shape = new RoundRectShape( 5 );  
        shape.DeserializeProperties( "5, False, True, False, True" );  
 
        this.Shape = shape;  
 
        int borderSize = 1;  
        RootRadElement titleRoot = this.radTitleBar1.RootElement;  
        titleRoot.Padding = new Padding( borderSize, borderSize, 50, 0 );  
        titleRoot.BackColor = Color.Black;  
 
        RadElement rootChild = titleRoot.Children[0];  
        rootChild.Margin = new Padding( 0, 0, borderSize, 0 );  
        rootChild.Shape = shape;  
    }  

It sets shape for the current form, then shape for the title bar and uses padding to move title bar slightly and sets background color to show the color (black in this case).

Couple of things to note:
  1. Setting right padding on the title root element has no effect (I have 50 and it acts like it's 0). To overcome that I set right padding on the 1st child of the title bar.
  2. I use deserialize properties to set rounder corners only for top left/right corners. I "borrowed" the idea from the QSF source code. It's not documented anywhere it seems.... how many more hidden gems are there in rad framework?
  3. If you want to use status bar... well, don't, it's hard to get it to work.
  4. I tried padding the form instead of the title bar, but it didn't work as well.
  5. Why does this have to be so hard? Why not just create a special ChromeForm class in addition to ShapedForm that would have title bar (or ribbon), with borders, with status bar, all taken care of? It feels too much like I'm hacking, just the way I hack with CSS...

Well, hope this is helpful.

ornus
Top achievements
Rank 1
 answered on 11 Jul 2007
2 answers
142 views
What I'm attempting to do is put the caption text and the image on the right side of the panelbar.    Setting it at runtime would be fine, but I'd rather be able to set them at design time if it's possible.

It seems that there are many ways to set this, but I'd like to know the right way. 
I've been using the RadControlSpy to adjust the settings.
Navigating down the tree to the RadCaptionLayout and setting the CaptionButtonPosition to Right seems like the right thing, but it doesn't move the image.
Navigating to the ImagePrimitive and setting it's alignment to right  moves the image, but it moves it past the end of the panelbar.

Is there a better way to make these changes?
I'm new to the telerik controls, so feel free to point out obvious things.
--
K



kstump
Top achievements
Rank 1
 answered on 10 Jul 2007
1 answer
126 views
When you use GridView, there is a small column in the most left. How to remove that column? I think it's like column selector.

Thanks
Georgi
Telerik team
 answered on 10 Jul 2007
3 answers
99 views
something like the normal caption on the left side and the new text on the right side?

Thanks,
--
K
Boyko Markov
Telerik team
 answered on 10 Jul 2007
5 answers
136 views
Hi
New project - one winform with only ribbonbar (or RadTreeView or any else) took about 3 seconds to load.I`m affraid, that when I`ll use more components (charts, reports, etc) this time  could be longer.
Problem is in Your components, or is any way to resolve this problem?. Meybee I should change something in my System Configuration, or in Visual Studio? Any ideas?
Thank You for help.

Olek

Vassil Petev
Telerik team
 answered on 10 Jul 2007
3 answers
121 views
Hello,

what must I do, to integrate the RadRibbonBar in VB 2005 to have the Look like Office 2007?
The Sample I have is for C#. I need it for VB 2005.
Can anybody help me?

THX
tombstone
Mike
Telerik team
 answered on 10 Jul 2007
13 answers
698 views
Hi,

Thank you for your fabulous support.

For some nodes in a tree I need to disable to ability to change the label (LabelEdit on nodes?). I thought that IsLabelEdit would do it, but it is a status for when its happening I suppose since it is readonly. I had to use the event BeforeLabelEdit on the tree, check the node and do canceledit which works fine, but it would be nice to do it on the node level (I inherit from RadTreeNode and handle all functionality of the node in that class), so what I am asking for is to maybe add something like AllowLabelEdit to the node, a nice to have but not essential.

I need to hide the expand icon on some nodes, this I dont know how to do. Is it possible?

Thanks,
- jorge
Jordan
Telerik team
 answered on 09 Jul 2007
1 answer
101 views
Hey guys,
I know you all do a great job with the presentation layer but how about the next tier down?  A ORM Mapping tool that any of your controls (and maybe even Reporting) can utilize. 

Thanks,
Al
Vassil Petev
Telerik team
 answered on 09 Jul 2007
1 answer
195 views
Is there a way to change the data in a cell during the bind event?

Example: Date column, if the column = "01/01/1900" then column data = ""

How would you do this with the GridView Control?

Thank you,
Frank
Phi
Top achievements
Rank 1
 answered on 08 Jul 2007
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?