Telerik Forums
UI for WinForms Forum
1 answer
145 views

Hello, I have created a custom theme which includes modified colors for the various states of the page view tab items. But it is behaving badly in my application.

When first loaded, the tabs are the wrong background color. I'm not sure where they are getting this color.

If you mouse over them, the correct background color appears on mouse enter, and when the mouse leaves, the tab is then displayed in the correct color, and never goes back to the original wrong color.

 

When you click on a tab, it does highlight correctly. But the previously-selected tab does not revert to the correct background color. Mousing over them sets them back to correct.

I have a top-level PageView, and then within that 2 of the pages have pageViews. Same behavior on all of them.

 

I have a bare-bones project I can send if necessary.

 

PS - I am a developer working for Karen, my name is David.

 

 

 

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 May 2018
2 answers
170 views

Good morning.
I have checked the example source in Manual to use RadCardView.
First Group and Second Group are created,
I created one CardView Item in the First Group and two CardView Items in the Second Group.

I want to set the Title of each CardView Item to a different name.

For example, in First Group, the title of one CardView Item is "AA"
I would like to set the Title of one CardView Item in Second Group to "BB" and the title of another CardView Item to "CC".

Please check if this is possible.

 

 

        private void Form1_Load(object sender, EventArgs e)
        {
            this.radCardView1.Items.Add(new ListViewDataItem("First CardViewItem"));
            this.radCardView1.Items.Add("2", "Nancy", "Davolio", "507 - 20th Ave. E.Apt. 2A");            
            this.cardViewGroupItem1.Text = this.radCardView1.Items[1].Text;
            
            this.radCardView1.Items.Add("Third CardViewItem");

            ListViewDataItem item = this.radCardView1.Items[0];

            this.cardViewGroupItem1.Text = "CC";

            item[0] = "1";
            item["Column 1"] = "Andrew";
            item[radCardView1.Columns[2]] = "Fuller";
            item["Column 3"] = "908 W. Capital Way";

            this.radCardView1.EnableGrouping = true;
            this.radCardView1.ShowGroups = true;
            this.radCardView1.EnableCustomGrouping = true;
            this.radCardView1.CardViewElement.ViewElement.Orientation = Orientation.Vertical;
            this.radCardView1.Groups.Add(new ListViewDataItemGroup("First Group"));
            this.radCardView1.Groups.Add(new ListViewDataItemGroup("Second Group"));

            this.radCardView1.Items[0].Group = this.radCardView1.Groups[0];            
            this.radCardView1.Items[1].Group = this.radCardView1.Groups[1];            
            this.radCardView1.Items[2].Group = this.radCardView1.Groups[1];
            
        }

Shin
Top achievements
Rank 1
 answered on 21 May 2018
4 answers
186 views

I have a master grid which can have 100's of rows. Only the top 20 rows are visible.

When I click on a row in the master grid, a second grid is populated with other editable data.

If I then click a different row on the master grid, test to see if we have a dirty record in the second grid.

If we do, then I pop up a confirm dialogue box.

On selecting discard, the changes in the second grid are removed, and on the master grid, I wish to make sure that the original row is visible.

So, I am using the CurrentRowChanging event on the master grid to pick up the change, setting the e = true, discarding the updated data in the second grid and finally setting the master grid CurrentRow to be the same as .CurrentRow.

All of this works fine.

My issue is that I want the CurrentRow to become visible within the master grid. Currently, if I have 50 records in the master grid, edit row 5, then discard after clicking row 45. I want row 5 to be visible in the master grid.

 

 

 

 

 

 

 

Paul
Top achievements
Rank 1
 answered on 21 May 2018
5 answers
308 views

I have a RadCardView that is using a BindingList as the datasource.

Please quide me to a portion of the documentation that shows how to bind to a datasource and still be able to retain the cardview template.

When i bind to this list, it disregards the template that i initially set up.

 

Dimitar
Telerik team
 answered on 21 May 2018
7 answers
727 views

     To set the Color of a Line in a Lineseries, we are supposed to set

 lineSeries.BorderColor = Color.Black;

But if I have Labels Enabled

(lineSeries.ShowLabels = true)

the labels get a Border, just by setting the Color of the LineSeries itself.

Screenshot attached.

I just want a single line black on white Chart.

 

 

 

Dimitar
Telerik team
 answered on 21 May 2018
3 answers
238 views

Hi,

 

Im working with PropertyGrid, and one of my properties is Enum. I want use the description of enum value as DisplayMember and value as ValueMember

It worked me on winform combobox, but I try it in EditorRequired event, and nothing happends.

editor = New PropertyGridDropDownListEditor
element = CType(editor.EditorElement, BaseDropDownListEditorElement)
element.ValueMember = "Value"
element.DisplayMember = "Description"
element.DataSource = Tools.GetEnumValueDescription(Of MyEnum)()
e.Editor = editor

When I click in that enum property, values I can select are the same as I dont use that code.

 

What I am doing wrong?

 

Thank you!

 

Hristo
Telerik team
 answered on 18 May 2018
1 answer
166 views

Hello,

Do you know if it's possible to custom tooltip of MapPin ?

We have just ToolTipText property currently 

I need add Image with text on mouseover event of MapPin

Thank you

Best regards

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 May 2018
2 answers
249 views

I found a thread on how to set the RadSpinEditor buttons size using the designer, but I haven't been able to get it to work programmatically..

radSpinTest.SpinElement.ButtonUp.MinSize.Width = 45   <---  this doesn't work because it's a readonly property

Any help would be greatly appreciated.

Thanks!

 

Dimitar
Telerik team
 answered on 17 May 2018
1 answer
128 views

Hi,

Do you have an TextBoxEditor with masked input in RadPropertyGrid? Is there an example for do it?

 

Thank you!

Dimitar
Telerik team
 answered on 17 May 2018
1 answer
311 views

I needed to change the radtogglebutton Breeze theme so that on toggled state it shows a green background.

I've added the theme to my winforms app project resource using theme manager, and I see the theme at design time, but when I run my application then the controls revert to the theme that's set when the application starts up.

I've put a debug message into the toggle event which returns the name of the theme for the button, this returns the correct value.

Am I missing something please?

 

Dimitar
Telerik team
 answered on 17 May 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)
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
CheckedDropDownList
ProgressBar
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
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?