Telerik Forums
UI for WinForms Forum
1 answer
209 views
Hi,

I am setting the BackColor of a RadTextBox control at runtime.  There are some discrepancies between what the documentation says, what the recommended approach is in the forums, and what actually seems to work.

The documentation:

ms-help://telerik.winforms.5.0/telerik.winforms.raduielements/RadTextBoxProgramming.html

The fourms:

http://www.telerik.com/community/forums/thread/b311D-hkggh.aspx



Noel
Martin Vasilev
Telerik team
 answered on 28 Mar 2008
3 answers
358 views
When adding a new row (in line editing), the GridViewNewRowInfo.DataBoundItem is null even though it is bound to the underlying object.

Here's my situation: I'm binding a BindingList of objects to the grid's data source.  I'm implementing an MVP pattern where the Presenter listens to the binding list's AddingNew event and initializes the new object.  Prior to Q1 2008 beta, the initialization made in AddingNew was not reflected in the grid's new row (this seems to be fixed in Q1 08 beta).

I am also implementing cascading combo boxes (Country selection drives items in the State column).  The Presenter listens to ListChanged events and computes the available States when the object's Country changes.  The filtered list of States is added to the object (presentation model).  In RadGridView.CellBeginEdit, the view modifies the RadComboBoxEditor, reseting the State list source to the new filtered list in the presentation model.  This works for existing rows, but breaks for new rows since the new row's DataBoundItem is null.
Julian Benkov
Telerik team
 answered on 28 Mar 2008
4 answers
313 views
Now that the rows collection includes only data rows, how do I get the child data rows for a GridViewGroupRowInfo?  I'm in the SelectedRow event after a group row was selected by the user.  I need to get information from the data rows that makes up the group.  The rows collection is always empty. This one is BIG.
Kevin Marsh
Top achievements
Rank 1
 answered on 28 Mar 2008
2 answers
167 views
Hi, how can I change the style on alternate row? I see another post with same question, and you told to do it:

        private void radGridView1_RowFormatting(object sender, RowFormattingEventArgs e)
        {
            if (e.RowElement.IsOdd)
            {
                if (!e.RowElement.IsCurrent)
                {
                    e.RowElement.BackColor = Color.Beige;
                }
                else
                {
                    e.RowElement.BackColor = Color.LightBlue;
                }
            }  
        }

but when you scroll, you loose the style.
Domenico
Top achievements
Rank 1
 answered on 28 Mar 2008
1 answer
142 views
I have main form (mdi container)  with docking. I open new forms as document dock. When click in dock tabs (swich forms), then does´nt fire deactivate form event, and activate event does not fire too.

i need this events to merge and unmerge toolstrip (net).

Julian Benkov
Telerik team
 answered on 28 Mar 2008
5 answers
218 views
Since this release completely breaks backward compatibility, is there anything I can refer to for tips/techniques for upgrading?  Some of the items have been obsoleted and therefore tell me the replacement method.  A few others I've been able to figure out through experimentation or by looking at the examples.  There are some where the feature has been commented out in the example (see AutoCompleteMode and DropDownStyle of a grid combobox column) and it's not obvious how that functionality has been replaced. I would love a list of breaking changes and the replacement way to do the same thing.

Thanks.

Nikolay
Telerik team
 answered on 28 Mar 2008
1 answer
103 views
RadComboBoxEditor items with value of NULL is not persisted to bound object model.

I'm binding a list of objects to the grid that allows edits.  The column is bound to a property of type Object.  One of the items in the combo box has a value of NULL (representing no selection).  Selecting this item does not update the underlying bound object.

side note: change the item's value to DBNull and binding works as expected.  This provides a work around, but forces undesired knowledge of DBNull in the bound presentation model.
Julian Benkov
Telerik team
 answered on 28 Mar 2008
1 answer
365 views
Hello,

The windows standard progress bar control has a "PerformStep" method which automatically increments the progress bar based on the value of "step" property.

Is there an equivalent of this method for the RadProgressBar?  I am looking for this because I'd like to increment the RadProgressBar based on a completed action, rather a time based update.

For example:

For i as integer = 0 to 60 '<--this number will be dynamic based on database records  
    '//Do Something here  
    RadProgressBar.PerformStep  
Next 

Thank You.
Nikolay
Telerik team
 answered on 28 Mar 2008
1 answer
84 views
Hi,

I visited this site
http://www.telerik.com/support/kb/article/b454K-cgk-b454T-a.aspx

But, seems like it's just for the ASP.NET as it mentioned about the machine.config. what about those WinForm controls to be added to GAC?

Please advice.
Nikolay
Telerik team
 answered on 28 Mar 2008
1 answer
74 views
Hi all,
I want to the user to press a button and it will create a new DocumentPanel. The controls on that new tab will be the exact controls of the
DocumentPanel, plus I want to copy some content over from the old to the new. How do I create a new DocumentPanel dynamically with the same controls and layout of those controls of an existing DocumentPanel?
John

PS. I posted a simular question in the tabstrip forum, but I should have posted here.
Julian Benkov
Telerik team
 answered on 28 Mar 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?