Telerik Forums
UI for WinForms Forum
4 answers
189 views

In my solution I had RadControls 2007 and I can drag an item from a RadList box, to a RadTextbox

After the upgrade to RadControls 2008 Q2 – the behaviour is a bit funny...

If I use the MouseDown  event

private void lstAlertTokens_MouseEnter(object sender, MouseEventArgs e)

        {

            if (lstAlertTokens.SelectedIndex >= 0)

            {

                string text = lstAlertTokens.Text;

                lstAlertTokens.DoDragDrop(text, DragDropEffects.Copy);

            }

        }

 The Drag and drops works, but when I click on items in the list, they are not selected (highlighted), I must use the up/down keyboard keys to first select the item I want, before I drag and drop it.

If I use the mouseUp event

 The item selection works now (gets highlighted) when I click the mouse , but the DragDrop effect icon is missing.. So the drag and drop works, but you don’t see the  DragDropEffects.Copy effect.

 

Any ideas?

Pieter
Top achievements
Rank 2
 answered on 07 Oct 2008
2 answers
109 views
Hi ,$0i m trying help to work out a mistake in my project . I have 2 forms "CountryForm","CityForm" .In the first one COuntryForm i add 2 RadButton and that?s all right but when i add 2 RadButton in the second form CityForm when i debug on the CityForm not appear the textName on the button ,i tried many times with different project but i got always the same error..$0$0Kindly there is someone that can help me .....$0$0I dont know i post a thread 3 days ago but it dissapear if there is somthing of wrong in my thread please don't hesitate to let me know that without delete my thread in sudden way.$0$0Thanks so much.$0$0Have fun!!!$0
Vaf
Top achievements
Rank 1
 answered on 06 Oct 2008
1 answer
161 views
Hi telerik team,
I have a no. of RadMenuItems at RadSplitButton click. All RadMenuItems  can be "checked" the requirement was that the filters his/her search accordingly.

The problem is that i wan to allow multiple clicks on menu (so that user can check more then one item at a time) but currently the functionality is such a way that the menu always get closed after any of the item click and the user have toi click the split button again and again (Which looks bad). Can i provide such functionality so that the menu stays open and user can click to multiple items.

I have implemented my requirement by reopening the menu again and again but my concern with that is firstly I dont feel its a good approach and secondly the menu flicker a little ( as it opens again). please do guide me in this regard.

And please do consider this functionality in your future release if it is not available in current version.

Looking forward to your reply.

Regards,
Haroon.
Nick
Telerik team
 answered on 06 Oct 2008
6 answers
795 views

How do I set the Size of a DockPanel in a docked state at runtime?  Here's my simple code.

panel = new Telerik.WinControls.Docking.DockPanel();

panel.DockState = Telerik.WinControls.Docking.

DockState.Docked;
panel.Size = new Size(250, 250);

For some reason the Size is not set.  It just remains the same.

Thanks,
Ryan

Julian Benkov
Telerik team
 answered on 06 Oct 2008
1 answer
183 views

Hi,

Is there an easy way to have a method called every time the selection change (added or removed node) ? A function called SelectionChanged?

Actually the Selecting event is fired only when node are added. When you use multi select you can remove a node by clicking on it with the CTRL key down. In this case the Selecting event is not fired...

Do you plan to add this feature in a next release?

Thanks in advance,

Best regards,

Fred

 

Jordan
Telerik team
 answered on 03 Oct 2008
3 answers
582 views
Hi,

I am using ThemeResolutionService.ApplicationThemeName to set some theme for all controls in the application. It works fine, but now I need to set different theme to only one control in that application. Is it somehow possible to set the control not to take ThemeName from ThemeResolutionService?

Thanks in advance.
Jaroslav
Nikolay
Telerik team
 answered on 03 Oct 2008
5 answers
172 views
How do I display TextBox for each Row in Grid. This should be displayed in editable column and look and feel should be same TextBox.




Nikolay
Telerik team
 answered on 02 Oct 2008
1 answer
201 views
I've got a RadDateTimePicker bound to a BindingSource (tied to an object datasource).  The minimum value property is set to 1/1/1970.    First of all, when I attempt to add a new employee record (the date is a Hire Date) and the date is empty, the control will not accept keystrokes.  I'm forced to drop the calendar down, select a date and then I can change it by keying in a date.  I'd like my users to be able to just key in a date right away rather than having to drop the calendar down first.

Second, if I select 1/1/1970 and then change it to 5/1/2008 and tab out of the field, the value returns to 1/1/1970!!  What's up with that?

I need to install a beta version of this app at a client this Friday and need an answer quick.

Thanks!
Nikolay
Telerik team
 answered on 02 Oct 2008
6 answers
130 views
Is there any more documentation other than the help file on how to use ShortCuts?  I am trying to make a row of split-buttons to function as a menu, but I will need an accelerator-type hotkey to open a split button depending on a certain chord (for example, Alt-F to cause the File split-button to show its menu). 

I have tried adding a shortcuts object to the form and using the Assign Shortcuts to assign Alt-I to the ActionCommand for the split button.  I have also tried adding a command to the commandbindings collection on the button itself.  Nothing seems to work.  Any advice?

Thanks
Adam
Top achievements
Rank 2
 answered on 01 Oct 2008
3 answers
192 views
I'm new to your controls so bear with me.

What is the best practice method of capturing the "after node selected" property?  I can use the NodeMouseUp and that works well for the mouse but what about the up and down arrow keys? or a mouse wheel selection?  or programmatically selecting one node? Is there one method that will take care of all items?  I would like to have a common e.node property to work with.

Thanks
Nick
Telerik team
 answered on 01 Oct 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
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
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
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
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?