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

I have implemented Hierarchy gridview. while clicking "+" sysmbol in the gridview row it will display childviewTemplate with related to the parent row. Currently I have two rows in my child table. So it is displaying those rows in the childviewTemplate. In the Last row of child Gridview  i need to display the combox for the first column. 
I  am trying to bind the data at runtime using C# in winForms. So please any help me on this to display combo box in the Hierarchy gridview.

Regards,
Sakthi
Stefan
Telerik team
 answered on 28 Jul 2010
1 answer
256 views
hello all

Please guide me,how can i apply filtering on GridViewMultiComboBoxColumn with filterdescriptor class.

Warm regards
Neha
Deyan
Telerik team
 answered on 28 Jul 2010
10 answers
304 views
Hello,

how can i prevent to go in the edit mode if i click on a cell (not the current cell)  in the current row with the mouse? i have tried to override OnMouseDownLeft:

 protected override bool OnMouseDownLeft(MouseEventArgs e)
        {
            GridCellElement cell = this.GetCellAtPoint(e.Location);

            if (cell != null)
            {
                GridRowElement row = this.GetRowAtPoint(e.Location);
                if (row.RowInfo == this.GridControl.CurrentRow && cell != this.GridControl.CurrentCell
                    && e.Clicks == 1)
                {
                         this.GridControl.CurrentRow = null;
                }
            }

            return base.OnMouseDownLeft(e);
        }

This implementations unfortunately works with a restriction: the horizontal scrollbar jumps always completely to the left.

Regards,
Thomas
Alexander
Telerik team
 answered on 28 Jul 2010
2 answers
358 views
Hi,

a RadForm assigned to the RadDock is not sending the FormClosing or FormClosed event when i close the tab.
RadDock1.DockControl(form, UI.Docking.DockPosition.Fill, UI.Docking.DockType.Document)

Sometimes a have a lengthy operation and it is still running in the background when i already have closed the tab. Is there a good way to see from within the form if it was closed from outside? There is this TransactionCommitted event that gives me a RemovedWindow list when tabs are closed, but i don't know how to get back to the form itself. Is there a specific reason why the close events are not fired?

Thank you!

Bernd
Bernd Mueller
Top achievements
Rank 1
 answered on 28 Jul 2010
1 answer
136 views
private Unit u = new Unit();
u.setUnitContext();
IObjectScope context = u.context;
var q =  from d in context.Extent<TblUnitType>()
select new { d.UnitType, d.Abbreviation };
radGridView1.DataSource = q.ToList();

When setting the grid.MasterTemplate.AllowAddNewRow = true; and upong adding a new row to the grid it throws an ArgumentOutOfRangeException...  If a bind to a datatable everything works fine...

The question is how do I add a new row to the rows collection when the grid is bound to a "linq query".

Regards
Tor Sigve
Julian Benkov
Telerik team
 answered on 28 Jul 2010
16 answers
287 views
Default themes are not listed in the Themes property of a few objects. I'm saying "few" because I'm only used Telerik for a couple of hours, so this is a pretty obvious problem if I was able to discover it this fast

-RadDock is missing Aqua, Vista, Telerik, Vista Black & Breeze at the very least
-RadMenu is missing Office2007Blue at the very least

How do I get all of the Themes added to the controls so users have a consistent set of colors?

Thanks

:)
jr
Deyan
Telerik team
 answered on 27 Jul 2010
5 answers
193 views

I try to embed RadCheckBoxElement to GridView in CellFormating event. My scenario is to show a RadCheckBoxElement in row "caption0". My Telerik controls version is Q1 2010.

        void radGridView1_CellFormatting(object sender, CellFormattingEventArgs e)  
        {  
            if (e.CellElement.ColumnInfo is GridViewDataColumn && ((GridViewDataColumn)e.CellElement.ColumnInfo).FieldName == "Caption")  
            {  
                if (!(e.CellElement.RowElement is GridTableHeaderRowElement))  
                {  
                    if (e.CellElement.Text.Equals("caption0"))  
                    {  
                        if (e.CellElement.RowInfo.Cells["Value"].CellElement.Children.Count > 0)  
                            return;  
                        RadCheckBoxElement element = new RadCheckBoxElement();  
                        e.CellElement.RowInfo.Cells["Value"].CellElement.Children.Add(element);  
                    }  
                }  
            }  
        }  
 

It seems that everything works fine without scrollbar.

However, if I scroll the scrollbar, a strange issue will happen. The RadCheckBoxElement will be embedded not only in row "caption0" but also in other rows. If I scroll the scrollbar several times, more and more RadCheckBoxElement will be shown in different rows.

Please refer to the attached images.

Could anybody help me? Thank you.

Adolfo
Top achievements
Rank 1
 answered on 27 Jul 2010
1 answer
192 views
I would love to see a transition effect much like what's in WPF but for a plain windows app. Something to make an object fade out while another fading in.
Nikolay
Telerik team
 answered on 27 Jul 2010
2 answers
221 views
Hi,

im using the RadRibbonForm and try to collapse the RibbonBar by setting the property "Expanded" to false.

This call throws an exception: System.NullReferenceException in RadRibbonBarElement.DoExpandCollapse()

I try to change this property after "InitializeComponent()" and in several different Events.
When i apply this change in the "RadRibbonForm _Shown"-Event the "RibbonBar" collapses, but the error is also thrown.

Im using Telerik-Version Q1 2010

Thanks
Manuel Walocha
Top achievements
Rank 1
 answered on 27 Jul 2010
1 answer
121 views
Hello,

I've a radGridView with an objectView as dataSource.
When the grid is sorted by a column, then, after executing the following command-lines, the objectView.position is changed. It doesn't matter, whether before there was changes in the data or not.

this.BindingContext[objectView1].CancelCurrentEdit();
this.objectProvider1.CancelAll();


This happens with the radGridView-Version 2010_Q2. In 2010_Q1 it was ok.
As a workaround i can store the postion-value before the CancelAll-method and set the old value after it. But i didn't need this to do in the last version of WinForms.

Regards

 

 

Roland

 

 

 

 

 

 

Nikolay
Telerik team
 answered on 27 Jul 2010
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?