Telerik Forums
UI for WinForms Forum
1 answer
133 views
Hello Telerik,

I'm not sure if it is specific to the beta version but I noticed that a property "IsChecked" of RadToggleButtonElement is set by the generated *.Designer.cs code by default, although I haven't touched the property myself at all. It eventually results in a warning: 'This property is obsolete. The ToggleState property must be used instead.'

Hope this helps.
Martin Vasilev
Telerik team
 answered on 28 Oct 2009
1 answer
161 views
Hi there,

My windows application includes Checked List box and Picture box in the forms. I am trying to migrate my application using RAD controls. I have looked into the Telerik RAD tool box but i couldnt find the Checked list box and Picture box. Could you please assist where could i find these controls.
Could you please provide few samples/Links which could help me migrate the controls.

Also could you please let me know how to handle Checked events in Telerik RadDatagridView check box column.

Thanks,
Prasad.
Nikolay
Telerik team
 answered on 28 Oct 2009
3 answers
226 views
Hi,  I'm using the latest version of the winform controls.  My grid has a checkbox and some text columns.

when a user clicks a checkbox in one column, I want to place a value into one of the text columns on the same row.

I've experimented with the ValueChanged and ValueChanging events but it's not obvious how to achive this from the documentation.

it's almost working but for some reason my checkboxcell value always returns nothing.. inspected it looks like {} .  The field changes in the UI quite ok, and accessing it later (via a save button on the form) in the same format gives me the correct value, but just not in the changing events?!

inspecting or setting the other columns is no problem either.

firstly, am I going about this the right way?

While i'm here I should also ask how to stop the changing events firing on demand? (when I first load the data i databind then update some fields, and I note the events firing when I programmatically update, no doubt there is an easy way to prevent this without unhooking the event handler).

if (sender is GridCheckBoxCellElement)  
{  
   GridCheckBoxCellElement g = (GridCheckBoxCellElement)sender;  
   MyObject o = (MyObject)g.RowInfo.DataBoundItem;  
   row = g.RowInfo;  
 
   if (row.Cells["checkboxcell"].Value.ToString() == "False" )  
   {  
      row.Cells["othertextcell"].Value = "";  
   }  
   else 
   {  
      row.Cells["txtKeyWord"].Value = o.myproperty;  
   }  
  
cheers
ewart
Nikolay
Telerik team
 answered on 28 Oct 2009
1 answer
110 views
i have bind my chart control with the database table
u can see the picture here          http://www.c-sharpcorner.com/Forums/ShowMessages.aspx?ThreadID=68854

DataSet ds = new DataSet();
            SqlConnection con = new SqlConnection("Data Source =.\\SQLEXPRESS;Initial Catalog = schoolmgt; password=; Integrated Security = true;");
            con.Open();
            SqlCommand cmd = new SqlCommand("select Paper1,Paper2,Paper3,Paper4,Paper5 from Student_Exams_Marks_Detail where S_ID='" + comboBox3.Text + "'and Section='"+comboBox2.Text+"' and Class='"+comboBox1.Text+"' ", con);
            SqlDataAdapter da = new SqlDataAdapter(cmd);
            da.Fill(ds, "v");
            radChart1.PlotArea.XAxis.AxisLabel.TextBlock.Text = "Years";
            radChart1.DataSource = ds.Tables["v"];
            radChart2.DataSource = ds.Tables["v"];
            radChart3.DataSource = ds.Tables["v"];
            radChart4.DataSource = ds.Tables["v"];
            // MessageBox.Show(ds.Tables["v"].Rows[0][1].ToString());
            //radChart1.Skin = "LightBlue";
            radChart1.DataBind();
            radChart2.DataBind();
            radChart3.DataBind();
            radChart4.DataBind();
            radChart2.ChartTitle.TextBlock.Text = "MY chart";
            ChartSeries s1 = new ChartSeries();
            s1.Name = "vikas";                 /////////// this is not working

The problem is that the series name are according to database table , but i want to put diff lables , how can i do this for more clearly understand my problme u can see picture
here 
http://www.c-sharpcorner.com/Forums/ShowMessages.aspx?ThreadID=68854

Dwight
Telerik team
 answered on 28 Oct 2009
2 answers
295 views
Hi there,

I have a RadChart which one I use to represent discret double values.
So I create as many ChartSeries as I need and I added items -by using ChartSeries.AddItem(Value, String) -.
For my need, every single value added to the ChartSeries has a corresponding DateTime value, so I need to add DateTime values to the X Axis.

The problem is that while I create the ChartSeries I can't add a DateTime value, a ChartSeriesItem  only has double on X and Y axis.

I also tried to add the DateTime x axis values by using the RadChart.PlotArea.XAxis.AddItem(Date.ToString()), but that makes no sense because only recieves string, not DateTime values.

So how can add a DateTime value to the X Axis which match a value at the ChartSeries ?

And hoh can add a ToolTip to the  ChartSeriesItem?, I tried ChartSeriesItem.ActiveRegion.Tooltip  but I don't see it, so I think it does not work.


Thanks a lot,

Javier Andrés Cáceres Alvis
Blog Personal: http://speechflow.spaces.live.com/
Blog Intel: http://software.intel.com/en-us/blogs/author/javierandrescaceres/
javier
Top achievements
Rank 1
 answered on 28 Oct 2009
1 answer
157 views
In Rad Editor i entered some URL in hyperlink option. And saved the text. When i  clicked on Edit hyperlink option the values are not setting properly( like it is adding amp; for '&').
Example: I Entered the URL like this http://Sample.com/Issue.aspx?Id=1&SecondID=2&ThirdID=3;
the above URL is displaying like below in Edit mode in hyperlink popup:
http://Sample.com/Issue.aspx?Id=1&SecondID=2&ThirdID=3;
(this is the first time)
http://Sample.com/Issue.aspx?Id=1&SecondID=2&ThirdID=3;(this is the second time. Keep on adding amp; each time to '&' in hyperlink popup)

Thanks,
Chakradhar
Rumen
Telerik team
 answered on 28 Oct 2009
1 answer
125 views
I have some text in Notepad with paragraphs and the space between paragraph is 2 lines and when I copied same text from notepad or word pad and pasted in RAD Editor, I did not have any space between the parapgrahs, the new paragraph was just started on  a new line, no space seperator especially in IE.
When I started adding space between the paragraph from the editor, it added about 5 spaces viually but only 1 when we are done editing. Basically what you see IS NOT what you get.

Thanks,
Chakradhar

Rumen
Telerik team
 answered on 28 Oct 2009
5 answers
80 views
Dear,

When I'm dragging a row from one GridView to another and I'm at the bottom of the GridView (where I want to drop the row), the GridView won't scroll down (I've attached an image to make the problem clearer).
Is there a property available which enables this or do I need to implement this myself? Just to make sure I don't do extra work :o)

Thanks in advance!
Jack
Telerik team
 answered on 28 Oct 2009
9 answers
337 views
I have a grid view with several columns that have text wrap turned on. AutoSizeRows is on. To set the row heights I am using the workaround described here. This works well for all rows that are initially visible.

1.
However, whenever I scroll down to other rows, the newly visible rows are displayed with incorrect row heights even though their height has been calculated correctly upon cell creation.

2.
Also I am not finding a way to force a row resize after cell contents have changed (e.g. long text entered).

Is there a way to force a row resize, e.g. hooked up to CellFormatting? Is there a timeline for implementing the AutoSizeRows enhancements that have previously been mentioned?

Thanks & kind regards
Frank
Jack
Telerik team
 answered on 28 Oct 2009
1 answer
159 views
After upgrading to the latest beta (Nov. 2009) I am now seeing Child View Tabs on the grids.  How do you turn these off?
Jack
Telerik team
 answered on 28 Oct 2009
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?