Telerik Forums
UI for WinForms Forum
2 answers
323 views
Hi,
I am creating a dynamic form and after adding dynamic controls but i receive this message (" The best overloaded method match for 'System.Windows.Forms.Control.ControlCollection.Add(System.Windows.Forms.Control)' has some invalid arguments  ")
and (" cannot convert from 'Telerik.WinControls.UI.RadGroupBox' to 'System.Windows.Forms.Control' ")

Here is the code:
Form frm = new Form();
RadGroupBox groupb = new RadGroupBox();
frm.Controls.Add(groupb);

Can you help me?
Stefan
Telerik team
 answered on 09 Aug 2011
3 answers
270 views
Hello,
We have a problem using the telerik controls on a form, 
a memory occupied  problem, but never freedthe form uses the following controls:
• 3 DataTable.
• 1 DataSet.
One of the DataTable is populated with 10,000 records and the other 2 with 5 records, more records DataTable is populated as follows:

dtDataTable.Add("Ide", typeof(int));

 

dtDataTable.Columns.Add(

"Nom", typeof(string));

 

 

foreach (Objeto oObjeto in ArrayObjetos)

 

{

 

DataRow drRow = dtDataTable.NewRow();

 

drRow [

"Ide"] = oObjeto .Ide;

 

drRow [

"Nom"] = oObjeto.Name + " " + oObjeto.LastName;
dtDataTable.Rows.Add(drRow );

 

}


The 15 MB memory increases by this load but the release (close) is in use 8 MB of those 15.
The Close () the form we make the following:

if(dtDataTable != null)

 

    dtDataTable.Clear();

dtDataTable=

null;

 

if(dtDataTable1 != null)

 

    dtDataTable1.Clear();

dtDataTable1=

null;

 

if(dtDataTable2 != null)

 

    dtDataTable2.Clear();

dtDataTable2=

null;

 

 

 

 


The question is, We are releasing resources correctly or the problem may be the way I'm filling?
Thank you very much.

 

 is in use 8 MB of those 15.The Close () the form we make the following:if;if;if;

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Peter
Telerik team
 answered on 08 Aug 2011
1 answer
136 views
Hi All,
How can I see only one table in treeview, grouping the rows by a especific field.

Tks in advance,
Nelson

Boryana
Telerik team
 answered on 08 Aug 2011
1 answer
221 views
I'm using the RadScrollablePanel in a DocumentWindow to have themable scrollbars when the content doesn't fit. Afaik the scrollbars of the DocumentWindow aren't themeable (yet).

  Is it possible to have the panel to be "invisible", that is: disable border and backgroundcolor equal to the background color of the DocumentWindow?
Boryana
Telerik team
 answered on 08 Aug 2011
2 answers
132 views
Hi,

What happen with the gridview and enums on the last release?
I've been using an custome made localized enum converter to convert my enums to the correct language.
I've used one of the gridcolumns to view this enum, but now (with the latest release) i get an converter error : "EnumConverter cannot convert from Jobmatch.EntityFramework.Entities.WorkdayTypeEnum."

This is the article i used when i created the LocalizedEnumConverter. http://www.codeproject.com/KB/cs/LocalizingEnums.aspx?msg=2281102

As i said, this worked nicely in the previous version of the GridView.

Regards
Svein Thomas
Boryana
Telerik team
 answered on 08 Aug 2011
2 answers
148 views
I am putting my menu in a left side dock.

I would like to prevent them from closing this panel and prevent them from docking it to the top or the bottom.

ShowItemCloseButton is set to false...but the x is still there and they can close it...not sure what I am doing wrong there.

I can't find anything on the designer that would allow me to set which positions are allowed/not allowed.

Help!

Thanks,
David
Ivan Petrov
Telerik team
 answered on 05 Aug 2011
3 answers
214 views
Hi All,

is it possible to make/show a titlebar for the radgridview (like the titlebar of the forms)?
Every grid has a text property, but, as far as I know, that is invisible on the grid controls.


Regards,

Peter
Stefan
Telerik team
 answered on 05 Aug 2011
1 answer
250 views
The DocumentTabStrip offers 2 buttons 'Active Documents' offering a selection list of documents and 'Close Document' which on selection closes the current document. How can I hide these buttons?
Ivan Petrov
Telerik team
 answered on 05 Aug 2011
1 answer
125 views
Hi,

How do you remove the border from a ToolTabStrip?

Regards,
Brian
Stefan
Telerik team
 answered on 05 Aug 2011
2 answers
81 views
Hi,

I am trying to implement the "copy" scenario of drag and drop using RadTreeView.
And I found a thread which mentioned that dragging with ALT key pressed will clone the node to the other RadTreeView control.
However, I can not make it happen either in my own project or in the demo project.
Is this feature broken or I missed somthing?

thanks.

Tim
Tim
Top achievements
Rank 1
 answered on 05 Aug 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)
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
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?