Telerik Forums
UI for WinForms Forum
1 answer
65 views
I have one radlistbox  which contains users names and fetching records from the database and i am comparing databse names and radlistbox uaernames if both are matching iam selecting that name in listbox but here iam getting exception

Here is my code

 

For i As Integer = 0 To dtusers.Rows.Count - 1

 

 

If fmEmailSubscription_chklistusers.Items.Count > 0 Then

 

 

For m As Integer = 0 To CheckedIds.Count - 1

 

 

If CheckedIds(m) = dtusers.Rows(i).Item(0) Then

 

fmEmailSubscription_chklistusers.SelectedValue = dtusers.Rows(i).Item(0)

 

fmEmailSubscription_chklistusers.SetSelected(fmEmailSubscription_chklistusers.SelectedIndex, True)

 

 

End

 

If

 

 

Next

 

fmEmailSubscription_chklistusers.SelectedValue = dtusers.Rows(i).Item(0)

 

End If

 

 

Next

 



I
Nikolay
Telerik team
 answered on 29 Oct 2009
3 answers
175 views
Hi guys
  i am new to know about radcontrols , i download the  radcontrols  and install it on my PC , but  i fail to include radcontrols  in Visual studio 2008,
Can any one tell me how i include radcontrols on VS 2008
  i shell be thankfull to him


 BEst regard
Waqas
Nikolay
Telerik team
 answered on 29 Oct 2009
1 answer
238 views
iam migrating one .net windows application to telerik, in my existing application i used windows checkedlistbox i want to migrate to rad control but there is no such control in toolbox.I want to know is there any alternative for this problem.
Nikolay
Telerik team
 answered on 29 Oct 2009
7 answers
211 views
The dropdown caret that lets the user select what buttons are visible, is there a way to disable this or make it only available when all the items do not fit on the toolStripItem.
Boyko Markov
Telerik team
 answered on 29 Oct 2009
1 answer
163 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
189 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
273 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
125 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
324 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
183 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
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
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?