Telerik Forums
UI for WinForms Forum
9 answers
309 views
How i can implement the RadWizard Localization? I doesn`t found any information about it.

Regard, Ronny.
Nikolay
Telerik team
 answered on 07 Apr 2011
3 answers
184 views
Hi Guys

I have used the old fashioned MouseDown - DoDragDrop approach to allow drag and drop to occur between two treeviews in my solution. The drag operation captures the Tag of the selected node and the drop operation uses that Tag object. This is all working very well but using this method does not give me the nice visual clues I know the Teleerik treeview is capable of.

It would be great to be able to use these nice visual clues on the Treeview when dragging to show the user what was "under" the cursor but when I set Allow dragDrop on the source treeview (which gets me the nice visuals when dragging) I find that I am no longer dragging the Tag object but instead moving the entire subtree from the source to the target!

Does anyone know how to enable the nice visuals by themselves?

Regards
Ian

Svett
Telerik team
 answered on 07 Apr 2011
2 answers
79 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
357 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
423 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
110 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
95 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
102 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
119 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
306 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
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
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
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
Licensing
VirtualKeyboard
DataLayout
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
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?