Telerik Forums
UI for WinForms Forum
1 answer
165 views
Hi, Im used to work with asp.net/ajax and not winforms.

I wanna have a "header" with 4 buttons and under that a "multipage" that will be visibile hide/show dependeing on which button i click.
in this multipage i will place a rad Grid in each (like members in one, users in another and so on)
What tiems do I use to create the "layout split?
In asp.net we have radsplitter, but the raddock don't work the same way unfortunately.

greatful for a kick in the right direction

Regards Pelle
Nick
Telerik team
 answered on 17 Nov 2008
10 answers
249 views
I'd like to put a list box on a form that holds very complex items. I was thinking I could probably do this by creating a user control that has the layout and items I want in each list item. Then wrap that in a RadHostControl and somehow put that inside a RadListBoxItem.

I believe I'm on the right track, and if so, how exactly do I accomplish what I'm trying to do?

If I'm way off base, is there a way I can make complex list items for a listbox?

As a concrete and simple example, let's say I wanted each item in the list to have 2 labels, 2 buttons, and a textbox.

Thanks,

Alex
Nick
Telerik team
 answered on 17 Nov 2008
3 answers
236 views
I have seen the many posts on how to add shortcuts to a menu item and I understand how to do that.  My problem is that I would like for the shortcut text to be left justified to the menu and the normal text to be right justified.  For example:

Cut                           Ctrl + X
Copy                        Ctrl + C
Paste                       Ctrl + V
Delete                            Del

Instead, as it is now, I have to add this text to my menuitem.Text and it is not aligned

Cut      Ctrl + X
Copy      Ctrl + C
Paste      Ctrl + V
Delete      Del

This justification seems to be the standard behavior for pretty much any application that displays shortcuts on the menu.  Can anyone tell me how to do this or if it is even possible?

Thanks in advance,
Lee
Nick
Telerik team
 answered on 17 Nov 2008
1 answer
140 views
As I have stated in this thread (http://www.telerik.com/community/forums/winforms/menu/radmenu-and-shortcuts.aspx).  Most applications use right justification to show the shortcuts for menu items.  This seems to be a short coming of the RadMenu.  I would like to suggest this as an enhancement for a future build.

Thanks,
Lee
Nick
Telerik team
 answered on 17 Nov 2008
1 answer
146 views
Dear sir,
            I have a problem in RadMenu . After Main form loaded click the menu using mouse and press esc . Now open shild form and now click Alt key the menu child items are shown . Is there a way to not shown the childitems when child form is open . For your reference i have explain the steps
NOTE : i am using c#

Step 1: Creat a new window application with two forms form1 and form2
Step 2: in Form1 add one menu with subitems and add radbutton and on the click event call the form2 ( form2object.Showdialog();)
Step 3: Run the application and Click the menuitem1 using mouse and press esc
Step 4: Now click the radbutton1 ( Form2 is open)
Step 5: Now click the Alt key (twice) the childitems are shown - How to avoid this

thanks & regards
Dhakshin
Jack
Telerik team
 answered on 17 Nov 2008
6 answers
313 views
Hi Team,

I am wondering how to save the layout changes made by the User on Grid on winforms and load the same settings for next run?

-nilesh
Jack
Telerik team
 answered on 17 Nov 2008
4 answers
512 views
Hi,

I'm new to RadControls so forgive me if it is a basic misunderstanding, The problem I'm having is understanding to how to layout my Windows Forms. I am dynamically adding RadControls Checkboxes to the RadPanel. However, after adding them, I see all of them next to each other and behind one another. I would like each of them to be in a new line. Please advice on how to achieve this.

Regards,
JB
Jack
Telerik team
 answered on 14 Nov 2008
5 answers
360 views
I am using GridView for Winforms and the data is bound using a dataset. One of the columns in the dataset's table is an integer column. I have enabled Filter's for this column in GridView and this shows up as a funnel. When I right click on the funnel, there is a context menu with all the filtering options (No filter,Equals,Not Equals etc). When I click on the "Between" menu item in this context menu, the application crashes with the System.Argument exception {"Not enough values."}. The complete stack trace below.
How can we fix this behaviour, Is there any way to programatically disable some of the menu items.


Stack Trace:
   at Telerik.WinControls.UI.Code.Data.Filtering.FilterFunction.CheckParameters(Object[] values)
   at Telerik.WinControls.UI.Code.Data.Filtering.FilterFunction.GetFunctionString(String fieldName, Object[] values)
   at Telerik.WinControls.Data.FilterExpression.AppendPredicateString(StringBuilder result, FilterPredicate predicate, String format)
   at Telerik.WinControls.Data.FilterExpression.ToString()
   at Telerik.WinControls.Data.FilterExpressionCollection.ToString()
   at Telerik.WinControls.Data.DataAccessComponent.Telerik.WinControls.Data.ExpressionHelper.IExpressionChangeNotificationConsumer.FilterExpressionChanged()
   at Telerik.WinControls.Data.ExpressionHelper.FilterExpressionsChanged(Object sender, NotifyCollectionChangedEventArgs e)
   at Telerik.WinControls.Data.ExpressionFieldCollection`1.NotifyListenersCollectionChanged(NotifyCollectionChangedEventArgs e)
   at Telerik.WinControls.Data.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at Telerik.WinControls.Data.ItemObservableCollection`1.OnItemPropertyChanged(Object sender, EventArgs e)
   at Telerik.WinControls.Data.NotifyPropertyBase.SignalPropertyChanged()
   at Telerik.WinControls.Data.NotifyPropertyBase.OnPropertyChanged(PropertyChangedEventArgs e)
   at Telerik.WinControls.Data.FilterExpression.OnPropertyChanged(PropertyChangedEventArgs e)
   at Telerik.WinControls.Data.FilterExpression.Predicates_CollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
   at Telerik.WinControls.Data.ObservableCollection`1.NotifyListenersCollectionChanged(NotifyCollectionChangedEventArgs e)
   at Telerik.WinControls.Data.ExpressionFieldCollection`1.NotifyListenersCollectionChanged(NotifyCollectionChangedEventArgs e)
   at Telerik.WinControls.Data.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at Telerik.WinControls.Data.ItemObservableCollection`1.OnItemPropertyChanged(Object sender, EventArgs e)
   at Telerik.WinControls.Data.NotifyPropertyBase.SignalPropertyChanged()
   at Telerik.WinControls.Data.NotifyPropertyBase.OnPropertyChanged(PropertyChangedEventArgs e)
   at Telerik.WinControls.Data.NotifyPropertyBase.SetProperty[T](String propertyName, T& propertyField, T value)
   at Telerik.WinControls.Data.FilterPredicate.set_Function(GridKnownFunction value)
   at Telerik.WinControls.UI.GridFilterCellElement.ChangeFilter(RadGridFilterFunctionMenuItem menuItem)
   at Telerik.WinControls.UI.GridFilterCellElement.FilterFunctionButton.item_Click(Object sender, EventArgs e)
   at Telerik.WinControls.RadItem.OnClick(EventArgs e)
   at Telerik.WinControls.UI.RadButtonItem.OnClick(EventArgs e)
   at Telerik.WinControls.UI.RadMenuItemBase.OnClick(EventArgs e)
   at Telerik.WinControls.UI.RadMenuItem.OnClick(EventArgs e)
   at Telerik.WinControls.RadItem.DoClick(EventArgs e)
   at Telerik.WinControls.RadItem.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args)
   at Telerik.WinControls.RadElement.RaiseRoutedEvent(RadElement sender, RoutedEventArgs args)
   at Telerik.WinControls.RadItem.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args)
   at Telerik.WinControls.RadElement.RaiseRoutedEvent(RadElement sender, RoutedEventArgs args)
   at Telerik.WinControls.RadElement.DoMouseUp(MouseEventArgs e)
   at Telerik.WinControls.ComponentInputBehavior.OnMouseUp(MouseEventArgs e)
   at Telerik.WinControls.RadControl.OnMouseUp(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at Telerik.WinControls.RadControl.WndProc(Message& m)
   at Telerik.WinControls.UI.RadPopupControl.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.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(Int32 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 Microsoft.AdCenter.CommunityPlatform.UI.Desktop.Program.Main() in d:\CpDev\private\src\UI\Desktop\Program.cs:line 17
   at System.AppDomain._nExecuteAssembly(Assembly 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)
   at System.Threading.ThreadHelper.ThreadStart()
Jordan
Telerik team
 answered on 14 Nov 2008
1 answer
163 views
The What's New for Q3 2008 says that it's now possible to layout the gridview in an HTMLView.  I don't see any documentation on how to do this.  Has anyone figured this out yet? Are there samples somewhere?
Nick
Telerik team
 answered on 14 Nov 2008
3 answers
293 views
Hi, I'm using GridViewAutoSizeColumnsMode.Fill which looks great however I want a couple of columns to have a fixed width that stays the same, and the rest to be sized appropriately by the grid.

I've tried fixing the two columns by setting their width manually with AllowResize false as well as the [Max]MinWidth... but the 
GridViewAutoSizeColumnsMode.Fill  overrides this and resizes the fixed columns.
 
This is most noticable when you drag one of the non-fixed columns to the group bar - I want fixed width columns to stay the same size and the remaining floating width columns to expand dynamically to fill.

If it's not possible for the Fill to account for fixed width columns (ideal solution/feature) then manually i could calculate the sizes myself if there is some way of knowing the width available in my grid -- obviously it changes depending on whether there is a vertical scroll bar present.

cheers
ewart

Jack
Telerik team
 answered on 14 Nov 2008
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?