Telerik Forums
UI for WinForms Forum
2 answers
81 views

Hi,

if I try to add nodes with the nodes designer everything works fine except, there is no way to accept the changes. The nodes editor dialog has no accept button or something similar. Using the return doesn't help, too.  Thereto, see attached image.

Regards

Martin

Martin Horst
Top achievements
Rank 1
 answered on 27 May 2010
3 answers
363 views
No matter what I set to value DecimalPlaces, grid displays number of decimal places from database.
Svett
Telerik team
 answered on 27 May 2010
2 answers
894 views
1. GridView with mixture of text, decimal and combobox columns. I want to allow only combobox as editable, the rest are for display only. I don't see a property to override the default for the entire grid. Do I really have to handle an edit event and cancel if it's not a column where I wish to allow changes? If so, what's the event? If not, how can I set a specific column to allow edit or set other columns to disallow edit?

2. Is there an IsDirty for the entire grid so I can prompt the user to save? Is there an IsDirty for a column and/or a row so I can iterate through and write only the delta's unbound via an SQL stored proc? I would prefer to not have to track changes in my own code.

3. It doesn't seem like GridView likes to update the display properly from a background thread. Sometimes there's data, sometimes not, and sometimes not all the data. I don't want to suspend the UI while I'm loading data. I am running unbound.

Thanks
Alexander
Telerik team
 answered on 27 May 2010
3 answers
186 views
Howdy folks,

     I have a RadPanelBar that I am dynamically adding groups and items to.  Things are starting to come together, but a few of my groups seem to have too many elements (radButtonElement) and are being overlapped by the next group below it.  I am using the ExplorerBarStyle group style so I can expand and collapse my groups.  Also, the groups are expanded by default when the form loads.  When I collapse the groups that overlap the longer group, I can see the elements of the long group underneath the collapsed group headers.  It seems like there is a set height for each panel or am I missing something?

      Any help here would be wonderful.  I hope that was enough information, but feel free to ask for any clarification.  Thanks.
Nikolay
Telerik team
 answered on 26 May 2010
1 answer
190 views
Hi Telerik Team,

My application uses CAB SCSF and my layout has two workspaces (Left and right) where left deals with Navigation, right deals with the screen display.  Over here I have a navgation bar in my left workspace which is dockable using a docking panel.  Kindly help me out in setting the color of the splitter whenever we have the mouse over it.  I mean to indicate the user that there is a splitter by showing it with a color.

Tia
Kris
Nikolay
Telerik team
 answered on 26 May 2010
3 answers
214 views
I can't find a way to get rid of the default gradient backcolor of the raddock control.  I've tried the following:

spltContainer.Style.SetValue(Telerik.WinControls.Primitives.FillPrimitive.GradientStyleProperty, Telerik.WinControls.GradientStyles.Solid)

And it has no effect.  I've even tried getting the FillPrimitive child, and setting it's GradientStyle to Solid, but it just get's overwritten (if I set the value using RadControlSpy it works).
Gary
Top achievements
Rank 1
 answered on 25 May 2010
1 answer
133 views
Hi everyone,

I'm working on a project in WinForms using the Telerik library. We previously used the Q2 2009 version of the library. In our project we use a RadComboBox wich is contains a bunch of default answers.But the combo accept custom text and when the user select a default answer, in the SelectedIndexChanged event we add to the text of the combo the selected awser seperated from the original text (saved in the tag of the combo when the dropdown is opened) by a " - ".

Here is the code :

private void rcbElement_SelectedIndexChanged(object sender, EventArgs e) 
            RadComboBoxEditorElement rcbe = (RadComboBoxEditorElement)sender; 
             
            rcbe.Text = (rcbe.Tag.ToString() == "" ? "" : rcbe.Tag + (rcbe.Text == "" ? "" : " - ")) + rcbe.Text; 
            rcbe.SelectedText = ""
            rcbe.Tag = rcbe.Text; 

But now with the new version (Q1 2010 SP2) this doesn't work anymore. The text of the combo remains the text of the selected item. How can we do that with the new version ?

[Nean]
Victor
Telerik team
 answered on 25 May 2010
1 answer
152 views
Hello,
Strange thing when using your RadComboBox.
I have a comboBox bind to a dataTable.
When I'm trying to change the value of the comboBox It stay NULL.

Now, I check this And I've noticed something strange:
In debug, When I'm standing on the object "radComboBox1.selectedValue" I see the a value (lats say) '12345'.
If I click on the value it self (I'm using visual studio 2008) It goes into edit mode and then I see that the value is actually: '12345M'.

I don't have a clue where this 'M' come from. It doesn't appear  any where in my sql,datatable or code.

I tried the some code with a simple comboBox And it was fine (with out the 'M').

Do you know this behavior?

Thanks,
Roy.
Svett
Telerik team
 answered on 25 May 2010
1 answer
127 views
I am trying to achieve a page up/down functionality for a Point of sale.

Lets say the case where i have a listbox
Achored on all sides, and autoscroll enabled = true

with two bottons Page up / Page down

If I press page down button I want the list box to scroll down by the amount of its height.
How do I do this ?

I tried using for page down

radListBox1.AutoScrollOffset = new Point(0, (-1*radListBox1.AutoScrollOffset.Y)+radListBox1.Height);

I use a positive value for y point because it gets converted into negative and therefore I set the Y offset to a positive by multiplying it by -1.

With very little success.

Thank you in advance
Chona
Top achievements
Rank 1
 answered on 25 May 2010
4 answers
291 views
I am using the 2010.1.10.409 version of the Telerik.WinControls.UI assembly to utilize the new DocumentWindow and RadDock Manager.  I am creating a UserControl that inherits from DocumentWindow

using Telerik.WinControls.UI.Docking; 
 
public class myControl : DocumentWindow { } 

When I go into the design view to add controls I am only getting a blank gray screen.  Also when I updated my older user controls that inherited from DockPanel to now inherit from DocumentWindow, all of the controls that were on the form are now just listed in the gray screen, meaning that they are not showing the design and layout that the DockPanel originally gave me.

Is this a known issue?  Or is there something that I need to do to be able to have the design time support that the DockPanels had?
Nikolay
Telerik team
 answered on 25 May 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)
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
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?