Telerik Forums
UI for WinForms Forum
2 answers
292 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
112 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
232 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
161 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
131 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
175 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
90 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
102 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
115 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
148 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
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
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
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
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?