Telerik Forums
UI for WinForms Forum
17 answers
926 views

Hi.

I'd like to bind the DataTable (contains a single DataRow) to radPropertyGrid: each row in radPropertyGrid should represent sequental value from DataRow. As I've understood it is quite possible. But I also want to add IsReadOnly and Category attributes to each property created this way. I have arrays of appropriate length where there each value should be applied to same index's attributes of (DataRow value as Property) in radPropertyGrid.

Moreover I have plans to get changes from this radPropertyGrid to create an update statement for my database.

I'm afraid I'm not quite skilled to complete these tasks without some help as I have some problems with understanding TypeDescriptors, TypeProviders etc.

Could you please give me any tips?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 Aug 2016
5 answers
910 views

hi

how color change ?:

Ralitsa
Telerik team
 answered on 12 Aug 2016
1 answer
410 views

I want to hide the close button on the DocumentContainer from RadDock as shown in the following image. I have no found any property for that.

Help me, plz!

Ralitsa
Telerik team
 answered on 12 Aug 2016
1 answer
186 views

Hi,

I'm trying to get one column sorted in DetailsView with a custom comparer. The other columns are fine with the default comparer.

How can I attach my custom comparer to the correct column?

Hristo
Telerik team
 answered on 12 Aug 2016
1 answer
216 views

I'm using raddropdownlist in openedge/progress developer studio. I'm able to bind and display data using this component.

I like to use the findstring method to find the selected value member (not the display member). I'm not able to find any documentation in regards to this function using openedge/progress.

I also was not able to find proper documentation using telerik components in openedge/progress. On the internet I was able to find many properties of this component which are NOT available in openedge/progress developer studio. Any ideas please where I should go to find my answers (I'm a progress developer)?

 

Thanks

Hristo
Telerik team
 answered on 12 Aug 2016
3 answers
120 views
I have the following class and not sure how to return the checked state when data binding to Treeview control is being done. Any suggestions would greatly be appreciated.

 

Leonard

 

public class districts : INotifyPropertyChanged 
 {
       public event PropertyChangedEventHandler PropertyChanged;   
       #region Public Constructors     
       /// <summary>
       /// Treeview class data definition
       /// </summary>
       /// <param name="districtId"></param>
       /// <param name="parentDistrictId"></param>
       /// <param name="description"></param>
       /// <param name="childrenDistricts"></param>
       public districts(string districtId, string parentDistrictId, string description, List<districts> childrenDistricts)
 {
  this.DistrictId = districtId;
  this.ParentDistrictId = parentDistrictId;
  this.Description = description;
  this.ChildrenDistricts = childrenDistricts;
 }
 #endregion Public Constructors
 
 #region Public Properties
 
 public List<districts> ChildrenDistricts { get; set; }
 public string Description { get; set; }
 public string DistrictId { get; set; }
 public string ParentDistrictId { get; set; }
 public bool Checked { get; set; }      
 #endregion Public Properties   
}

Hristo
Telerik team
 answered on 12 Aug 2016
2 answers
549 views
Hello;
I am using Telerik Winforms Gridview and the Column expression.

I am trying to return data from a field (column) in a gridview using a IIF statement.
The below works:
IIF(customer_name='Bills Hairy Mess','win','lose')


The below crashes the form:
IIF(customer_name='Bills Hairy Mess',cust_ref_1_BOL,'lose')
I also tried
IIF(customer_name='Bills Hairy Mess',[cust_ref_1_BOL],'lose')


cust_ref_1_BOL is a valid field name and is pickable from within the expression editor under 'fields'


Is the above possible?


Thank you,
Joe
Joe
Top achievements
Rank 2
 answered on 10 Aug 2016
5 answers
204 views

Hi,

on one PC (win7), when RadPrintPreviewDialog  is maximized - there is a thick border around it, same effect with any RadForm. Is it possible to turn off theme for RadPrintPreviewDialog, so it looks like a basic .net form?

 

Thanks

Alex

Hristo
Telerik team
 answered on 10 Aug 2016
4 answers
482 views
Hello,
Is there a Winforms equivalent of saving and persisting the user's changes to the gridview's column and row settings across multiple sessions similar to the article for the ASP.NET controls: http://www.telerik.com/help/aspnet-ajax/grdsavingsettingsonperuserbasis.html

Thanks

Issac
Top achievements
Rank 1
 answered on 10 Aug 2016
2 answers
872 views

I am working on a WinForms app using Telerik 2016 Q2. It contains several themes created with Visual Style Builder that are managed by a radThemeManager control accessing the XML files directly (not as a resource). The Visual Studio 2015 solution also contains a couple of Telerik-created themes (visualStudio2012LightTheme1 & office2013LightTheme1).

I would like to assign one of my custom themes to a radMessageBox control. Whatever I try, no theme is assigned. I first tried:

RadMessageBox.SetThemeName("customTheme");
RadMessageBox.Show(this, "messagebox text", "titleg", MessageBoxButtons.OK, RadMessageIcon.Info);

The I tried putting this in the load event of the form:

ThemeResolutionService.ApplicationThemeName = "customTheme";

Neither worked. I then tried:

RadMessageBox.SetThemeName("visualStudio2012LightTheme1"); //Telerik-supplied theme

This partially worked as expected. It did override the custom themes of my controls throughout the form, but the radMessageBox still did not receive the theme (it was still set to the default theme).

How can I apply a custom theme to a radMessageBox?

Thanks.

Hristo
Telerik team
 answered on 09 Aug 2016
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
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
CollapsiblePanel
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
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
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
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?