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

On the launch of the splitter window if the user tries to resize  the sub window by dragging/moving the splitter, A NullReferenceException is thrown.  The following is the stack message.
------------------------------------------------------------------------------------------------------------------------------------

   System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.WinControls.Docking.DockSite.CalcSplitterMargin(Splitter& splitter)
   at Telerik.WinControls.Docking.DockSite.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 System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at Telerik.WinControls.Docking.DockSite.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)
------------------------------------------------------------------------------------------------------------------------------------

Note: sub windows are the DockPanels which are added to the DockingManager using SetDock.

Thanks for any help,
Srinivas.

Julian Benkov
Telerik team
 answered on 03 Jan 2011
1 answer
243 views
Is there a way to change the url at runtime for the web browser item?  I would like the browser to rotate thru a group of .swf files in a given folder or list.  Whenever I try to change the url property I get an error stating it is Read Only.  I am programming in Visual Basic 2008.

Peter
Telerik team
 answered on 03 Jan 2011
8 answers
1.6K+ views
Hi, 
    I am using Radgridview and define columns using the smart tag in design window. Every thing works fine. If there is no data available to display in the grid, it should give the message "No data to display". But this does not happen. How should i acheive this?. I get the message only if i dont define columns and use AutoGenerateColumns=True.

With Regards,
S. Surendar.
Surendar S
Top achievements
Rank 1
 answered on 03 Jan 2011
7 answers
242 views
Hello,

I have a TextColumn in my grid that contains data like this:

10
11
100
100A

I would like to sort this string like numbers (e.g. 10, 11,....), but I can't set simple the DataType of this Column because of the Characters.

Is there any way to sort like this?

Best regards,
Patrick
Sangeetha
Top achievements
Rank 1
 answered on 03 Jan 2011
3 answers
228 views
Hello,
I have problem with using two datasource in one column in my grid. I have two columns:
- column to choose type of number
- column GridViewComboBoxColumn with numbers binded to datasource
User in every rows can choose type and number from next column, I have two data source with numbers A, and number B. Can I define datasource for any rows? Someone implemented this mechanism ?
I use Q2 2010. 

Thanks for help
   Marcin
Richard Slade
Top achievements
Rank 2
 answered on 03 Jan 2011
3 answers
245 views
Hi there....
I'm using Winform 2010 3 10 1109 dev....
I'm attached picture when the button is enable, disable, then I'm enable it again....
there are something wrong, the button not looks like the first when i'm enable it...
but the function is the same...
What's wrong with the button...??
first enable
disable
enable Again
Stefan
Telerik team
 answered on 03 Jan 2011
2 answers
118 views
GridViewRelation selfRelaction = new GridViewRelation(this.radGridView1.MasterTemplate, this.radGridView1.MasterTemplate);
selfRelaction.ParentColumnNames.Add("column1");
selfRelaction.ChildColumnNames.Add("column2");
this.radGridView1.Relations.Add(selfRelaction);
this.radGridView1.Columns["column1"].IsVisible = false;
this.radGridView1.Columns["column2"].IsVisible = false;
this.radGridView1.Rows.Add(1, null, "1", "1", "1", "1");
this.radGridView1.Rows.Add(2, 1, "1", "1", "1", "1");
this.radGridView1.Rows.Add(3, null, "1", "1", "1", "1");
this.radGridView1.Rows.Add(4, 3, "1", "1", "1", "1");
this.radGridView1.Rows.Add(5, null, "1", "1", "1", "1");

//error : radGridView1.Rows.Count is "0"!
this.radGridView1.Rows[0].IsExpanded = true;
this.radGridView1.Rows[2].IsExpanded = true;

radGridView1.Rows.Count is "0"!
Help me! Both Q2 and Q3!

0930
Top achievements
Rank 1
 answered on 31 Dec 2010
1 answer
178 views
Hi,

How do I set the height of the tab that is shown when a toolwindow is autohidden?

if I use

radDock.AutoHideWindow(toolWindow);

in the forms ctor the height of the tab is smaller than when doing it in the forms Load eventhandler or when the users manually autohides a toolwindow.

Thanks,
Brian

Ivan Todorov
Telerik team
 answered on 30 Dec 2010
2 answers
213 views
Hi,
I have a problem with submenus width in a radapplicationmenu inside a radribbonbar.
My submenus are larger then the main menu.

How ca I set my submenus as large as my main menu ?

As attachement a screenshot of my problem

Main Menu
Sub Menu
Jean-Marc Windholz
Top achievements
Rank 1
 answered on 30 Dec 2010
3 answers
286 views
Hi

    How can I disable hot tracking from column header elements?

Regards

Raymond
Top achievements
Rank 1
 answered on 29 Dec 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?