Telerik Forums
UI for WinForms Forum
2 answers
145 views
Hello,

I use LoadXML() and then try to find a specific panel through the ID. If the layout contains hidden (unpinned) DockPanels, I don't find them with the following sample code.
foreach (IDockingSite site in this.mDockingManager.DockingSites)

foreach
(IDockable dockable in site.ManagedDockables)
if (dockable.ID.Equals(equipmentID))
    return(DockPanel)dockable;

Are hidden panels not stored in the ManagedDockables collection?

Thanks, Roland
Roland
Top achievements
Rank 1
 answered on 07 Nov 2007
5 answers
668 views
I have a RadTabStrip1 inside a form and within each of the ContentPanel (tabs) i have multiple controls... picture boxes, labels, buttons, textboxes.  When I load up the panel or change tabs in the UI, there is significant screen flicker and slow loading.  When i put all the controls in their own panel or into the standard VS TabStrip, painting works well when loading and switch b/w the tabs.

Anything that I can do in order to minimize or eliminate this?  When I run on a smaller machine (graphics card) everything is much slower.

Any ideas?
Mike
Telerik team
 answered on 07 Nov 2007
1 answer
127 views
I am evaluating telerik controls, and presently the treeview. I am trying to find out what properties I can recover from the selected node to use that to build other grids etc.

I have noticed some useful properties marked as obsolete and wondered how I can get the index property value and the parent index and tag property.

Ian
Jordan
Telerik team
 answered on 06 Nov 2007
1 answer
90 views
Hello, I want to show an XYgraph and let the user modify it (graphically). Later, I want to take the values to save them in my database. Can I do this whit any of your products?
Thanks a lot.
Kiril
Telerik team
 answered on 05 Nov 2007
2 answers
170 views
This is great that Telerik is working on a CAB kit. When you try to build the solution in VS 2005, it lists several files that are missing from the download. Am I missing something? The application runs fine if started from shell.exe in the bin folder

Error    1    Source file 'C:\learning\TelerikCAB\FinanceApplicationCAB\Source\Infrastructure\Infrastructure.Library\Services\XmlStreamDependentModuleEnumerator.cs' could not be opened ('The system cannot find the file specified. ')    Infrastructure.Library

Error    2    Source file 'C:\learning\TelerikCAB\FinanceApplicationCAB\Source\Infrastructure\Infrastructure.Library\Services\WebServiceCatalogModuleInfoStore.cs' could not be opened ('The system cannot find the file specified. ')    Infrastructure.Library

Error    3    Unable to create a manifest resource name for "Views\StockDetailsView\StockItemDetailsControl.resx". Could not find file 'C:\learning\TelerikCAB\FinanceApplicationCAB\Source\Infrastructure\Infrastructure.Module\Views\StockDetailsView\StockItemDetailsControl.cs'.    C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.CSharp.targets    63    9    Infrastructure.Module

Error    4    Unable to create a manifest resource name for "Views\StockPortfolioView\StockPortfolioTreeView.resx". Could not find file 'C:\learning\TelerikCAB\FinanceApplicationCAB\Source\Infrastructure\Infrastructure.Module\Views\StockPortfolioView\StockPortfolioTreeView.cs'.    C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.CSharp.targets    63    9    Infrastructure.Module


Error    5    Unable to create a manifest resource name for "Views\StockPortfolioView\StockPortfolioView.resx". Could not find file 'C:\learning\TelerikCAB\FinanceApplicationCAB\Source\Infrastructure\Infrastructure.Module\Views\StockPortfolioView\StockPortfolioView.cs'.    C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.CSharp.targets    63    9    Infrastructure.Module




spinozagl
Top achievements
Rank 1
 answered on 02 Nov 2007
1 answer
108 views
Hello,

I'm just getting started with the WinForm Controls and having a little trouble with the Ribbon bar.  Basically, I would like to to resemble Excel 2007 as it has an MDI. 

First, the main reason to use the shaped form is for the Ribbon bar.  Is there a way to get a decent boarder to resemble the Office Applications?  I have tried using the preset shapes, but it doesn't quite have a usable border as the ribbon bar hides it.

Secondly, when set as MDI, it is not resizable.  The only work around I found was to put an MS statusStrip to get the resize handle.  Is there a better way?

Lastly, it's not a requirement, but is there any way to utilize Vista's Aero Interface?  I tried setting EnableCompositionOnVista, but it didn't quite look correct.

Thank you,
Scott
Peter
Telerik team
 answered on 02 Nov 2007
3 answers
263 views

Hi, I have a problem with  adding a child node dynamically.
I'm using the RadControls for WinForms Q2 2007 SP1.

I wrote a following code: 

1. Show RadTreeView with two nodes.
2. When button clicked, add one node to RadTreeView.

But 2. is not working(RadTreeView has still two nodes).
How do I add a new node to RadTreeView?

private void Form1_Load(object sender, EventArgs e)  
{  
    DataSet dataSet1 = new DataSet();  
    tocTable = new DataTable("Toc");  
    tocTable.Columns.Add("Title"typeof(string));  
    tocTable.Columns.Add("Target"typeof(string));  
    tocTable.Columns.Add("id"typeof(int));  
    tocTable.Columns.Add("parentId"typeof(int));  
    dataSet1.Tables.Add(tocTable);  
 
    DataRow row = tocTable.NewRow();  
    row["Title"] = "Main Title";  
    row["Target"] = "d03.xml";  
    row["id"] = 1;  
    row["parentId"] = -1;  
    tocTable.Rows.Add(row);  
 
    row = tocTable.NewRow();  
    row["Title"] = "Child Title";  
    row["Target"] = "d0300000.xml";  
    row["id"] = 2;  
    row["parentId"] = 1;  
    tocTable.Rows.Add(row);  
 
    radTreeView1.DataMember = "Toc";  
    radTreeView1.DisplayMember = "Title";  
    radTreeView1.ValueMember = "id";  
    radTreeView1.ParentIDMember = "parentId";  
    radTreeView1.DataSource = dataSet1;              
 
}  
 
private void radButton1_Click(object sender, EventArgs e)  
{  
    DataRow row = tocTable.NewRow();  
    row["Title"] = "New node";  
    row["Target"] = "target";  
    row["id"] = 3;  
    row["parentId"] = 2;  
    tocTable.Rows.Add(row);  
      

Thank you in advance.

Keisaku
Julian Benkov
Telerik team
 answered on 02 Nov 2007
1 answer
303 views
How can i modify dynamically the MArgin/ PAdding Value of a RadComboBoxItem?

All i get is an error:

Cannot modify the return value of 'Telerik.Wincontrols.RadElement.Margin' becasue it is not a varible


thank you
Peter
Telerik team
 answered on 02 Nov 2007
10 answers
463 views
Okay folks you got me confused on this one.

I gather that the height setting of the RadTextBox is based on the font size being used within the textbox. The problem is that the text is too close to the bottom edge of the textbox. The spacing between the top edge of the textbox and the actual text is fine but the bottom edge of the textbox does not have the same spacing.

this would be okay - sorta - if you could manually adjust the height of the textbox but I have note been able to find where this can be done. I have tried setting the height size from wothin the RootElement tree (Size) and from the standard Size setting but thet both automatically reset to the intial height size set when the control is placed or the font size is changed.

Steven Hodson
WinExtra / Hodson Report
http://www.winextra.com
http://www.hodsonreport.com
Angel
Telerik team
 answered on 01 Nov 2007
3 answers
182 views
I have a DropDownList in my windows application. When i open the list and move the window where the dropdown sits in, the opened list gets detached from the control and just sits on the screen. I use controls from the Q2 2007 release but i also tried the release before and encounter the same strange behavior. how can i get rid of this behavior?

Thank you
Georgi
Telerik team
 answered on 01 Nov 2007
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
CheckedDropDownList
ProgressBar
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
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?