Telerik Forums
UI for WinForms Forum
1 answer
130 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
266 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
182 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
181 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
205 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
110 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
1 answer
121 views
Hi,

I have downloaded the trial version of the rad controls and tried installing the same in my home.

I face the following issue.

D:\Downloads\RadControls_WinForms_2010_2_10_713_trial.exe is not a valid Win32 application.

Attached the screen shot.

-Yuva
Vassil Petev
Telerik team
 answered on 27 Jul 2010
2 answers
135 views
I'm not sure this question has been already asked but..
I have a pretty large Vb.net project that uses the combo box, listbox and TabStrip controls pretty heavily.  The project is already just about halfway thru but these controls have been changed in the Q2 2010.  So my question is, will the Upgrade wizard change the controls, replacing the old with the new, or, will I be forced to have to go into each of the forms replacing one with the other as shown in the videos.?  Trying to get a handle on how much my Schedule  may be adjusted with this change.
Thanks
Carol Watson
Top achievements
Rank 1
 answered on 26 Jul 2010
2 answers
178 views

Hi,

I have a requirement to make RadApplicationMenu to open only by mouse right-click. How can I prevent mouse left button click and 'Enter' key pressing?

Thank you in advance. 

Vladimir Abramchuk
Top achievements
Rank 1
 answered on 26 Jul 2010
1 answer
275 views
Hello,

in Q2 2010 is GridElement obsolete. Is BeginUpdate also not necessary anymore (for the case that i am create manual multiple rows in code) ?

Regards,
Thomas
Jack
Telerik team
 answered on 26 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
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?