Telerik Forums
UI for WinForms Forum
1 answer
182 views
Hi all,
   I used rad chart. I want to display Building names in X axis and Maximm allowed persons in each building in Y axis. Ok. Then when i click on each building(bar) i want to load another chart,  So i want to know the ID field of the Building.
I used the code like this for X Axis.
 Chartabc.PlotArea.XAxis.DataLabelsColumn = "BuildingName";
I want to store the BuildingId also. How can i achieve it and How can i retreive the BuildingId on each Chart Click Event???


Its urgent please reply,
Thanks In Advance,
Lekha

lekha
Top achievements
Rank 1
 answered on 03 Jul 2010
1 answer
179 views
Hello,

I have a grid with a datasource containing a dataset.  In this dataset there is a field which contains a variable parameter

I have to check this parameter and set an image in an imagecolumn. The image is delivered to me in a base64string.

Everything works, but I can't find which event to take for this action.
Every time a row is bounded to the datagrid the action has to take place...
Alexander
Telerik team
 answered on 02 Jul 2010
1 answer
195 views
Hi

I've a problem with RadDock persistance
First i create form and attach raddock and RadMenu with 1 item to it

public partial class Form1 : Form 
    { 
        string file = "a.xml"
        HostWindow hw = null
 
        public Form1() 
        { 
            InitializeComponent(); 
 
            this.FormClosing += new FormClosingEventHandler(Form1_FormClosing); 
            hw = radDock1.DockControl(new TextBox(), DockPosition.Left); 
            if (System.IO.File.Exists(file)) 
                radDock1.LoadFromXml(file); 
        } 
 
        void Form1_FormClosing(object sender, FormClosingEventArgs e) 
        { 
            radDock1.SaveToXml(file); 
        } 
 
        private void radMenuItem1_Click(object sender, EventArgs e) 
        { 
            radDock1.DisplayWindow(hw); 
        } 
    }


Now I run such app and:
1. Change TextBox to floating window
2. Hide it by closing
3. Show it by radMenuItem1 click
It works as expected, but when  I:
1. Change TextBox to floating window
2. Hide it by closing
3. Restart application
4. Show control by radMenuItem1 click
Control appears as toolbox at dock container
When i closed application without hiding settings are persisted beetwen runs
How can i make it work?


Georgi
Telerik team
 answered on 02 Jul 2010
1 answer
74 views
I hope this is the right forum for this.  I posted a separate thread for

It would be really nice if the RadMaskedEdit control provided the ability to implement custom behavior based on fields where a field is defined as the region between two mask delimiter characters.   That is, say my mask is "##:##:##".  Then my delimiter is the colon (:) and there are three fields.

I'd like to be able to extract or replace any of the three fields.  Something like this method:
Get/SetFieldText - Get/Set text in the field that includes the current SelectionStart position.

Alternatively, be able to pass the position you want the field for (e.g. GetFieldText(0) for getting the text in the 1st field).  I would think that ideally the integer represent the field# (e.g. above I could say either GetFieldText(0), GetFieldText(1) or GetFieldText(2) to get field 1, 2 and 3 respectively.

It might also be useful to expose a Get/SetFieldPos method to get the field # for the current selection start.

Note: I would think that there would need to be some ability to warn the user if the selection spans multiple fields. Maybe raise an exception or make this an optional property to indicate (IgnoreIfSpanningFields - probably not the ideal solution but you get the idea).

Having these methods, I could override the KeyUp/KeyDown behavior to whatever I wanted.  For example, if I knew I had numbers in a given field, I could use KeyUp/Down to increment/decrement the value by 1 and Shift+KeyUp/Down to incr/decr by 5.

Georgi
Telerik team
 answered on 02 Jul 2010
2 answers
154 views
Hi,
If the dropdown of a radcombobox is displayed, when the user press the backspace key the dropdown is closed.
How I can disable/override this behavior? I want the dropdown to remain visible .

Thank you
Lighthouse Developer
Top achievements
Rank 1
 answered on 02 Jul 2010
1 answer
104 views
I have a gridview that I am trying to send updates to a database from. The problem I am having is that if the user does not select a different row than the row being edited in the grid before trying to update the database, the changes are not sent to the database. What am I missing?
Daniel
Top achievements
Rank 1
 answered on 01 Jul 2010
1 answer
75 views

Hi,
I have two comboboxs in my Grid and i have 2 tables which stores bank name in the 1st table and the bank branch in the second table.i want that when i select bank name in the 1st combobox it will shows me the assigned branches for the selected bank in the 2nd Combobox in the Grid?

Which means every row will have different data in the 2nd Combobox

Is it possible? Please reply as soon as possible

Thanks in advance

Svett
Telerik team
 answered on 01 Jul 2010
1 answer
163 views
Hi, I have used the "RadSlider" in a WPF app, and have starting re-coding in a straight up Windows app - the RadTrackbar doesn't seem to give me the ability to have a range like the WPF control does.  I need to have two thumbs, so the user can slide the track bar along a range of values.  Can I do this with this control?
Boryana
Telerik team
 answered on 01 Jul 2010
1 answer
900 views
Hello All,

Currently I am using a rad gridview and the themeName of the gridview is Control Default. When the user selects a row, it turns into orange color.

May I ask how do I change the color of the selected row to green? I have tried exploring the options when I click on "Edit UI Elements" of the gridview but I do not seem to find an option that allows me to do this.

Could anyone please advise me?

Thank you.

Dave Tan
Svett
Telerik team
 answered on 01 Jul 2010
1 answer
250 views
Hi everybody,
I'm new in telerik control. When i read code in the forum:
Telerik.WinControls.UI.SplashForm splashForm = new Telerik.WinControls.UI.SplashForm();
 splashForm.BackgroundImage = Resource.splash; //The name 'Resource' does not exist in the current context
 splashForm.Show();

and i can't found the Resource class in line 2. Where can i found it?

Boryana
Telerik team
 answered on 01 Jul 2010
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
ProgressBar
CheckedDropDownList
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
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
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
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?