Telerik Forums
UI for WinForms Forum
4 answers
178 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
309 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
269 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
102 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
130 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
59 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
83 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
200 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
513 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
1 answer
89 views
hi,

is it possible to hide the "click here to add a new row" row?

thanks, andreas
andi
Top achievements
Rank 1
 answered on 27 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)
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?