Telerik Forums
UI for WinForms Forum
1 answer
188 views
Hi everybody, I'm wondering if there is any way to display a messagebox that uses the theme of my application.

Thanks!
Nick
Telerik team
 answered on 28 Oct 2008
4 answers
193 views
Hi,

I am binding a datatable and there is one column of bit datatype. Now system automatically replace bit column with a checkbox, but I want to replace those checkboxes with my custom text.

Can we have some event on that I can change things in particular cell. Or there is some specific way to do so !

Thanks,

With Regards,
Divyesh
Joel Kraft
Top achievements
Rank 2
 answered on 28 Oct 2008
1 answer
152 views
I am using Visual Studio 2008 with VB, using the RadTabControl and RadMenu for my Wind Forms application.  I have, thus far, created a theme for each which have a consistent look. 

I would like to create a couple of additional themes and provide my users a choice of which themes to apply at run time, for example, with a checkbox in their user preferences form.  Each of my forms that has one or more tabs has a RadThemeManager which loads a single theme.
(FYI -- I have never been able to add more than one theme to a Rad Theme Manager without it automatically reverting to the default application theme that ships with your product.)

Can you provide me with a method and some code snippets fo make this possible? 

Thank you!
Meryl Smith

Nick
Telerik team
 answered on 28 Oct 2008
2 answers
257 views
Hello,

I'm using a button to update a cell value that is in a radgrid. Some times all the cell values of a certain column.

I'm using the following code:

 

RGFiles.Rows(0).Cells(1).Value = RGProposals.CurrentRow.Cells(2).Value.ToString() & _

 

 

"_" & RGProposals.CurrentRow.Cells(3).Value.ToString() & _

 

 

"R" & RGProposals.CurrentRow.Cells(4).Value.ToString() & _

 

 

"_" & RGFiles.CurrentRow.Cells(2).Value

 

The code works fine (for one cell)  but if I'm updating a cell, i need to pass the mouse over the cell to update the value that is shown in that cell. If I'm updating all cells of a certain column, the cells show the new value but takes a lot of time to do that.

What is missing me? What do I need to do to resolve this problem.

Thank You.
LM
Nikolay
Telerik team
 answered on 28 Oct 2008
1 answer
242 views
Hi,
I am evaluating Winforms with VS2008 on XP.

I would like to create a menu strip with rad menu on top and a simple ribbon-style image below the menu. However, when I drag rad menu on top of an existing panel with an image, rad menu does not display the underlying panel image.  I have tried setting the rad menu property RadMenu BackColor to Transparent but the rad menu is still opaque and does not display the image.

I must be missing something as I am following the steps in your help documentation on radmenu.

Here are the steps:
1. Start new project with a form.
2. Drag windows panel control onto the form, assign an image to it.
3. Drag radMenu on top of win panel control, enter a menu text item.
4. Select radMenu item and from properties menu, select BackColor property item, then select 'transparent' from the web tab.

Thanks for letting me know wha tI am doing wrong.
Nikolay
Telerik team
 answered on 28 Oct 2008
1 answer
83 views
Hi, I am evaluating Telerik WinForms - VS2008, XP and
Vista.

I have been testing out the RibbonBar control and have a problem loading the theme file as a project resource.   The Telerik theme works fine as a file when it is loaded from a directory on my local machine other than the project resources directory.

However, I  would like to keep the theme file in my project resources directory for project portability to be able to load it on other machines.  I am trying to create a project template from VS2008 which contains the theme file.  After I export my project as a project template the theme does not work (since it is trying to load from a directory on my machine) What is the trick to save the theme file as a resource? Thanks.

Other than this issue the evaluation has gone well and the controls look great. 
Nick
Telerik team
 answered on 27 Oct 2008
1 answer
246 views
Hi:

I'm creating a list of RadToggleButtons on runtime dinamically, an then I add some events to change their appeareance:

 

private void bottonDevice_MouseEnter(object sender, EventArgs e)

 

{

 

RadToggleButton button = (RadToggleButton)sender;

 

((Telerik.WinControls.Primitives.

FillPrimitive)(button.GetChildAt(0).GetChildAt(0))).BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(206)))), ((int)(((byte)(117)))));

 

((Telerik.WinControls.Primitives.

FillPrimitive)(button.GetChildAt(0).GetChildAt(0))).BackColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(196)))), ((int)(((byte)(52)))));

 

((Telerik.WinControls.Primitives.

FillPrimitive)(button.GetChildAt(0).GetChildAt(0))).BackColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(220)))), ((int)(((byte)(158)))));

 

((Telerik.WinControls.Primitives.

FillPrimitive)(button.GetChildAt(0).GetChildAt(0))).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(232)))), ((int)(((byte)(180)))));

 

}


The Event MouseEnter changes the Togglebutton background successfully, so the MouseLeave Event too. But the ToggleStateChanged Event simply doesn't work :( here's the Event code.

 

 

private

 

void buttonDevice_ToggleStateChanged(object sender, Telerik.WinControls.UI.StateChangedEventArgs args)

 

{

 

// ToggleChange(btnView);

 

 

 

 

 

RadToggleButton button = (RadToggleButton)sender;

 

ToggleChange(button);

 

if (args.ToggleState == ToggleState.On)

 

{

((Telerik.WinControls.Primitives.

FillPrimitive)(button.GetChildAt(0).GetChildAt(0))).BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(167)))), ((int)(((byte)(77)))));

 

((Telerik.WinControls.Primitives.

FillPrimitive)(button.GetChildAt(0).GetChildAt(0))).BackColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(146)))), ((int)(((byte)(0)))));

 

((Telerik.WinControls.Primitives.

FillPrimitive)(button.GetChildAt(0).GetChildAt(0))).BackColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(204)))), ((int)(((byte)(116)))));

 

((Telerik.WinControls.Primitives.

FillPrimitive)(button.GetChildAt(0).GetChildAt(0))).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(197)))), ((int)(((byte)(136)))));

 

 

 

 

}

 

else

 

 

 

 

{

((Telerik.WinControls.Primitives.

FillPrimitive)(button.GetChildAt(0).GetChildAt(0))).BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(193)))), ((int)(((byte)(193)))), ((int)(((byte)(193)))));

 

((Telerik.WinControls.Primitives.

FillPrimitive)(button.GetChildAt(0).GetChildAt(0))).BackColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(151)))), ((int)(((byte)(148)))), ((int)(((byte)(148)))));

 

((Telerik.WinControls.Primitives.

FillPrimitive)(button.GetChildAt(0).GetChildAt(0))).BackColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));

 

((Telerik.WinControls.Primitives.

FillPrimitive)(button.GetChildAt(0).GetChildAt(0))).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(226)))), ((int)(((byte)(226)))));

 

 

 

 

}

}

Can you help me with that issue?. I write my code that way because, I've tried to apply a Theme loaded in design time to my controls, but it didn't work either.

Thanks
Nick
Telerik team
 answered on 27 Oct 2008
1 answer
144 views
Hi,

These might have already been posted. But I'm posting it again.

1. How do I highlight all the editable columns in the gridview so that the user can easily distinguish editable columns from non-editable columns?

2. How to perform any validations upon the text entered in editable cells when the focus is just lost from that cell (something similar to onfocuslost kind of event)?

3. I need to bind data to the combo box column in the gridview after a button (say a "search" button) is clicked. And I need to extract all the values selected in the grid combo box columns, upon clicking a (say "Submit") button.

Any help would be appreciated.

Thanks
Pramod Goutham.
Nick
Telerik team
 answered on 27 Oct 2008
1 answer
119 views
Hi,
I downloaded a trial of your winform control and am testing out the ribbon control. 

I have spent several hours trying to figure out how to change the caption text in the top panel that says 'RadRibbonControl1'.

Where and how is this changed? 

Thanks.
Nick
Telerik team
 answered on 27 Oct 2008
1 answer
165 views
Is there a way to use icons larger than 16x16 pixels on the RadToolStrip for Winforms?  If so, how is that done?
Nick
Telerik team
 answered on 27 Oct 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?