Telerik Forums
UI for WinForms Forum
4 answers
174 views
Is there a way to control the size of the Edit Appointment dialog or at least make it resizeable by the user? I find that it's not effeciently using all the space available in the browser and would like to make it taller to be able to display more custom fields without forcing the user to scroll. Earlier versions of the control didn't have this problem.
Richard Slade
Top achievements
Rank 2
 answered on 11 Nov 2010
23 answers
795 views
Is it possible to drag one or more rows from one radgrid to another radgrid on a form?

I saw there was a property allowdrop so i'm guessing that it is possible.

Is there some example code on how to do this?

thanks
Mario
Top achievements
Rank 1
 answered on 11 Nov 2010
5 answers
134 views
On the theme of cutting down on the user keystroke count for my application:

I have a RadGridView. Inside that RadGridView is a radComboColumn that contains information from a BoxCode DataTable. Value is the BoxCodeTable.ID and Display is BoxCodeTable.Description.

The BoxCode DataTable also stores length, width, and height information for a given box. When the user selects a box and the editor is closed, the length, width, and height values are loaded from the DataTable and inserted into three fields in the RadGridView's CurrentRow. The idea is that a user should be able to override these values in certain boundary conditions.

That's all working. But it is annoying to me that, when a BoxCode is selected from the ComboBoxColumn, the user must press the Enter Key (or click elsewhere on the grid) to close the editor. I want to take that keystroke out.

And I've managed to do that with a bit of a hack. However, it feels really, really awkward.

In RadGridView.CellBeginEdit event, I am calling the following code to bind an event to the RadComboBoxEditor:

        private void gvwManifestLines_CellBeginEdit(object sender, GridViewCellCancelEventArgs e) 
        { 
            if (e.ColumnIndex == this.gvwManifestLines.Columns["saturdayDelivery"].Index) 
            { 
                // A whole bunch of code omitted. 
            } 
            else if (e.ColumnIndex == this.gvwManifestLines.Columns["PackageChooser"].Index) 
            { 
                RadComboBoxEditor comboEditor = this.gvwManifestLines.ActiveEditor as RadComboBoxEditor; 
                comboEditor.DropDownStyle = RadDropDownStyle.DropDownList; 
                comboEditor.AutoCompleteMode = AutoCompleteMode.Suggest; 
                comboEditor.PopupClosed += new RadPopupClosedEventHandler(comboEditor_PopupClosed); 
 
                //More code for processing - not relevant. 
            } 
        } 
 
        void comboEditor_PopupClosed(object sender, RadPopupClosedEventArgs args) 
        { 
            RadComboBoxEditor comboEditor = sender as RadComboBoxEditor; 
            if (comboEditor != null) 
            { 
                comboEditor.PopupClosed -= new RadPopupClosedEventHandler(comboEditor_PopupClosed); 
                SendKeys.Send("\r"); 
            } 
        } 
 

As you can see, I'm closing the editor by sending the return keystroke myself. This is working. I'm a bit shy about it, however. It feels a shaky to close the editor by relying on sending keystrokes. Is there a better solution to this problem?

I tried EndEdit(), but no dice.
Jack
Telerik team
 answered on 11 Nov 2010
6 answers
225 views
Hi,

I'm trying to use the telerik theme with the last winforms build.

But it don't work very well (eg. in radgrid)

Is this theme is actual ? If not do you plan to update it ?

And I renember that you have a link where we can find some users themes but i don't find it....

Regards
Jack
Telerik team
 answered on 11 Nov 2010
1 answer
421 views
Hi,

Ive created a custom control using the telerik controls, which is based on the "business card" example provided in the demo code. 
That is a RadControl that allows custom RadButtomElements to be added to it.  The RadButtonElements are stored in a WrapLayoutPanel.  However Im having difficulty getting scrolling to work properly.  Ive seen quite a few examples and threads about scrolling using the stacklayoutpanel, however I want to use the wraplayoutpanel to get better presentation, as each element is of variable size.  However using the wraplayout the scrollbars do not appear correctly.  At runtime it looks as though the viewport settings are calculated as if the viewport is a stacklayout not a wraplayout. 

Any help will be greatly appreciated.

Hopefully looking at this code will make a bit more sense...

Version of Rad controls (WinForm) 2009.3.9.1203
 

RadScrollViewer

 

scrollViewer = new RadScrollViewer();
 
Telerik.WinControls.UI.RadPanel radPanel1= new Telerik.WinControls.UI.RadPanel();

this
.Controls.Add(this.radPanel1);
WrapLayoutPanel
wrapLayout = new WrapLayoutPanel();

 

wrapLayout.Orientation =

Orientation.Horizontal;  

 

 

scrollViewer.Viewport = wrapLayout;

 

this.radPanel1.PanelElement.Children.Add(scrollViewer);  

for(int i = 0 ; i < 100; i++)  

{

wrapLayout.Children.Add(

 

new RadButtonElement() {Text = "Test" + i, Padding = new Padding(5), Margin = new Padding(2), Size = new Size(50,10)});  

}

 

 

Nikolay
Telerik team
 answered on 11 Nov 2010
9 answers
231 views
Hi
I got a weird Problem:
If i compile my .exe file, i can run it without problems..
but if i want to run it on another computer, the app crashes and says, it cant find Telerik.WinControls and/or Telerik.WinControls.UI. What am i doing wrong?

regards
Richard Slade
Top achievements
Rank 2
 answered on 11 Nov 2010
5 answers
317 views
Hello,

I come to you in order to expose a problem I meet with RadDropDownList with dropDownlist option.

In fact when I want to scroll almong the items I meet a special behavior where the dropDownlist is scroolling, but the form behind scrool too, and the dropdownlist is finally detached.

Screenshot here

I didn't find any issues in forum regarding this behavior. Is it already referenced at your level?

Any information?

Thanks for your help
Regards

Denis
Peter
Telerik team
 answered on 11 Nov 2010
4 answers
247 views
Hi,

i've got some problems when i want to put a newly added row in edit mode through code.
My scenario is:
Q 2010 Sp2 GridView, which is bound to a BindindSource. The BindingSource is bound to an ObjectResult (EF4).
I wanted to add a new row via BindingSource.AddNew method.
Then i wanted the first cell of that newly added row to be in edit mode without any extra clicks.
The cell editor should be shown and ready to receive my input.

None of forums threads regarding "putting a cell in edit mode programatically" worked for me.
So i am looking for a general solution.

Kind Regards
Kim
Richard Slade
Top achievements
Rank 2
 answered on 11 Nov 2010
2 answers
403 views
hi,

I am new in rad ribbon form, I've just added new rad ribbon form, I need to do many thing in that form, so I was trying to go to demo project "Bug Tracker" in "RadControls for WinForms Q2 2010 SP2 Demos", but I am unable to open it !!

I got errors in initialization of form in visual studio environment, please check the attached image: telerik rad form 'bug tracker'.png.

so I need a clean tutorials and example for changing ribbon form to office 2007 black theme, adding ribbon bars, adding controls to ribbon bars and so on. easily, I wanna do something looks like "Bug Tracker", please refer to this image: bug_tracker_demo.jpg



thanks
Stefan
Telerik team
 answered on 11 Nov 2010
2 answers
185 views
To whom it may concern,

I use RadControls for WinForms Q2 2010 SP2, I have my own Themes for different components, I want to apply them to an Application in my computer works correctly with themes i make an .Exe and work fine with themes. But when I change the .Exe to another computer. It works but without themes. So i want to know how to apply the themes in a .Exe also I don't want to create a Folder with the themes in the directory of the .Exe for example. I just want the .Exe with the themes. Is that possible?.

Regards,
Ing. Jesús M. Astorga L.
Stefan
Telerik team
 answered on 11 Nov 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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
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
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?