Telerik Forums
UI for WinForms Forum
4 answers
185 views
Hi guys,
sorry if this has been asked before but so far i couldn't find such topic for C#. so again asking the experts to help me.
so i'm using VC# 2010 SP1, RAD Q2 2012.

so i have the following datatable and dataset. code below

DataSet SelPreDS = new DataSet();
    DataTable SelPreDT;
 
SelPreDT = SelPreDS.Tables.Add();
 
    SelPreDT.Columns.Add("ID", typeof(Int32));
    SelPreDT.Columns.Add("Code", typeof(string));
    DataColumn dc = new DataColumn("ParentCode", typeof(string));
    dc.AllowDBNull = true;
    SelPreDT.Columns.Add(dc);
    SelPreDT.Columns.Add("Name", typeof(string));
    SelPreDT.Columns.Add("Type", typeof(string));
      SelPreDT.Columns.Add("isCheck", typeof(Boolean));
     SelPreDT.Columns.Add("Price"typeof(Int32)); 

and i add values to the datatable like this

DataRow dr = SelPreDT.NewRow();
 
                dr[0] = id;
                dr[1] = code;
                dr[2] = ParentNoteID;
                dr[3] = Name;
                dr[4] = "Process";
      dr[5] = true;
dr[6] = 6.66;
                SelPreDT.Rows.Add(dr);


so my datatable is something like below when values are added.

0 | IT01 |          | name1 |  Process0  | true  | 5.55
1 | IT02 | IT01  | name2 | Process0   | True | 2.66
2 | IT03 | IT02 |  name3 | Process0 | True  | 6.46

so my question is now how can  i use the datatable above  to populate the radTreeview and then
when user edit the price value in radtreeview it should get updated in the datatable as well as
 the checkbox state.

Could you please include an example. 

thank you for your help.

suren.




Stefan
Telerik team
 answered on 01 Aug 2012
2 answers
119 views
Hello,

Any chance y'all could expose the event dispatchers? By that I mean, specifically, ones like OnEditorRequired, OnEditorInitialized.

Reason being, we're extending from PropertyGrid in order to customize it into our application framework, and one of those customizable parts is having custom editors available. That'll give us flexibility what sort of hooks we want to incorporate.

The events themselves will work for now, but that starts to get somewhat decentralized from the control in an application workspace that is already dysfunctional as it is (ours not yours).

Thank you...

Best regards...
Ivan Petrov
Telerik team
 answered on 01 Aug 2012
8 answers
273 views
Dear friend!
        I had created a common table in (SQL SERVER 2005) for storing input appointment from webform radscheduler.
        I want to retrieve the stored appointment and placed it into the winform radscheduler.

        But i can't able to place the appointment, because of the recurrence rule. The recurrence rule in radscheduler is differs in winform and webform. How can I set or convert the webform recurrence rule into winform recurrence rule.
    It is possible!
    Please help me. I hope that you will help...


By
P. Arul Kumar
Daniel
Top achievements
Rank 1
 answered on 31 Jul 2012
3 answers
174 views
I'm using a MaskEditBox with a Numeric MaskType and Mask = c
I have some event that I'm handling when people type in the control.
I'm having an issue when the user scroll is mouse in the control, the value is changed and I don't want that to happen.
Is there a way to block the Mouse scroll in the control? I don't want the value to change when the user scroll the mouse in the control.
Peter
Telerik team
 answered on 31 Jul 2012
1 answer
261 views
Hi

I have ListView in "detailsView" Mode with two columns.

Now I want to add Entries to this list.
Dim lvItem1 As New ListViewDataItem()
lvItem1.Item(0) = "CL1"
lvItem1.Item(1) = "1000"
lvItem1.Tag = New clsFoundationPlane("CL1", 1000)
Me.lvHorValues.Items.Add(lvItem1)
 
Dim lvItem2 As New ListViewDataItem()
lvItem2.Item(0) = "CL2"
lvItem2.Item(1) = "2000"
lvItem2.Tag = New clsFoundationPlane("CL2", 2000)
Me.lvHorValues.Items.Add(lvItem2)

Now I have two lines in my ListView but with no text in it. What have I done wrong?

Second question:
How can I reorder my entries. I have two buttons with "Up" and "Down". So that the selected item can be moved in the list upd and down.

Thanks Flo
Ivan Todorov
Telerik team
 answered on 31 Jul 2012
6 answers
246 views
Hi,

I can understand if major changes have to be made to a module because of poor or faulty structural prior constructs.

All developers develop... (we all know of times where we didn't know... and made decisions...)

My frustration with the new version of the ChartView module is that I can't find the appropriate documentation - and I can't find examples. I have spend hours reviewing, checking, comparing and getting frustrated. For me, this has been a time consuming update. I believe the new charting module will have many possible advantages for the future but I have to get rolling in the here and now. 

Could you give me links of examples. I might be missing some simple issues. But they are missing for me. I have a simple example: 
BarSeries barSeries = new BarSeries("Anzahl", "mySelection");
barSeries.ValueMember = "Anzahl";
barSeries.CategoryMember = "mySelection";
radChartView1.Series.Add(barSeries);
radChartView1.DataSource = dt;


Why shouldn't that work? I get the grid, the values on the x and y axes but not the data (the bars) displayed in the area.

However, it works if I do a Lineseries. However, lines are not appropriate in this application.

Waiting for your feedback,

Karl








Julian Benkov
Telerik team
 answered on 31 Jul 2012
1 answer
195 views

please let me know ,if there is any possibility to change grid color programmatically without using theme. i need to change header color and row color 
Stefan
Telerik team
 answered on 31 Jul 2012
2 answers
265 views
Hi there.  I have a radgridview inside a radpanel (radpanel has autoscroll=true).  Whenever the radgridview expands & is scrolled down upon -  the back part of the panel contains horizontal lines, if I click near them they disappear.  Does anyone know what is causing this?

Thanks!



 
jean michel
Top achievements
Rank 1
 answered on 31 Jul 2012
4 answers
163 views
Hi all,

I've just upgraded my telerik winform components libraries to version 2012.2.608.20 and encountered some issues related to telerik theme. There are 2 issues that emerged:
  1. I have a project that uses splash screen (I use telerik form and other telerik controls inside the splash screen). I used to use ThemeResolutionService.ApplicationThemeName property on my Form.Load handler to set theme for entire application and it worked fine. But now it always  throws InvalidOperationException that says "Cross-thread operation not valid: Control 'SplashScreen1' accessed from a thread other than the thread it was created on.". I also try not to use telerik controls on my splash screen but it works fine. It looks like the theme engine tries to change the theme of the telerik controls inside the splash screen. 
  2. In designer environment I used to be able to change the controls' ThemeName property to for instance "TelerikMetro" as long as I have "TelerikMetro" theme component placed inside my main form. But now the property doesn't show "TelerikMetro" option even if I have placed "TelerikMetro" theme component inside my main form.

Is there any solution to handle this issues? 

Thanks
Nikolay
Telerik team
 answered on 31 Jul 2012
1 answer
88 views
Hi

Since updating to the latest build (2012.2.608.20) the TREEVIEW does not accept the theme for Office2007Black.

I found the problem because I use "ThemeResolutionService" to globally set the application theme and it causes problems on the TREEVIEW when I use Office2007Black.

Any work arounds ?

Paul.
Nikolay
Telerik team
 answered on 31 Jul 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
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?