Telerik Forums
UI for WinForms Forum
9 answers
173 views
Hi
I got a weird Problem:
If i compile my .exe file, i can run it without problems..
but if i want to run it on another computer, the app crashes and says, it cant find Telerik.WinControls and/or Telerik.WinControls.UI. What am i doing wrong?

regards
Richard Slade
Top achievements
Rank 2
 answered on 11 Nov 2010
5 answers
210 views
Hello,

I come to you in order to expose a problem I meet with RadDropDownList with dropDownlist option.

In fact when I want to scroll almong the items I meet a special behavior where the dropDownlist is scroolling, but the form behind scrool too, and the dropdownlist is finally detached.

Screenshot here

I didn't find any issues in forum regarding this behavior. Is it already referenced at your level?

Any information?

Thanks for your help
Regards

Denis
Peter
Telerik team
 answered on 11 Nov 2010
4 answers
209 views
Hi,

i've got some problems when i want to put a newly added row in edit mode through code.
My scenario is:
Q 2010 Sp2 GridView, which is bound to a BindindSource. The BindingSource is bound to an ObjectResult (EF4).
I wanted to add a new row via BindingSource.AddNew method.
Then i wanted the first cell of that newly added row to be in edit mode without any extra clicks.
The cell editor should be shown and ready to receive my input.

None of forums threads regarding "putting a cell in edit mode programatically" worked for me.
So i am looking for a general solution.

Kind Regards
Kim
Richard Slade
Top achievements
Rank 2
 answered on 11 Nov 2010
2 answers
340 views
hi,

I am new in rad ribbon form, I've just added new rad ribbon form, I need to do many thing in that form, so I was trying to go to demo project "Bug Tracker" in "RadControls for WinForms Q2 2010 SP2 Demos", but I am unable to open it !!

I got errors in initialization of form in visual studio environment, please check the attached image: telerik rad form 'bug tracker'.png.

so I need a clean tutorials and example for changing ribbon form to office 2007 black theme, adding ribbon bars, adding controls to ribbon bars and so on. easily, I wanna do something looks like "Bug Tracker", please refer to this image: bug_tracker_demo.jpg



thanks
Stefan
Telerik team
 answered on 11 Nov 2010
2 answers
149 views
To whom it may concern,

I use RadControls for WinForms Q2 2010 SP2, I have my own Themes for different components, I want to apply them to an Application in my computer works correctly with themes i make an .Exe and work fine with themes. But when I change the .Exe to another computer. It works but without themes. So i want to know how to apply the themes in a .Exe also I don't want to create a Folder with the themes in the directory of the .Exe for example. I just want the .Exe with the themes. Is that possible?.

Regards,
Ing. Jesús M. Astorga L.
Stefan
Telerik team
 answered on 11 Nov 2010
25 answers
977 views
Hi,

In my grid i have two columns. The first column are binded to a list of custom datatypes. 
A custom datatype can be: DataTime, number or list of strings.
The second column should be of the type that the first column selected value is on the same row.

So if the selected value in the first column is DateTime, then the second column (ON THIS ROW) should show a DataTimePicker. 
If the selected value in the first column is a "list of strings", then i have to lookup the value in the database and present the second column (ON THE SAME ROW) with a list of strings in a combobox and so on.

1. Is there any way to do this?
2. How do i get the bounded item from the combobox in the first column?

/ST
Svein Thomas
Top achievements
Rank 1
 answered on 11 Nov 2010
1 answer
152 views
Hi,
         I would like to add a combobox column in RadGridview and I have added it. Now the Problem is how to add items into those comboboxcells dynamically and also when i would like to display the related information in nearby texboxcell in radgridview depending upon the users selection. Please provide immediate attention...


                                                       Thanking You

Regards

Zeno..
Emanuel Varga
Top achievements
Rank 1
 answered on 11 Nov 2010
4 answers
111 views
I need to create a chart with more than three Y-axies as my attach file show.
Is there any way to create this kind of chart?
JC Wu
Top achievements
Rank 1
 answered on 11 Nov 2010
10 answers
655 views
Hi,

I'm currently evaluating different grids. For a current project we need a grid which can display up to some 100.000 rows. Currently I'm testing with a file which is 50 MB in size and has almost 500.000 lines. Of course this is a case where the virtual mode is required. For comparision I have made a small app, which reads in the file and displays them in a grid. First version is just the normal way adding the lines to a datatable and binding it to the grid.

StreamReader sr = new StreamReader(Application.StartupPath + "\\Data\\beispieldaten2010_50mb.csv", Encoding.Default);
 
DataTable dt = new DataTable();
 
dt.Columns.Add("Spalte 1");
...
dt.Columns.Add("Spalte 14");
 
while (!sr.EndOfStream)
{
    dt.Rows.Add(sr.ReadLine().Split(new char[] {';'}));
}
 
radGridView1.DataSource = dt;

Start this app and after almost 5 seconds the grid is filled with data. Memory usage at this moment approx 370 MB. Now the virtual mode where the memory usage is expected to be much lower isn't it?

StreamReader sr = new StreamReader(Application.StartupPath + "\\Data\\beispieldaten2010_50mb.csv", Encoding.Default);
 
ArrayList al = new ArrayList();
while (!sr.EndOfStream)
{
    al.Add(sr.ReadLine().Split(new char[] { ';' }));
}
 
radGridView1.VirtualMode = true;
radGridView1.CellValueNeeded += new Telerik.WinControls.UI.GridViewCellValueEventHandler(radGridView1_CellValueNeeded);
 
radGridView1.ColumnCount = 14;
this.radGridView1.RowCount = al.Count;

And the event handler code is here:
void radGridView1_CellValueNeeded(object sender, Telerik.WinControls.UI.GridViewCellValueEventArgs e)
{
    string[] c = (string[])al[e.RowIndex];
    e.Value = c[e.ColumnIndex];
}

Starting thgis app it takes 5 seconds and the memory usage is surprisingly at 370 MB. So there seems not to be any change. What have I done / unterstood wrong? Setting a breakpoint to the eventhandler shows, that this part of code is unreachable and seems not to be called. So where comes then the data from?

Thanks for your help,
Michael
Emanuel Varga
Top achievements
Rank 1
 answered on 10 Nov 2010
4 answers
123 views
I have a radWinform application with a radmenu and a radpageview. Menu is docked to the top and pageview is docked to fill. Now I want to add a radToolStrip, in between the menu and the pageview. If I change the pageview to dock none, add the toolstrip and dock to top, then change the pageview to fill, it underlays the toolstrip. If I cut the pageview before adding the toolstrip, I get two errors saying Object reference not set to an instance of an object. I then paste it back and the docking is fine, however my two radSplitPanels that were on one of the pageviewpages are gone. Is there an easy way to accomplish this without rebuilding my form?

Thanks, Steve
Richard Slade
Top achievements
Rank 2
 answered on 10 Nov 2010
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?