Telerik Forums
UI for WinForms Forum
2 answers
198 views
How can I get node bounding rectangle? There is no BoundingRectangle or Bounds or smth like this in RadTreeViewNode class.
Jack
Telerik team
 answered on 25 May 2011
1 answer
147 views
Did something change in the Q1 2011 release for datagrid that causes breaking changes?
I just upgraded today, fired up a project that has been compiling and working flawlessly and I'm getting a huge amount of compilation errors around the Grid control.

The main one that is significant is the following snippet:
GridViewDataColumn oColorName = new GridViewDataColumn();
oColorName.UniqueName = "ColorName";
oColorName.HeaderText = "Color Name";
radGridReport.Columns.Insert(6, oColorName);

I'm getting a red squiggly under the 'new GridViewDataColumn()' with the following error:
"Cannot create an instance of the abstract class or interface 'Telerik.WinControls.UI.GridViewDataColumn'"
rjmorton
Top achievements
Rank 1
 answered on 24 May 2011
11 answers
1.6K+ views
RadGrid.Rows.Clear() doesn't work!? is there a bug?

thanks, andreas
Abdulrahman Khalil
Top achievements
Rank 1
 answered on 24 May 2011
1 answer
278 views
Is there any way to make the editorbox Multiline.

The problem is some of my items (in the collection) are over two lines.  When the two line item is selected the item appears in the editorbox - but only the first line appears.  Is there any way to get the editorbox to show two or more lines.

Furthermore, is it possible to show the editorbox with the picture associated with the item?


Many thanks.
Peter
Telerik team
 answered on 23 May 2011
2 answers
94 views
Hello!

I hope the Telerik team has learned their lesson with the disastrous releases of Q3 2010 and Q1 2011.
While I really would like to get the bugfixes, especially for the grid control,
I have not been able to integrate anything into production code since 2010Q2 due to showstoppers and missing functionality.

Please let the Q2 release be centered around bug fixing and not forcing half-baked new features or dubious refactorings on us.

Also I strongly urge you, not to remove bread-and-butter controls like treeview and replace them with obviously unfinished/untested refactorings. If you must refactor - and especially if the new control lacks functionality of the old one - please give us a chance to migrate our code over several telerik releases. You did that with the docking framework, why not with the very central treeview control?

Regards
Erwin
Jack
Telerik team
 answered on 23 May 2011
3 answers
102 views
Hi,

in my app, I sometimes have to reload an unbound treeview because the underlying data changes. Now it would be nice to keep the state of the tree view (selected nodes, expanded state etc.) What's a good strategy to implement this?
I do have object identity information in an object in the Tag attribute, so I can find the logically identical nodes after a reload.
Thinking of maintaining maps of selected and expanded nodes so I can re-apply those attributes after reload. Is that a good idea?

I'm using demand loading for non-root nodes. Also I have to take into account, that there might be some nodes missing or additional nodes appearing at reload.
Has anybody implemented something similar?

Regards
Erwin
Julian Benkov
Telerik team
 answered on 23 May 2011
1 answer
114 views
Hi, 
I have a problem with the size of the radform.
I project the radforms with fixed size, but the dimension changes using different pc,
so sometime I can view all the objects in the radform, sometime in the bottom part,
some objects are visible only in part.
This is the layout parameters I use:

// Layout & appearance.
            MaximizeBox = false;
            MinimizeBox = false;            
            FormBorderStyle = FormBorderStyle.FixedDialog;
            Size = new Size(589, 630);
            ShowIcon = false;
            ShowInTaskbar = false;
            Text = " " + Application.ProductName;
            ThemeName = "Dialog";
            AutoScaleMode = AutoScaleMode.None; 
            BackgroundImage = resources.Icons.About;
            BackgroundImageLayout = ImageLayout.Center;

I don't understand why the view has to change on different pc with the same video configuration.

thank you
Martin Vasilev
Telerik team
 answered on 23 May 2011
1 answer
74 views
I am using the Tag property to store a DataRow for each node.  It seems to work fine except for when I try to retrieve it in the NodeCheckChanged event where it is returned as nothing/null.  If I iterate through the nodes and inspect the tag property, it is set properly. Has this been reported by anyone?  I have a work around to just create a mirrored object to store my information in related by the absolute index of each node, but I would rather not do it that way.

TIA

Seth
Seth
Top achievements
Rank 1
 answered on 23 May 2011
1 answer
141 views
Hello,

I tried using the BackgroundImage property but it won't show the image.


Thank you for your time.
Minyie
Top achievements
Rank 1
 answered on 20 May 2011
6 answers
123 views
Hi there,

After upgrading my project to the latest telerik build, my ability to export to excel has broken. Here is the code i was using:

Dim Exporter As New Export.ExportToExcelML(activegrid)
        Try
            Exporter.RunExport(file)
        Catch ex As Exception
            MsgBox(ex.Message)
        End Try
End Sub

Any idea how this should be written now?

thanks!

Jonathan
Jonathan Hylton
Top achievements
Rank 1
 answered on 20 May 2011
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?