Telerik Forums
UI for WinForms Forum
3 answers
167 views
I have a list of items shown in a GridView. After Initialization I only want to show some, and not all of these Items. 
I do this through a function call with the components with the Items I want shown. 
My problem is how to hide the Items that I don't want shown. I can't use filtering, because it is impossible to construct a useful filtering string that singles out the objects that I have sent.
I have tried to retrieve all the GridViewRowInfo, setting their IsVisible property to false, then setting IsVisible to true to the ones I want shown. But all Views are still shown in the GridView component.
My Grid is hierarchic, has this anything to do with my items remaining visible?
 
        public void SetConfigurationGroups(Collection<ConfigurationGroup> configurationGroups, Collection<ConfigurationGroup> expandedGroups)  
        {  
            m_GridView  BeginEdit();  
            foreach (ConfigurationGroup group in m_ConfigurationGroups)  
            {  
                m_ConfiguratioGroupRow[group].IsVisible = false;  
                //m_ConfiguratioGroupRow[group].  
            }  
            foreach (ConfigurationGroup group in configurationGroups)  
            {  
                m_ConfiguratioGroupRow[group].IsVisible = true;  
            }  
            m_GridView.EndEdit();  
        }  
 

Jack
Telerik team
 answered on 31 Mar 2008
1 answer
178 views

Hi All,

Is there a way to set the tab when the color dialog opens?  It currently defaults to "Professional", but I would like it to default to "Basic".

Thanks in advance for the help!
-Matt

Kiril
Telerik team
 answered on 31 Mar 2008
1 answer
126 views
Hi,

I was playing around with RadLabel.
I found a difference to Forms.Label which is a thing I'm hardly missing!

When I place a label - regardless of it's height - I can (with Forms.Label) drag it so that the text is alligned with the next control.

It shows a magenta line when alligned properly.

But RadLabel doesn't show this line.

Am I doing something wrong - or is this feature really missing?

The same problem with RadCombo -- I use a Forms.Label with a Forms.Combobox -- and get the magenta line.
I do Forms.Label with RadCombo - no such line.

Regards

Manfred
Angel
Telerik team
 answered on 31 Mar 2008
1 answer
207 views
Hi,

I am trying to show the font list in the combo box in the ribbon bar. Is that any possible to show the "sample" text in the combo box itself? So the user can preview the font before they selecting it.

Please advice.
Martin Vasilev
Telerik team
 answered on 28 Mar 2008
1 answer
234 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
402 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
346 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
196 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
160 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
243 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
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?