Telerik Forums
UI for WinForms Forum
5 answers
165 views
Hi,

I have an app where some UI-Element Text strings must be set from a DB.
The first approach was to iterate through the forms controls and set "Text" or "Caption" on the elemnts depending on their Name (ID).

This should also be done for Tooltips.

First problem - RadPanelGroupElement is not a control.
I could solve this via setting the controls public and working with reflection.

But the next problem is - how to set a ToolTip to RadPanelGroupElement?
Since RadPanelGroupElement is no control tooltip1.SetToolTip(RadPanelGroupElement1,"my Text") does not work.

I can set the tooltip for the PanelBar - but this shows ONE tooltip on every panel (always the same).
What I was looking for - each panel it's own tooltip.
Next I found a property on the RadPanelGroupElement called ToolTipText.

Looked like what I what I was searching for.
But whatever value I set - nothing happens.

If I set the ToolTip for the PanelBar - I always get this one.
--regardless what I enter in ToolTipText for the panels.
If I do NOT set TT for the PanelBar - I get no ToolTip at all.

My Questions:
-What is the use of ToolTipText on the RadPanelGroupElement element?
-How can I build a panelbar where every Panel has it's own Tooltip?

Regards

Manfred
Boyko Markov
Telerik team
 answered on 29 Jan 2008
4 answers
218 views
Is there a way to know when a user is dragging a RadTitleBar around?

I tried to have a ShapedForm with a RadTitleBar, and catch the events in the MouseDown and MouseUp events for the titlebar with the following :

private void radTitleBar1_MouseDown(object sender, MouseEventArgs e)  
{  
    if (e.Button == MouseButtons.Left)  
    {  
        txtTest.Text = "Down";  
    }  
}  
 
private void radTitleBar1_MouseUp(object sender, MouseEventArgs e)  
{  
    if (e.Button == MouseButtons.Left)  
    {  
        txtTest.Text = "Up";  
    }  
}  
 

The problem is that I don't always get the MouseUp event. I get the event about once every 20 times I tried it. Is there a problem with the mouseup event, or is there another way I can get the info about the start/stop of dragging a form around?
Espen
Top achievements
Rank 1
 answered on 29 Jan 2008
2 answers
350 views
Hi,

Is there a special trick to programatically select a tab? I've tried the PerformClick() method to no avail.

Thanks
Donovan Bell
Top achievements
Rank 1
 answered on 29 Jan 2008
3 answers
299 views
Hi guys,

is it possible to show a tooltip for each row in a RadGridview?
I found some solution for a MS DatagridView, but that one uses HittestInfo which is not supported by the Radgridview...

Thanks,

Ben
Dimitar Kapitanov
Telerik team
 answered on 28 Jan 2008
1 answer
118 views
Hi all,

In accordance with RadChart documentation, I am attempting to connect to an XML datasource, and cannot.

My process:

See Documentation --> Contents tab --> Getting Started --> Quick Start: Create A Data bound Chart, and scroll down the right window pane to "Configuring the Data Source". An image displays the user's mouse selecting <New Data Source...>, but that option does not exist in my configuration. Also, in the following documentation image (Data Source Configuration Wizard ), I only have options for database, web service and object, but not XML file.

Please recommend a fix.

Also, i am seeking a demo for a multi-line winForm line chart, and cannot find one. Can you kindly recommend one?

Thank you.

Jeff


Dwight
Telerik team
 answered on 28 Jan 2008
4 answers
149 views
Hi,

I am having a small problem with the RadComboBox. I am assigning a DateTime array as datasource to a combobox, and when I get a SelectedIndexChanged event I'd like to get the selected object out again (pretty much so I can use the RadComboBox as a drop-in replacement for standard .net combobox). However, I am unable to get the object, as the SelectedValue is null, and since I use an array I can't set the ValueMember. Is there a way to accomplish this?

The workaround I am using at the moment is this:

        private void drdDate_SelectedIndexChanged(object sender, EventArgs e)  
        {  
            if (drdDate.SelectedIndex >= 0)  
            {  
                DateTime tstTime;  
                if (DateTime.TryParse(((RadComboBoxItem)drdDate.SelectedItem).Text, out tstTime))  
                {  
                    // do the processing here   
                }  
            }  
        }          
 

But I am really hoping I don't have to do text parsing for all the different comboboxes in the application.
Georgi
Telerik team
 answered on 28 Jan 2008
1 answer
80 views
Hi,
This may be a simple question but I couldn't find anything about it thus far.  I am creating a forms application (.NET 2.0) and am using your GridView for winforms control.  The grid has a large number of columns and so
I would like to make this grid from lefttoright or righttoleft and scroll bar on the right side or left side

and data colum also i need direct form righttoleft or lefttoright
Please help to me

Thanks.
Jack
Telerik team
 answered on 28 Jan 2008
1 answer
98 views
in order to change a nodes text property i'm trying to use the "edited" event and get the following error: "Object reference not set to an instance of an object."

can anybody help?

further  i'm looking for events to integrate database operations after the treeview element was modified:

- after a node is beeing deleted
- before a node is beeing deleted
- after node's text property is beeing changed
- a node is beeing added

a working example with the different functions would be great!

thanks, andreas
Jordan
Telerik team
 answered on 28 Jan 2008
1 answer
233 views
I cannot get a custom theme to apply to a gridview.  I can get it to work on buttons, panels, tabstrips, trees.  I follow the same steps but the visual styles are not reflected when my application runs. 

  1. I create a brand new grid. 
  2. I set both scrollbars to visible. 
  3. I create a new theme and change the fills so the are obviously red.  The preview reflects this. 
  4. I save the theme to a file.
  5. I use my thememanager to load the theme.
  6. I open the smart tag on the new gridview and choose my new theme.
  7. I run the application and none of the changes are visible.

I go back to the smart tag, check the theme and it is set properly.  If i debug the form_load event, the style of my control is not empty.  I go to the smart tag and Edit UI Elements and the colors of my scroll bars are visible.  It almost feels like something is coming in at the last moment and resetting the theme although there is no code to do so.

Like i said, i have been able to get other radelements to use custom themes without problem but the grid doesn't seem to be functioning the same way.

Screenshots:
http://www.thinkconvergence.com/telerik_issue2.jpg

Thanks for your help
Jack
Telerik team
 answered on 28 Jan 2008
4 answers
589 views
I posted earlier about issues with the CommandButton and your suggestion of "hiding" the existing button and creating a new one has worked well and cleared up a number of issues.  Now, i would like to apply a theme to the button i have inserted, but am unable to do so to a RadButtonElement and i can't add a RadButton (which can have a theme applied) to the cell.  How can i set the theme for this button or other buttons in the grid?  If i cant, how can i set the appearance for the different states of the button (isPressed,isMouseOver, etc) like i can using the visual design tools?  Can those be set through code?  Thanks for your help!
Jack
Telerik team
 answered on 28 Jan 2008
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
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?