Telerik Forums
UI for WinForms Forum
6 answers
252 views

I need to show tooltips on the elements of a RadForm TitleBar, like in the attached image.

things I've tried that didn't work:

  • setting the ToolTipText
this.FormElement.TitleBar.SystemButtons.Children[0].ToolTipText = "this is a tooltip";

  • using the ToolTipTextNeeded  form event
class TestTooltipForm : RadForm
{
    public TestTooltipForm()
    {
        InitializeComponent();
 
        this.ToolTipTextNeeded += (sender, args) =>
        {
            args.ToolTipText = "a tooltip";
        };
    }
}

The only thing that seems to be working is instantiating a RadToolTip and showing it inside del ToolTipTextNeeded (ignoring the args parameter)

The problem with this method is that the tooltip stays visible forever, so I need to hide it on some event like 'form_mouseHover' which is kind of convoluted.

Is there a better way?


 

Stefano
Top achievements
Rank 1
 answered on 21 May 2018
1 answer
147 views

Hello,

I am using a RadButton with a touch theme and when I tap it on a touchscreen, the visual appearance of the button (to show a click occured) doesn't show.  It shows if I use a mouse and click the button.  When using a touchscreen the button remains flat with no visual that I tap on it.

I use Telerik WinForms 2013 Q3 1328

Is there a solution for that?

Thanks,

Hristo
Telerik team
 answered on 21 May 2018
1 answer
212 views

Hello

I want to draw a chart (Cartesian, line series) with mouse click but i don't know how can I get location of mouse click in chart axes,

Also how to allow for add new point only in horizontal and vertical stripes lines intersect

Thanks

Dimitar
Telerik team
 answered on 21 May 2018
1 answer
161 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
182 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
199 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
319 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
760 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
252 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
177 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
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
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
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
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
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
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?