Telerik Forums
UI for WinForms Forum
9 answers
2.0K+ views
Hi,
I need to manually set coloring in my grid rows(I don't want this, the customer does!!!) and I am puzzled

I managed to do it with the header like this:

 For i As Integer = 0 To Me.RadGridView1.MasterGridViewInfo.TableHeaderRow.Cells.Count - 1
        Me.RadGridView1.MasterGridViewInfo.TableHeaderRow.Cells(i).CellElement.BackColor = Color.Green
        Me.RadGridView1.MasterGridViewInfo.TableHeaderRow.Cells(i).CellElement.BackColor2 = Color.Green
        Me.RadGridView1.MasterGridViewInfo.TableHeaderRow.Cells(i).CellElement.BackColor3 = Color.Green
        Me.RadGridView1.MasterGridViewInfo.TableHeaderRow.Cells(i).CellElement.BackColor4 = Color.Green
        Me.RadGridView1.MasterGridViewInfo.TableHeaderRow.Cells(i).CellElement.ForeColor = Color.White
      Next

How can I do the same for the rest of the rows, especially when I need to have different colors for the alternating rows??


Thank you in advance


George


Stefan
Telerik team
 answered on 11 Aug 2011
1 answer
141 views
Hi,

It seems to me that changing the visibility of a richRibbonBar Tab is not working.

ie:
richRibbonBar1.ShowHomeTab = false;
richRibbonBar1.ShowInsertTab = false;  // ...etc
The tabs still stay visible.

Could you check this out?
Thank you,
Karl
Stefan
Telerik team
 answered on 11 Aug 2011
1 answer
119 views
Hi,
I need to change the backcolor of an entire column in RadGridView. I am working in VB
Can you help me on this issue?
Thanks
Stefan
Telerik team
 answered on 11 Aug 2011
1 answer
465 views
Hello,

I have a form with raddropdownlists and am using the 2010Office black theme.

When a dropdownlist has focus the border turns orange.  is there a way to make the border thicker so that the orange border stands out more when the dropdown list has focus?

thanks in advance,
Francis
Alexander
Telerik team
 answered on 11 Aug 2011
4 answers
272 views
Hi,

is it possible to build a radgrid with the structure of the attached file?

I want a mix of checkboxs and labels at the same cell, except from row one which must be two labels.
I've seen a few examples of custom columns with the progress bar and a button, thus i can't get it to work.

Thanks in advance,
SF
Stefan
Telerik team
 answered on 11 Aug 2011
2 answers
150 views

I have a rather complex application that has many UI components. I'm attempting to use the radDock and create a ToolWindow that has search capabilities. This ToolWindow has a RadPanel on it with RadTextBoxes for the different fields they can search. It also has a RadButton to perform the search. What I'd like to do is have it so when the user clicks in the panel or clicks in the textbox, that the AcceptButton for the form becomes the search button...

example:

private void customerSearchNumberTextBox_GotFocus(object sender, EventArgs e)
{
    this.AcceptButton = customerSearchButton;
}
 
private void customerSearchButton_Click(object sender, EventArgs e)
{
    int i = 1;
}

However, this isn't working...the GotFocus event fires, and the above code is executed, but when I hit 'enter' nothing happens....the click event doesn't fire...thoughts?

Alexander
Telerik team
 answered on 11 Aug 2011
5 answers
536 views
Hi  ,

 In a gridview , i want particular cell to have a dropdown and rest as a textbox . how to achieve this ?
JigneshGN
Top achievements
Rank 2
 answered on 11 Aug 2011
3 answers
177 views
Hello,

I am evaluating the new ListView with kinetic scrolling and discovered a strange behavior when releasing the mouse after a kinetic scroll - the ItemMouseClick event is fired and the item is also selected. Is there some way to avoid this?

Best Regards
Lars Krog-Jensen

Stefan
Telerik team
 answered on 11 Aug 2011
1 answer
135 views
Hi,

After upgrading to 2011 Q2 version RadMaskedEditBox LostFocus event is not fired. Was the event removed in Q2 release because it was working well with previous releases.

Thanks
Peter
Telerik team
 answered on 11 Aug 2011
1 answer
226 views
Hi,

I am trying to allow the ability from a FloatingWindow to open a DocumentWindow in the parent form RadDock object but its null.

Here is how I am doing it as a Docked ToolWindow, but it changes to FloatingWindow when I undock it and the parentform of that is now null.

string itemName = rows[0].GetProperty("Name").ToString();
               
DocumentWindow documentTop = new DocumentWindow();
documentTop.Text = itemName;
documentTop.DocumentButtons = DocumentStripButtons.All;

//dosnt want to add a document because I cannot find the Form that opened this.

if (this.ParentForm is FloatingWindow)
{
    //todo: find a way to call the DockManager and add a new document.
}

//this works only when the ToolWindow object is Docked.
if (this.ParentForm is RadRibbonForm1)
{
     ((RadRibbonForm1)this.ParentForm).radDock1.AddDocument(documentTop);
}



Any Assistance would be helpful.
Thanks,
RK.
Stefan
Telerik team
 answered on 11 Aug 2011
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
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?