Telerik Forums
UI for WinForms Forum
7 answers
340 views
Have recently upgraded to 2011 Q3 SP1 and have noticed a change in the behaviour of the DateTimePicker when entering a date manually (using the format "dd/MM/yyyy"). Previously when you entered "1/1/1" into a blank DateTimePicker the result would be "01/01/2001" as the initial key press in each section would overwrite the whole section. The behaviour has now changed so the initial keypress only adds to the right of each section, so "1/1/1" results in "11/11/9001" (as it edits the null date instead of overwriting it).

Is there anything I can do so it goes back to the old behaviour?  It is essential for our users to enter dates in with as minimal keystrokes as possible.
Peter
Telerik team
 answered on 08 Mar 2012
6 answers
359 views
Hello,

We purchased the licenses for Telerik WinForms components and having memory leaks. I've already read similar threads (performance considerations, increasing execution speed of Telerik assemblies), but it didn't solve my problem. Other then that, we verified the code against the following rules which are best coding practices that DEV teams must follow:
— objects that implements IDisposable must be disposed;
— grids must be wrapped with BeginUpdate & EndUpdate methods whenever they are getting changed (same holds true for RadTreeView);
— no excessive database connections;
— database connections are wrapped with C# "using" operator;
— time-consuming operations moved to background processes, which writes Trace/Debug messages when finished;
— custom themes are built in separate DLL and initialized in new thread which gets closed, when job is done.

The app itself represents MDI container with RadDock on it (Dock = Fill). All MDI child forms are opened in RadDock's new tab. The default tab is Desktop with a grid and 2 more Tool Windows: Tree View which is used as collapsible menu and Recent Activity at the bottom (in fact, similar control layout as VS2010 or SQL Management Studio). We are using custom Telerik themes, which are compiled into separate DLLs to gain the best performance and they are loaded in background worker process when the app starts.

Steps to reproduce (see attachments 1-5, in order they presented)
1. Starting the app (MDI container)
2. Choosing User List (form with single grid) from Tree View aka menu
3. User List View is loaded
4. Closing User List View
5. PROBLEM: Nevertheless form is disposed and it's not in the RadDock tool/window collection — consumed memory amount remained the same. Looping iterations from 2 to 4, will lead to memory leak (memory amount constantly grows)!

In addition to that, I would like to point that we're using MVP in WinForms. Base Form and UserControl classes are always disposing inner objects or in terms of MVP — presenters, when Form is getting closed. Here's the Trace log:
..
UserListView is initialized.
UserListView is loaded.
The thread '<No Name>' (0x2304) has exited with code 0 (0x0).
UserListView is disposed.
..

Finally, in attachment there's a screen from ANTS Memory Profiler. 


Please advice, how we could solve this problem? We spent some time before writing to support, so please be patient with my insistence.


Kind regards,
Ivan


Peter
Telerik team
 answered on 08 Mar 2012
9 answers
308 views
There is IsSelected property on cells and rows, but when I programically select row/cell, there is still one more selected (first row) which was there after grid initialization. I tried to deselect row by this, but with no result

 

if (radGridView1.CurrentRow != nullradGridView1.CurrentRow.IsSelected = false;

 

Svett
Telerik team
 answered on 08 Mar 2012
15 answers
769 views
Hi guys,

I'm trying to use a RadComboBox (window) in the main form of an application I'm developing.
As far a as I can see the autocomplete mode uses the entered text to filter those items starting with this text. I would like to go beyond this functionality by filtering those items which contains the entered text, not only at the begining but also in any place.

As an example, if I have a combobox containing cities and I write "lon" it should filter, not only "london" city but also "barcelona" (among others cities matching the filter).

Thanks in advance,

Martin.

Peter
Telerik team
 answered on 08 Mar 2012
4 answers
855 views
Hi,

I have a requirement to have a node with child nodes but for the child nodes not to be made visible to the user. It is really to keep the whole structure in the same place. I thought by making all child nodes and/or leaves visible=false this would mean that the parent node would not have an expand/collapse icon but this was not the case.

For example:

    Root
        Node A
            Section 1 (visible=false)
                Part 1 (visible=false)
                Part 2 (visible=false)
            Section 2 (visible=false)
                Part 1 (visible=false)
                Part 2 (visible=false)
                Part 3 (visible=false)
                Part 4 (visible=false)

I was expecting that "Node A" would not have expand/collapse as nothing was visible below it.

I found another forum entry that seemed to cover this but the attribute is no longer available;

"Disable expand icon and labeledit" - Jun 27, 2007

RadTreeNode node = this.radTreeView1.Nodes[0].Nodes["Search Folders"];  
node.StateImageIndex = -1;

Thanks,
Graham
Kenneth
Top achievements
Rank 1
 answered on 08 Mar 2012
3 answers
82 views
Hi,
I have a treeview set like this in Q1 2012:
            treeViewProjets.DataSource = ViewModel.Projets;
            treeViewProjets.DisplayMember = @"Nom\Nom";
            treeViewProjets.ValueMember = @"Id\Id";
            treeViewProjets.ChildMember = @"Projets\ObjetsProjet";
            treeViewProjets.NodeAdded += new RadTreeView.RadTreeViewEventHandler(treeViewProjets_NodeAdded);
            treeViewProjets.NodeAdding += new RadTreeView.RadTreeViewCancelEventHandler(treeViewProjets_NodeAdding);
            treeViewProjets.NodeFormatting += new TreeNodeFormattingEventHandler(treeViewProjets_NodeFormatting);

I get a root node and many child nodes created, but the events NodeAdded and NodeAdding are never triggered, NodeFormatting triggers fine.

Any idea?
Julian Benkov
Telerik team
 answered on 08 Mar 2012
6 answers
137 views

Hi,

I've been trying to create a theme for a RadTrackBar using Visual Style Builder. However, any changes you make to the RadTrackBar properties are not reflected in the Preview mode of VSB (thus, making it very difficult to design a theme).

Is this a bug, or is the RadTrackBar not supported by Visual Style Builder?

Thanks,
Tim
Boryana
Telerik team
 answered on 08 Mar 2012
3 answers
116 views
Hi,

Is there anything like this for the Winform Scheduler:
http://demos.telerik.com/aspnet-ajax/scheduler/examples/limitconcurrentappointments/defaultcs.aspx

I still want to keep all  the functionality ie drag and drop, resize etc I just want to check that no appointments overlap.

I can't see anything in the winform demo

Thanks
Ivan Todorov
Telerik team
 answered on 08 Mar 2012
1 answer
253 views
Hello,

I have i big big problem using a RadGridView and Entity Framework. As recently everything worked fine, but sine I've configured the last column correctly, the whole grid has turn read only and I can't even select a row.

I'm afraid it will be terribly complicated to details here, but if you turn this into a support ticket I could send you a copy of the project.

But to try to describe it:
The form as a datasource:
            return from oo in this.DataContext.OnlineOrders
                   where oo.oo_Deleted == false
                   select oo;

The grid has a datasource which is a subentity (this.DataContext.OnlineOrders.OnlineOrdersLine) from the selection here above.

The first column is a GridViewComboBoxColum is receiving ("Another EF query").ToList() as datasource for list items. And always contains values.

The last column, the one that seems to have just started the problem is a GridViewComboBoxColumn receiving ("Yet another EF query").ToList() as datasource for list items. And always contains blank/null at the start.


(This kind of situation already revealed one or two bugs in the past that were corrected in the Q3 2011 and Q1 2012, as I was doing exactly what I need to do, but the RadGridView had some behavioural bugs when using the relatively new Microsfot .NET 'Entity Framework'. So I can't even be sure if it is my fault or RadGridView's.)

Thank you for you help.
Julian Benkov
Telerik team
 answered on 08 Mar 2012
8 answers
173 views
Hi,
     Telerik Form templates (radform,radshaped form...) are missing in Visual Studio 2005. Am using Telrik v.2012.1.12.215.

All form templates are visible in Visual Studio 2010 project. What will be the solution for it?



Thanks & Regards,
Soumya,
Bangalore
Soumya
Top achievements
Rank 1
 answered on 08 Mar 2012
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
ProgressBar
CheckedDropDownList
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?