Telerik Forums
UI for WinForms Forum
4 answers
110 views
I just installed Telerik Q3 2009 WinForms BETA (2009.2.9.1016) over Q2 2009 (2009.2.9.729) and clicking on the Filter Row of a Date Column started generating an error.

System.NullReferenceException: Object reference not set to an instance of an object. 
   at Telerik.WinControls.UI.GridTableElement.get_CurrentCell() 
   at Telerik.WinControls.UI.RadGridView.get_CurrentCell() 
   at Telerik.WinControls.UI.RadGridView.BeginEdit() 
   at Telerik.WinControls.UI.BaseGridBehavior.OnMouseDownLeft(MouseEventArgs e) 
   at Telerik.WinControls.UI.BaseGridBehavior.OnMouseDown(MouseEventArgs e) 
   at Telerik.WinControls.UI.RadGridView.OnMouseDown(MouseEventArgs e) 
   at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks) 
   at System.Windows.Forms.Control.WndProc(Message& m) 
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m) 
   at Telerik.WinControls.RadControl.WndProc(Message& m) 
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) 
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) 
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) 
 

Telerik 2009Q3 Beta (2009.2.9.1016), VS 2005 (v8.0.50727.762 SP.050727-7600), .Net2 (2.0.50727), XP SP3, Core2Duo 2.99GHZ with 3GB.
Nick
Telerik team
 answered on 03 Nov 2009
2 answers
131 views
What I wantto do is in the CellFormatting event(of elsewhere) I want to dynamically add a chart to a cell.
I can create the chart from code with no problem but I don't see a way to add a chart or any other control to a cell.
What I thought I would be able to do is this(pseudo):

 

GridCellElement cell = e.CellElement;

 

cell.Controls.Add(createChart(series1Val, series2Val));


Is there a way to add a chart to a grid and or a cell specifically?
Of if I need to do it at the column level(and use values from other columns) or any other level, please let me know..

Thanks

--Chuck
Nick
Telerik team
 answered on 03 Nov 2009
0 answers
100 views
done
NewBee
Top achievements
Rank 1
 asked on 03 Nov 2009
2 answers
170 views
Hi,
I am using a RadDock control with AutoDetectMDIChildren set to true. I have been given forms to be hosted as tabbed documents. I do this by setting the forms' MdiParent property to the main form and then calling their Show methods. These forms override the Form.OnActivated method. This method is never called.

Here is a simplified example:

    public partial class MdiChild : Form  
    {  
        public MdiChild()  
        {  
            InitializeComponent();  
        }  
 
        int counter = 0;  
        protected override void OnActivated(EventArgs e)  
        {  
            label1.Text = string.Format("Activated {0}", ++counter);  
        }  
    }  
 
When I first show the form I would expect its Label1 to display Activated 1. If I click on another tab then back on this form's tab I would expect to see Activated 2 etc.

Thanks
Nick
Telerik team
 answered on 03 Nov 2009
1 answer
181 views

Good morning.

            I have problems with radDock layout and serialization. My problems are also visible in the application examples provided with radControls. I use Visual Studio 2008 Express Edition on a Windows XP OS. RadControls version is RadControls for WinForms Q2 2009 SP1.

 

  1. In the test application Examples\Docking\Serialization, when I want to move ToolWindow1 on the left, I see in the preview that it’ll fill half the space of  ToolWindow3. When I dropped ToolWindow1, the result is not the same, and the windows will not appear as in the preview.
  2. When I modify the layout and then save the new layout, when I load the layout a new floating radForm will appear. Trying to move it around by clicking on the title bar causes it to disappear. Then, every time I try to load the layout again, all is ok. I mean: if I modify the layout and save the changes, the first time I reload the new layout I got the problem. If I save the layout again (with no changes), no problems arise.

 

The same behaviour I obtain in my applications.

Thank you.

Georgi
Telerik team
 answered on 03 Nov 2009
8 answers
275 views
Hi,
My ListBox is populated with more items than fit into it, and I can thus scroll up and down.
Now, when I select an item and then scroll until it is not displayed anymore, and then scroll back, the selected item is not shown in "selected" style anymore.
Only when I move the mouse over the item, it is displayed in "selected" style again afterwards.

This problem seems to be related with this one:
http://www.telerik.com/community/forums/winforms/gridview/radgridview-row-formatting.aspx

i.e. "Only the rows that are visible on screen have visual elements. When the grid is scrolled, the visual elements are reused for other logical elements."

But I want my ListBox to show the selected items. The user doesn't want to play hide and seek.
What do I need to do?
/J
Victor
Telerik team
 answered on 03 Nov 2009
0 answers
102 views
How can we apply Custom skins to Rad scheduler.... how many types we can apply....
nagesh Mynedi
Top achievements
Rank 1
 asked on 03 Nov 2009
2 answers
119 views
I have RadControls for WindowsForms 8.1.0.0 installed on my Vista x64 machine.  I recently upgraded RadControls for ASP.Net from Q1 2008 to Q2 2009.  After the upgrade, with a little work, I got my ASP.net projects working wonderfully and was fired up.  However, I went in to do a little work on a win forms project, and I started getting a "No such property registered" error when opening the designer.  Looking through the forums, I found that other users experienced this when upgrading their win forms controls.  It seems that my case is slightly different in that the conflict is occuring on Telerik.VSX.Controls in my GAC, which was put there by the ASP.Net controls.  I can't uninstall it from the GAC becuase the installer has it protected.  If I do a full uninstall of the ASP.net controls, the winforms projects work fine.  Any ideas?

Thanks,
Alex Johnson
Alex
Top achievements
Rank 1
 answered on 02 Nov 2009
4 answers
197 views
Hi,

I`m Using GridViewSelectedRowsCollection but after adding Obj  into it, still it`s count == 0.

GridViewSelectedRowsCollection RowCollection = new GridViewSelectedRowsCollection();  
RowCollection.Add(RadGrid1.CurrentRow); 

Regards.
Nick
Telerik team
 answered on 02 Nov 2009
0 answers
138 views
I have gridview in form. then I have checkbox column and GridViewSummaryItem of price column. I want to update value of GridViewSummaryItem when I click checkbox column. How to do this?
Help me please
Thank you...
Pum+
Waranya
Top achievements
Rank 1
 asked on 02 Nov 2009
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
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?