Telerik Forums
UI for WinForms Forum
3 answers
164 views
In the "Adding Screen Tips" example I can't find a way to apply the screen tip template after clicking on the screen tip property drop-down-arrow.  And if I just click off the pop-up the form will crash in the IDE (after close and reopen) because it has added design items that are not fully configured.
Jordan
Telerik team
 answered on 23 Oct 2007
3 answers
162 views
I drop two TabStrips, A and B onto a Form, where A contains B. If I set the Dock property to be Fill, I find that the items in A will be covered by B at Designer.
Is there a workaround to this peculiar phenomenon.

Thanks,
Ricky.
Boyko Markov
Telerik team
 answered on 23 Oct 2007
1 answer
281 views
I am currently evaluating rad controls for WinForms and wonder if you have any examples of using the RadRibbonBar dynamically.  I am able to add controls to a RibbonBarChunk dynamically based upon a selection from a database, with no problem. However I am struggling  with how to interact with those newly added elements [gallery items].  By querying a database I add a ribbonbarchunk and then add galleryitems based upon the results of the query. I need now to add code which will perform a query on another database based upon the which galleryitem the user has clicked. I suppose my question is this. How do I write code for an event on a dynamically added galleryitem to a ribbonbarchunk? If you have any examples (preferably in VB) I would be most grateful.

Paul
Kiril
Telerik team
 answered on 23 Oct 2007
1 answer
161 views
Hello,

We currently have a browser based application that extensively utilizes RadControls for ASP.NET. We have been considering providing a second front-end option to our customers that would use RadControls for WinForms to address some performance issues we see occasionally that appear related to slow browser rendering on older machines using older browsers (we have some very large forms and grids in a few places).

Am I correct in assuming that both Prometheus and Silverlight versions are strictly for browser based applications? And if so, is there any reason to suspect there might be significant performance improvements in either of those versions in regards to browser rendering?

Also, I was able to find Product Roadmap info for the browser based stuff, but could not find anything about the WinForms stuff. Can you please provide some insight as to the direction you are headed and what the plan is for WPF support in that regard?

Thanks,
Tom
Vassil Petev
Telerik team
 answered on 23 Oct 2007
3 answers
305 views
Hello,

I'm adding items at run-time to a RadListBox. Some of the items need to be aligned to the left and others to the right.

For the items that need to be aligned to the right, I've tried the following methods:

item.TextAlignment = ContentAlignment.TopRight;

item.StringAlignment = StringAlignment.Far;

TextPrimitive primitive = (TextPrimitive)item.Children[2].Children[1].Children[0];
primitive.PaintTextFormat.LineAlignment = StringAlignment.Far;
primitive.Alignment = ContentAlignment.TopRight;
primitive.StringAlignment = StringAlignment.Far;
primitive.TextFormatFlags = TextFormatFlags.Right;

And some other variations. But none of them work. At best, I get the text pushed a bit to the right: the longer the text string the further right it's pushed. That is, I get the following:

 abc
   asdfghjk
       fdfhjsgkljshgadkjhsalkdhas

Any way to get the alignment to work right?

Thanks!
Peter
Telerik team
 answered on 22 Oct 2007
1 answer
393 views
Hello.

I have a Windows Form and a RadGridView (with default theme), I added some columns manually using the RadGridView Property Builder (not from a database table or any datasource) and then I added a GridViewCommandColumn.

The problem is when I set the TextAlignment property of  Telerik.WinControls.UI.GridViewCommandColumn to MiddleCenter (with DefaultText = "Print", UseDefaultText = True), the alignment doesn't change and the text in the GridViewCommandColumn is always aligned to MiddleLeft.

am I setting the TextAlignment in the wrong place?

Thanks in advance.
Jack
Telerik team
 answered on 22 Oct 2007
3 answers
152 views
Hi All,

Am just doing a simple exercise of creating a new theme for the radButton.

These are the steps am following
1) Open the VisualStyle Builder.
2) Load the RadButton control.
3) Select on FillPrimitive of the RadButtonElement and change the BackColor, BackColor2, BackColor3 , BackColor4 from default blue to anyother color.

Now at this stage I dont see any change in the color of the button.

However, If I change the Text:RadButton property under ImageAndTextLayoutPanel then I definitely see the change in the color of the text "RadButton" to whatever I select.
I can also apply different color to the button on IsMouseOverButton.

Why am I not able to see any change in the color of the button from standard blue to any selected one?

Looking forward for your reply.

Thanks
-barkha
Dwight
Telerik team
 answered on 22 Oct 2007
1 answer
130 views
Hi,

I would really like to see a document which outlines which controls to replace the standard controls.  It would be really neat to see this in the form of a quick reference table.

For example:

.Net Control    -    Telerik RadControl

Label              -    RadLabel
ComboBox      -    RadComboBox
StatusStrip      -    RadToolBar
ToolStrip         -    RadToolBar
Form              -    ShapedForm

A list of tips and tricks would not go astray either.
Dwight
Telerik team
 answered on 22 Oct 2007
1 answer
104 views
I'm adding in my theme as resource as embedded. Then adding it into a Theme Manager.

But it does not show amongst the available themes for the control. But I just write in the name of it anyway. The control then goes invisible in the Design GUI. But if I run the app, it works fine and uses that theme.

This was working in 2007 Q2 I think.
Angel
Telerik team
 answered on 22 Oct 2007
3 answers
267 views
Hey Guys,

I'm using a RadGridView bound via bindingSource to a List of custom objects. I want to be able to alert the user if they have entered invalid data when editing. (fails min/max or other such business rules)

in radGridView_CellFormatting() event I test for invalid data and if invalid, I want to set the Fore and Back color of the cell. (using ConditionalFormattingObject wasn't robust enough as I need to set tool tip with error details)

e.CellElement.ForeColor works no problem, but e.CellElement.BackColor will not set.  (I set it to Color.Red, but still shows as white.)
Any ideas? (I'm using the default theme.)

Alternatively, is there any way to set an errorProvider for that cell? Or show an error icon in the cell? (setting image doesn't work because it can only be centered.... not left/right aligned)

OR is there a better way to go about alerting the user they've entered erroneous data? (and draw attention to the cell. )

Any and all help appreciated!!
Thanks.
Mike
Top achievements
Rank 1
 answered on 19 Oct 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)
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
ScrollablePanel
DataEntry
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
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?