Telerik Forums
UI for WinForms Forum
2 answers
74 views
Hi Richard

I've noticed that it is not possible to start a drag operation on a node if the mouse is used "NodeMouseDown" on the image in the node; the text of the node must be "NodeMouseDown" for the drag to start.

Do you know if this is a kown issue or is it related to the extra checkbox you helped me put onto my custom node the other day. I was speculating that the extra item in the element tree was screwing with the event somehow?

My NodeMouseDown event looks like this

private void tvAlphaWorkspace_NodeMouseDown(object sender, RadTreeViewMouseEventArgs e)
{
    if (Control.MouseButtons == MouseButtons.Right)
    {
        workspaceContextNode = (RadCustomTreeNode)e.Node; 
    }
    if (Control.MouseButtons.Equals(MouseButtons.Left))
    {
        workspaceDragNode = null;
        workspaceDragNode = (RadCustomTreeNode)e.Node;
        workspaceDrag = true;
        if (workspaceDragNode.Text != "Executables")
        {
            tvAlphaWorkspace.DoDragDrop(workspaceDragNode.Tag, DragDropEffects.Copy);
        }
        else
        {
            workspaceDragNode = null;
            workspaceDrag = false;
        }
    }
}
Ian
Top achievements
Rank 1
 answered on 07 Apr 2011
2 answers
337 views
Hi,

Is it possible to change the border color of the tab strip on selected?

Thanks in Advance
Ivan Todorov
Telerik team
 answered on 07 Apr 2011
8 answers
406 views
Hello, I have a data grid with a GridViewComboBoxColumn bound to an field which is an enumeration. I use DataSource and properties 'ValueMember' and 'DisplayMember' to map enum values to readable strings. When I try to set a filter on the column an exception ist thrown 'column <x> not found'  ( where x is the string represantation of the enum value )

Here is an example: If I then try to set filter to EProductType.Hard => EvaluateExcetion is thrown 'column [Hard] not found'
First FilterConditionType is 'NoFilter', when I select condition exception occurs

public enum EProductType 
    { 
        None = 0
        Soft = 1
        Hard = 2 
    } 
         
    class Product 
    { 
 
        EProductType _productType; 
 
        public EProductType ProductType 
        { 
            get { return _productType; } 
            set { _productType = value; } 
        } 
 
        string _key; 
 
        public string Key 
        { 
            get { return _key; } 
            set { _key = value; } 
        } 
 
        string _name; 
 
        public string Name 
        { 
            get { return _name; } 
            set { _name = value; } 
        } 
    } 
 
private void AddMapping() 
IList<ValueMapping> mappings = new List<ValueMapping>(); 
            mappings.Add(new ValueMapping(EProductType.None, "")); 
            mappings.Add(new ValueMapping(EProductType.Hard, "Hardware")); 
            mappings.Add(new ValueMapping(EProductType.Soft, "Software")); 
 
            Telerik.WinControls.UI.GridViewComboBoxColumn comboColumn = radGridView1.Columns[0] as Telerik.WinControls.UI.GridViewComboBoxColumn; 
            comboColumn.DataSource = mappings
            comboColumn.ValueMember = "ValueMember"
            comboColumn.DisplayMember = "DisplayMember"
 
class ValueMapping 
    { 
        public ValueMapping(object value, string displayMember) 
        { 
            _valueMember = value; 
            _displayMember = displayMember; 
        } 
 
        string _displayMember; 
 
        public string DisplayMember 
        { 
            get { return _displayMember; }             
        } 
 
        object _valueMember; 
 
        public object ValueMember 
        { 
            get { return _valueMember; }             
        } 
    } 
 

Tried with current version 2010 Q1 SP 1
Is there a workaround ?

Regards,
Markus
Alexander
Telerik team
 answered on 07 Apr 2011
2 answers
105 views
How can I show WeekView with the first day of the week as monday?

Basically, how can I get the same functionality as the ASP.Net FirstDayOfWeek and LastDayOfWeek properties?

So calendar looks like this.
Mo Tu We Th Fr Sa Su

Stefan
Telerik team
 answered on 07 Apr 2011
1 answer
87 views
Dear All,

There is a very critical problem in my project. Please see the screenshot I have attached for my problem. There is big red box is appearing like that when using the application. What might cause this problem. Please help me on this.


Thanks & Regards
Vijay
Emanuel Varga
Top achievements
Rank 1
 answered on 07 Apr 2011
1 answer
98 views
Hi
Im needing help with dragging and dropping between different radcontrols.
i need to drag from a bound carousel to a gridview, and also a bound listcontrol to a gridview
im using winforms Q1 2011 in VB.net
thanks
Svett
Telerik team
 answered on 07 Apr 2011
3 answers
110 views
Would be great if you add the column selection option in future.
If a bitmap column - we don't need Type name instead.
Just my desire.
Martin Vasilev
Telerik team
 answered on 07 Apr 2011
2 answers
300 views
Hi All,

I have a RadGridView bound to a BindingList that does not update when I change my BindingList.  Basically, I am traversing my list with LINQ and updating some fields, but these fields are not updating in the RadGridView.

Hers is my code:
var mAgentsInList = from a in cAgentList
              where a.AgentId.ToLower() == p_AgentId.ToLower()
              select a;
foreach (DTLAgent feAgentToUpdate in mAgentsInList)
{
    feAgentToUpdate.OutboundCalls = 99;
    if (p_Direction.ToUpper() == "IN")
    {
        feAgentToUpdate.Direction = "In";
    }
}


The only way I can reflect these changes is by calling:
grdAgents.MasterTemplate.Refresh();

However, this grid has about 300 Agents, and whenever I call this Refresh, the grid scrolls back to the top - which is not something that works for me.

Thanks in advance for any help!
Julian Benkov
Telerik team
 answered on 07 Apr 2011
6 answers
398 views

Hi

By default if validation for row failed there is icon with exclamation mark in row header (I use GridViewRowInfo.ErrorText to define text for tool tip).

 

I would like to use my own icon. How can I do it?

Regards

Martin Vasilev
Telerik team
 answered on 07 Apr 2011
4 answers
122 views
Hi Telerik,
I have a Radgridview with combo box column . consider i have 3 rows.
in  the first row am selecting some value like "x" from the combobox column ,
 then when i select the  same value "x" in the second row , i should say the value x is already selected
 i guess we have to loop the columns across the gridview .... could anybody provide some idea

Thanks in Advance
Dev
deva subramanian
Top achievements
Rank 1
 answered on 07 Apr 2011
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
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
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
NavigationView
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?