Telerik Forums
UI for WinForms Forum
5 answers
156 views
We've bought Devexpress in 2009 and use it all the time.Last week,we found telerik can write WPF-like window form,so we downloaded and tried it to evaluate to buy or not.we found some problem which prevent us from using it. 
     1.when we place a  radtreeview in the form,and click "open property builder", in the RadTreeView Property Builder dialog,we can't see OK,Cancel and Apply button.It seems Property Builder dialog have the same problem.
      2.Sample or demo program have region and language problem.We can't build the demo at first,after changing region and language to english,we can build it.I found there are  many "..." characters [0x85] in the program,which will lead to some problem in other region code.
      we tried it in many computers and  these problems still exist.

      Enviroment : windows 7 ultimate   simplified chinese   , Visual studio 2010 premium [chinese and english]
Jack
Telerik team
 answered on 19 Sep 2011
5 answers
173 views
I have upgraded to RadControls for WinForms  Q2 2011 (version 2011.2.11.831) from Q3 2010 SP1 (version 2010.3.10.1215)

In Q3 2010, the RadMaskedTextBox supports a right click menu.  In Q2 2011, it does not.

Am I doing something wrong ? (my code hasn't changed).  I noticed that it still does exist on the RadTextBox.

If it was removed (or is a bug), how do I recreate/enable the right click functionality.

Thanks,
Chet
Peter
Telerik team
 answered on 17 Sep 2011
2 answers
100 views
I attempted to reinstall RadControls for WinForms 2001 Q2 (8/31/2011) after being unable to use the designer for the new RadPage controls in Visual Studio 2008. I tried a repair installation; when that didn't work, I uninstalled it completely. Now when I try to install, the installer reports the error:

The feature you are trying to use is on a network resource that is unavailable.

Click OK to try again, or enter an alternate path to a folder containing the installation package 'RadControls_WinForms_2011_1_11_419_dev.msi' in the box below.

The installer I'm using is RadControls_WinForms_2011_2_11_0831_dev.msi', located on my desktop.

I've downloaded another copy, thinking the file may have gotten corrupted, but I received identical results the second time. When I tried to select the installer by browsing to my desktop file, I get the error that the installer "is not a valid installation package for the product Telerik RadControls for WinForms Q1 2011", then reference the "_419_dev.msi" file again.

I thought Q2 was out of beta, but I'll install Q1 if it works. What do I need to work around this error?
Ed
Top achievements
Rank 1
 answered on 17 Sep 2011
2 answers
147 views
Hi,

I want to disable the commandbutton when the user is adding a new row, but I'm not finding the way to do this.

Please I need some Help. Thanks.
Amador
Top achievements
Rank 1
 answered on 16 Sep 2011
4 answers
134 views
Hello Admin!

I have a SpinEditor value = 3. I use ValueChanged event so do it. When value of that control to 2, I call MessageBox. But button Down of that control set yellow color (spineditor.jpg).
I want that control not set yellow color & reset that control.

Help me!
Thank you!

My code :

private void spChangedGridView_ValueChanged(object sender, EventArgs e)
{
        if (int.Parse(spChangedGridView.Value.ToString()) < 3)
         {
                spChangedGridView.SpinElement.Value = 3;
                MessageBox.Show("NO");
         }
}
remeo
Top achievements
Rank 1
 answered on 16 Sep 2011
1 answer
144 views
To summarize what I am attempting to do, I am attempting to export data items from a RadListView (databound) to Excel using a RadGridview and RadGridViewExcelExporter.

This is actually a 2-part issue: 
The first issue involves populating with data the RadGridView object that is passed to the RadGridViewExcelExporter (see below).

void Export_to_Excel(String myExcelFile)
{
RadGridView myGridView = new RadGridView();
myGridView.DataSource = myDataSet.joberrors;
RadGridViewExcelExporter exporter = new RadGridViewExcelExporter();
exporter.Export(myGridView, myExcelFile, "Sheet1");
exporter = null;
myGridView = null;
}

myDataSet.joberrors is the datasource of my RadListView and contains 2 rows and 14 columns.  Using the above code, myGridView contains 0 rows and 0 columns even after the datasource is set.

To solve this I used     

    
myGridView.LoadFrom(myDataSet.joberrors.CreateDataReader()); 


now myGridView is successfully populated with data, but the second problem now rears its head...

After exporting the data to Excel using the RadGridViewExcelExporter , the exported worksheet only contains one column - the primary key of myDataSet.joberrors?.

Any ideas what I am doing wrong?  Is there an easier way to do this?

Thanks
Emanuel Varga
Top achievements
Rank 1
 answered on 16 Sep 2011
1 answer
142 views
Hi, 

I want to use AutoGenerateHierarchy, but I am having a hard time, telling the grid to not show certain columns. I added child templates with the name in the properties of the object being displayed, and marking these columns as not visible, but these templates just get ignored. 

How can I control what which columns get displayed when using AutoGenerateHierarchy ? 

thanks. 
Emanuel Varga
Top achievements
Rank 1
 answered on 16 Sep 2011
7 answers
384 views
We have a requirement to check a single row in the radgridview.
What should be the approach for this requirement using RadGridView, we need to use a checkbox column or is there any radio button column.
Please help me regarding the above.

Martin Vasilev
Telerik team
 answered on 15 Sep 2011
5 answers
94 views
Hello
When add

 

  dg.Relations.AddSelfReference(dg.MasterTemplate,"ID", "IDPARENT");

The event bnds_PositionChanged works only when go with level on another.

А within

the one level does not work.

 

Operation of the removing does not work too.

 

Thanks!


Julian Benkov
Telerik team
 answered on 15 Sep 2011
1 answer
167 views
I'm using RadControls for WinForms  Q2 2011 (version 2011.2.11.831)  and would like to highlight the Checkbox when it has focus to make it easier for my users to find the focused field.  I have code working with the Enter/Leave events for RadButtons and RadDropDownLists but am unable to get it working for the RadCheckBox.  I've tried using the BackColor/ForeColor properties of the ButtonElement.ButtonFillElement object but to no avail.

Here is my class code for the RadButton:
this.Enter += new EventHandler(BaseButton_Enter);
this.Leave += new EventHandler(BaseButton_Leave);
  
void BaseButton_Enter(object sender, EventArgs e)
  {
      this.ButtonElement.ButtonFillElement.BackColor = Color.Blue;
      this.ButtonElement.ForeColor = Color.White;
      this.ButtonElement.ButtonFillElement.GradientStyle = Telerik.WinControls.GradientStyles.Solid;
  }
void BaseButton_Leave(object sender, EventArgs e)
  {
      this.ButtonElement.ButtonFillElement.ResetValue(LightVisualElement.BackColorProperty, Telerik.WinControls.ValueResetFlags.Local);
      this.ButtonElement.ResetValue(LightVisualElement.ForeColorProperty, Telerik.WinControls.ValueResetFlags.Local);
      this.ButtonElement.ButtonFillElement.ResetValue(LightVisualElement.GradientStyleProperty, Telerik.WinControls.ValueResetFlags.Local);
  }

How can I do a similar effect for the RadCheckBox.

Secondly, I'd actually like to not hard code the colors, but to use the Selected Text Color of the TextBox (I'm assuming this comes from the Theme in use).  How do I access the information ?

Thanks,
Chet
Ivan Petrov
Telerik team
 answered on 15 Sep 2011
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?