Telerik Forums
UI for WinForms Forum
1 answer
150 views
How to make cards?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 01 May 2018
8 answers
983 views
I have a Summary Row in the bottom of the Grid, I want to get the value of summaryrowitem in to the variable. how i can do this ?
Secondly, how we can do the conditional formatting of the summary row.
Hristo
Telerik team
 answered on 30 Apr 2018
0 answers
139 views
hi, I use scheduler-binding- to bind my data to . I want each appointment to have the color which have in my database.so I created to a table with color name values and passed this  FK( )  to backgroundId.but nothing 's happened.what is the problem.help me urgent.
Sina
Top achievements
Rank 1
 asked on 26 Apr 2018
5 answers
832 views
Hi,
        I am using Radgridview for winforms. I have a grid view with three columns. First column is a text box column and the second and third are button columns. Name of the command buttons are Apply and Remove respectively. When the form is loaded for the first time, Apply button in each row should be visible and Remove button must be in hidden state . When clicked on the Apply button it should become invisible and the remove button curresponding to that row should become visible. I have written the login in RowFormatting event and uses a boolean variable to make sure that this particular functionality happens only for the first time, that is when the form is loaded.


 

private void rgvRulesList_RowFormatting(object sender, RowFormattingEventArgs e)

 

{
if (!_assignedRules && slNo == ruleCount - 1)

 

{

ShowOrHideGridButtons();

}

 

}


 

private

void ShowOrHideGridButtons()

 

{

 

Guid ruleId = Guid.Empty;

 

 

foreach (GridViewDataRowInfo dataRowInfo in rgvRulesList.Rows)

 

{

 

GridCommandCellElement gridViewCellApply = (GridCommandCellElement)dataRowInfo.Cells["Apply"].CellElement;

 

 

GridCommandCellElement gridViewCellRemove = (GridCommandCellElement)dataRowInfo.Cells["Remove"].CellElement;

 

 

if (gridViewCellApply == null || gridViewCellRemove == null)

 

{

 

continue;

 

}

 

RadButtonElement rbApply = (RadButtonElement)gridViewCellApply.Children[0];

 

 

RadButtonElement rbRemove = (RadButtonElement)gridViewCellRemove.Children[0];

 

 

ruleId =

new Guid(gridViewCellApply.Value.ToString());

 

 

foreach (EntityRulesMapping mapping in _entityRuleMappingList)

 

{

 

if (mapping.RuleId == ruleId)

 

{

rbApply.Visibility =

ElementVisibility.Hidden;

 

rbRemove.Visibility =

ElementVisibility.Visible;

 

 

break;

 

}

 

else

 

 

 

 

{

rbApply.Visibility =

ElementVisibility.Visible;

 

rbRemove.Visibility =

ElementVisibility.Hidden;

 

}

}

// end of inner for each

 

 

 

 

}

// end of outer for each

 

 

 

 

_assignedRules =

true;

 

}

 

But i could not arrive at the required solution. But when i click any of the button, this rowformatting works and the required result is achieved. I think this is because, the rowformatting event happens when some user interaction happens with the grid. Please help me on this.

Steve Batten
Top achievements
Rank 1
 answered on 26 Apr 2018
3 answers
674 views

I have quite a number of RadTextBoxControls in my application, and I need to disable the right-click context menu on all of them - how can I do this and is there a way to do it on all of them at the same time so that it is the default?

 

thanks.

 

Damien

Dimitar
Telerik team
 answered on 26 Apr 2018
1 answer
111 views
The bubbles for color elements on the Professional tab move around and eventually disappear after multiple instances. This can be demonstrated with the Property Grid example on the Telerik Demo Application. Go to the First Look example and open the color editor for any of the color properties multiple times.  The more times the dialog is opened the worse it gets.
Dimitar
Telerik team
 answered on 26 Apr 2018
3 answers
687 views

I have a grid view that has data bound to it.  What I am looking to do, is add a column, have an expression that computes the value in the field to text based on another columns value. I am unsure how to accomplish this.  Any help would be greatly appreciated.

 

For example, I have a foreign key column called PersonKey.  What I want to be able to do is call a public method that returns a string of the Person's name based on the key that is passed to it. 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 25 Apr 2018
1 answer
594 views

Hello,

I have a RadButton in a winform with a circle shape and an image.  

The border of the button works fine when there the mouse is over the button, but one clicked and the mouse leaves the control, the border size seems to change.

Please see the attached images.  The one "with mouse focus" was captured with a screen shot while the mouse was over the button, but the Windows screen grab does not show the mouse.  The "no mouse focus" image is after the button has been clicked and the mouse is no longer over the control.

I have not been able to locate where to change the border setting when the button has been clicked, but does not have mouse focus.

Any suggestions?

Thanks

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Apr 2018
2 answers
530 views

Hi,

I'm struggling with setting the tab order of my controls. I have a mix of controls, mostly RadTextBoxes, RadDropDownLists, and RadDateTimePickers. I have set the TabStop and TabIndex of the controls using Visual Studio designer. This taborder is not the order that I get.

I've seen some entries regarding TabStop for RadTextBoxes in this forum, so I've made sure that RadTextBoxElement.RadTextBoxItem.TabStop is true (in telerik's(?) designer). However, I cannot find a similar thing for the other type of controls.

1) How should one set the tab order of telerik controls?

2) If it is through a property of a somewhat hidden element inside a control, how is one supposed to find it?

Please advice.

Dimitar
Telerik team
 answered on 24 Apr 2018
11 answers
2.3K+ views
Hello:

I am doing some tests with my trial version of RadControls for WinForms. One common way we used to make forms is to create the "master" forms, and then inherit and customize it to concrete requeriments. Well, I am trying to create a "master", let's say "MasterForm" form with this content:

One RadTextBox, one RadPanelBar and one RadGridView. As usual, I've changed the component's modifiers to protected, in order to be able to edit them in child forms.

Now I create a specific form, let's say "CustomersForm" inheriting from "MasterForm". All right, the components shows but... what?! the RadTextBox properties can be edited, but both RadPanelBar and RadGridView are locked (despite the fact that I can see, in the child form, that modifier is set to protected. Also, I can see the locked icon over the components when I select them.

I have tried the following:
1) Make sure that component's modifiers are set to protected instead of private
2) Rebuild entire solution to ensure that assemblies are refreshed
3) Unload / Reload the project
4) Close / Open Visual Studio

I don't know what else to do in order to get them unlocked and modify their properties in child forms...

Thank you so much.
Dimitar
Telerik team
 answered on 23 Apr 2018
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
SmartPasteButton
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?