Telerik Forums
UI for WinForms Forum
1 answer
146 views
Hi,

I have added a TypeConverter to my ComboBox column which converts from string to Value which will allow me to paste either the Int Value or the String Value into the Combobox. This is  all working fine.

What I would like to know is it possible to copy out the string Value using this, Or would I have to use an other method to do this.

In thought if I used ComboboxCell.Value.ToString() then it would convert the value to the String Version but it doesnt.

Thanks 

David
Svett
Telerik team
 answered on 17 Feb 2012
1 answer
255 views
Hi
i want to set work week as sunday. now my application it is displaying as monday. but i want to start work week as sunday-thrusday instead of monday-friday

Thanks
Hema
Ivan Todorov
Telerik team
 answered on 17 Feb 2012
1 answer
195 views
Hi,
I have a RadDropDownButton and am using the menum items as a checklist.  The problem is I would like to keep the drop down open until the button is clicked again to allow the user to select multiple items.

Is this possible?

Thank you,
David
Stefan
Telerik team
 answered on 16 Feb 2012
4 answers
232 views
Is there any way to get a buttons ID instead of just the Text.

I have a button Add under a "Pages" group and an Add under a "Users" group.   Just getting the text isn't good enough.

Is there a similar method to:  button.get_text()   such as  button.get_id() ???

Only code I could find in the help file was:
  var button = args.get_button();          
alert (button.get_text())

Thanks for the help.   If there isn't then would be good to add to the future feature list.

Thanks!
Kate
Telerik team
 answered on 16 Feb 2012
3 answers
290 views
In my case I want to scroll to the top row in certain circumstances.  The code that works isn't elegant as it will fire events that I really don't want.  To get around that I use a flag that I set before updating the grid, then reset after.  Here's the code:

            _fillingSearchGrid = true;
            SearchResultsGrid.DataSource = results;
            if (SearchResultsGrid.Rows.Count > 0)
            {
                SearchResultsGrid.CurrentRow = SearchResultsGrid.ChildRows[0];
                SearchResultsGrid.CurrentRow = null;
            }
            _fillingSearchGrid = false;

Is there a better way to do this?
Ivan Petrov
Telerik team
 answered on 16 Feb 2012
4 answers
115 views
I want to display a message for the user, with the option for the user to see a detailed message.

does RadMessageBox have an option for this?

Thanks,
Ezequiel
Stefan
Telerik team
 answered on 16 Feb 2012
2 answers
249 views
Hi all,

knows somebody how to :
1) zoom-in, zoom-out chart by mous click ?
2) scrool min and max values in X axes ?

For scrolling I have used :

                myChart.PlotArea.XAxis.AutoScale = false;
                myChart.PlotArea.XAxis.IsZeroBased = false;
                myChart.PlotArea.XAxis.AddRange(0, 20, 1);

                myChart.HorizontalScroll.Enabled = true;
                myChart.HorizontalScroll.Visible = true;
                myChart.HorizontalScroll.Minimum = 0;
                myChart.HorizontalScroll.Maximum = 2000;
                myChart.HorizontalScroll.SmallChange = 1;
                myChart.HorizontalScroll.LargeChange = 100;

but i see only fisrt 20 values...is not possible scrool to another.

Thanks for your help
David
Top achievements
Rank 1
 answered on 15 Feb 2012
1 answer
103 views

Boryana
Telerik team
 answered on 15 Feb 2012
4 answers
139 views
I am getting the following exception when scrolling a self referencing hierarchy grid.  I am using version 2010.3.10.1215.  Any suggestions or tips for working around this issue?

This only occurs after I expand the rows with:
WorkItemOneHopGridView.TableElement.BeginUpdate();
 
foreach (GridViewDataRowInfo row in WorkItemOneHopGridView.ChildRows)
{
    row.IsExpanded = true;
}
 
WorkItemOneHopGridView.TableElement.EndUpdate();


System.NullReferenceException was unhandled
  Message=Object reference not set to an instance of an object.
  Source=Telerik.WinControls.GridView
  StackTrace:
       at Telerik.WinControls.UI.GridTraverser.StepInHierarchyBackward()
       at Telerik.WinControls.UI.GridTraverser.MovePreviousCore()
       at Telerik.WinControls.UI.GridTraverser.MovePrevious()
       at Telerik.WinControls.UI.ItemScroller`1.ScrollUp(Int32 step)
       at Telerik.WinControls.UI.ItemScroller`1.thumbTimer_Tick(Object sender, EventArgs e)
       at System.Windows.Forms.Timer.OnTick(EventArgs e)
       at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.Run(Form mainForm)
       at WorkItemWizard.Program.Main() in C:\TFS\WorkItemWizard\Program.cs:line 33
       at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException:
Stefan
Telerik team
 answered on 15 Feb 2012
1 answer
144 views
Hello.

My Some own class have EnumValue Property.

that is showing like a combobox.

but that combobox doesn work before press enter key.

My boss want see preview about change value(that value make some design to another control)
when change combobox value..

please tell me how i can use change value without enter key at enumValue.

Thank you...
Ivan Petrov
Telerik team
 answered on 15 Feb 2012
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
ProgressBar
CheckedDropDownList
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
VirtualKeyboard
NavigationView
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?