Telerik Forums
UI for WinForms Forum
1 answer
115 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
202 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
154 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
292 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
356 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
552 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
225 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
1 answer
220 views
Hi,

I have set the BackColor of the RadTabStrip to (228, 238, 250), and it works in the Designer. This even produces the code in InitialiseComponent():

this.radTabStrip.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(228)))), ((int)(((byte)(238)))), ((int)(((byte)(250)))));

Yet, when I Build and Run, the colour changes in the designer and at runtime to ControlLightLight.

Any ideas?

Nikolay
Telerik team
 answered on 01 Nov 2007
1 answer
277 views
I am new to the radGridView.  I usually write web applications, but now I am writing a winForms application.  I decided to use the Telerik tools because of my experience with them on web apps.

So here is what I am doing...
I have a radGridView that has a BibdingList<People> for the datasource.  This works great in the grid.  I have some fields on the page that let you add a Person to the List.  It correctly gets added to the grid, but the grid now has a vertical scrollbar even though there are only two items in it.  There is also only one item visible, but I can scroll up to see the other row.  The grid is sized big enough to show about 40 items.

I added this code radGridView1.GridElement.ScrollToRow(0); to force it to scroll ot the top.  This works except that every time you add an item to the list, you see the vertical scrollbar flash on then off really fast because of the way the item is added then the code forcing it to the top.

I am sure there is a property that I have set wrong, but I am at a loss for where to go.
Jack
Telerik team
 answered on 01 Nov 2007
5 answers
214 views
Hi ,

Can you please provide me solution for merging two colums in RadGridview and removing columns separting line.

Thanks
Sushil
Dwight
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)
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
ScrollablePanel
DataEntry
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?