Telerik Forums
UI for WinForms Forum
1 answer
145 views
Hello,

I would like to know whether RadControls for winforms Q2 2008 SP1of Telerik provides a control like BindingNavigator (a control that can be used in VS) 
Jack
Telerik team
 answered on 16 Sep 2008
2 answers
140 views

Hello,

I dont know how to solve this:
 I have a RadGridView grouped by program code and I know that each group has always 2 rows. And I want in the GroupHeader to be displayed some data from not "group by" collumns from the second of the rows in that group. Is it possible?

Daniel
Top achievements
Rank 1
 answered on 15 Sep 2008
1 answer
113 views
The code example off the manual is incorrect regarding custom cell formatting.

The problem is that with the documentation example the progressbar gets drawn at wrong postitions (especially when scrolling the grid vertically) in the correct column, the original value gets drawn also (instead of the progressbar) and last but not least, the progressbar gets drawer gray instead of green (randomly).

The working code is : 

//Don't do anything if there is no column info, or the cel is a Header element of the data column.

if ((e.CellElement.ColumnInfo is GridViewDataColumn) && (e.CellElement.RowElement is GridTableHeaderRowElement) == false)

{

GridViewDataColumn columnInfo = (GridViewDataColumn)e.CellElement.ColumnInfo;

if (columnInfo.FieldName == "SurfaceConsumedTotalInPct") //For all the cells that match the databound property's name.

{

e.CellElement.Children.Clear();

RadProgressBarElement progressBar = new RadProgressBarElement();

e.CellElement.Children.Add(progressBar);

double intValue = (double)e.CellElement.RowInfo.Cells["columnSurfaceConsumedTotalInPct"].Value;

progressBar.Value1 = (

int)Math.Round(intValue, 0);

if (intValue > 0)

{

//only show the % textually in the progressbar if there is a value greater than zero,

progressBar.Text = intValue.ToString() +

"%";

}

else

{

progressBar.Text =

string.Empty;

}

// apply theme to the progress bar

progressBar.SeparatorWidth = 0;

//ApplyThemeToElement(progressBar, this.radGridViewWarehouseOccupations.ThemeName);

ApplyThemeToElement(progressBar,

null);

}

}

Nick
Telerik team
 answered on 15 Sep 2008
2 answers
214 views
I'm building a winforms application and using the Telerik Tabstrip. The tabstrip contains 3 tabItems, all of which have their backcolor explicitly set via the designer. When I run the application program and hover over a tabItem not in focus, or not selected, it's fine, until I move my mouse away, the backcolor changes to something very ugly and unprofessional looking. This ugly color remains until it is in focus or selected, but then of course hovering on the other two unselected tabItems makes those in turn change to this ugly color.$0Is there something I can set or do to fix this? I'm not sure if I've included all relevant information, so forgive me this is my first time posting here.$0$0Thanks ahead of time for any help I receive!$0$0$0$0
Paul
Top achievements
Rank 1
 answered on 15 Sep 2008
2 answers
187 views
hi

I have 4 line charts in my form that I want to print on one page. I can see how to print them one to a page - but I can't work out how to print them all on one page.

What is the best way to do this?

regards
peter
Peter
Top achievements
Rank 1
 answered on 15 Sep 2008
1 answer
262 views

I have a grid with interactive filtering enabled. If the users doubleclicks on a
cell I get the GridViewCellEventArgs.RowIndex to access the Row.

However, when Filtering is active, the RowIndex in the Event does not
point to the correct Row, when I access the

RadGridView _grid.Rows[rowIndex].Cells[colName].Value

The GridViewCellEventArgs.RowIndex seems to point to the unfiltered row
index, while grid.Rows[] contains only the filtered rows.

What am I missing?

2008Q2Sp1

Jack
Telerik team
 answered on 12 Sep 2008
3 answers
202 views
I have a treeview where allow multiselect is set to true. When I select one node, the SelectedNodes.Count = 1 in the Selected event handler.

I then select a different node. I am not performing a multiselect or holding the shit or ctrl key, and in the Selected event handler the SelectedNodes.Count = 2.

I thought that the Selected event handler fired after the selection occurred. If so, how is it that my count of SelectedNodes is anything other then 1?

Is this a bug or is there a work around for this?


Jordan
Telerik team
 answered on 12 Sep 2008
1 answer
459 views
 Hi,
    I have to added a custom elements (RadTextBoxElement) to grid cells on the CellFormatting event at runtime.
RadTextBoxElement textbox = new RadTextBoxElement();  
textbox.Alignment = ContentAlignment.MiddleCenter;  
textbox.KeyPress += new KeyPressEventHandler(textbox_KeyPress);  
textbox.TextChanged += new EventHandler(textbox_TextChanged);  
e.CellElement.Children.Add(textbox); 

    I would like to limit the value of textbox not over 99 but i can't set the max length property of the RadTextBoxElement.
Can you help me for solve this problem ?
Martin Vasilev
Telerik team
 answered on 12 Sep 2008
1 answer
116 views

Hi,
    I have to added a custom elements (RadTextBoxElement) to grid cells on the CellFormatting event at runtime.

RadTextBoxElement textbox = new RadTextBoxElement();  

textbox.Alignment = ContentAlignment.MiddleCenter;  

textbox.KeyPress += new KeyPressEventHandler(textbox_KeyPress);  

textbox.TextChanged += new EventHandler(textbox_TextChanged);  

e.CellElement.Children.Add(textbox); 

    I would like to limit the value of textbox not over 99 but i can't set the max length property of the RadTextBoxElement.
Can you help me for solve this problem ?

Martin Vasilev
Telerik team
 answered on 12 Sep 2008
1 answer
102 views
hi :o)

I have a combo box which displays a list of available subject areas for a university. It is populated from a table with 3 fields.

Id, SubjectArea, Description.

Is it possible to show a tooltip that contains the field "Description" that relates to the "SubjectArea" item you are hovering over.

I hope this makes sense :o)

Thank you so much for your help

Tim :)
Dimitar Kapitanov
Telerik team
 answered on 12 Sep 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)
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
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
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?