Telerik Forums
UI for WinForms Forum
4 answers
156 views
Hi,

In order to disable multicolumn sorting, I am looking for the AllowMultiColumnSorting property for MasterGridViewTemplate as described in the documentation but I can not find it.

Can you please help me locating this property?

BTW: I am using the 2008 Q1 version of the Winforms controls

Regards,

Mark
Mark Blom
Top achievements
Rank 1
 answered on 11 Aug 2008
2 answers
156 views
Hi :o)

I'm just starting out with your winforms toolkit and having lots of fun with the grid which is brilliant.

What I'm having a job with is refreshing it when returning from a details screen. I've got it working ok but when restoring the select row to the position before I update it jumps around and doesn't look professional.

This is how I'm doing it  - is there a better way

        Dim Pos As Integer = Me.RadGridView1.CurrentCell.RowIndex
        Me.ClientsListTableAdapter.Fill(Me.Clients.ClientsList)
        Me.RadGridView1.CurrentRow = Me.RadGridView1.Rows(Pos)

Many thanks and well done on a great set of tools

Tim 
timtom
Top achievements
Rank 1
 answered on 08 Aug 2008
2 answers
135 views
I can't find original post. This is what you wrote:

Hello DP,

Thank you for writing.

I do not know exactly what is your scenario, but the reason for the described behavior is that the child template columns are generated again in run-time. In this way they lose their settings made in design-time. I suppose that maybe you use AutoGenerate hierarchy from datasource or you change binding in run-time. I have tested a hierarchy scenario when I have done all the settings by the PropertyBuilder.

I have created manually child templates and relation and everything works as expected. ChildTemplate column settings have been preserved.

To provide you with further assistance I need more information about your scenario. It will be very helpful if you send me an example application that demonstrates the issue. On order to allow you attachments I have moved your topic in our support system.

I am looking forward for your reply.

All the best,
Martin Vasilev
the Telerik team

You are right, I do use AutoGenerateHierarchyFromDataSet = True.

I have to set this at run time. Can you give sample code for setting widths of columns and hiding columns of the Child Grid at run time.

Thanks ... DP
Martin Vasilev
Telerik team
 answered on 08 Aug 2008
1 answer
85 views
Hello!

I feel as if I am going mad here.
I am using the windows forms rad listbox, but I wanted to add a custom property to it, so I created a custom control and inherited like so:

public partial class ElementTypeRadListBox : RadListBox   
    {  
        public ElementTypeRadListBox()  
        {  
            InitializeComponent();  
        }  
 
       public ProductCreatorEnums.ElementType ElementType { getset; }  
        
    } 

Very very simple, and this has worked perfectly fine when I have done it on radlistItems and various other controls.
The problem is only with the listbox.. when I put it on my form it appears as if it is disabled. The box appears in a light orange in design view and when I run the project the items I am binding appear in the listbox, but I cannot select them.

Please please tell me what I am doing wrong!
Am I not allowed to inherit from the RadListBox, is this something that happens when you do?

Thank you so much in advance.

Bex
Georgi
Telerik team
 answered on 08 Aug 2008
1 answer
222 views
How can i format text (digits) in a RADLabel to be shown in a currency format?
Example: 7,97962 -> 7,97 €
Georgi
Telerik team
 answered on 08 Aug 2008
1 answer
126 views

I have a problem with RadPanel and copy/paste operations in VS2008. The copied panel does not contains any of the controls, which were in original panel. Also theme information is missing.

Is there any workaround? It makes use of RadPanel very difficult, if you want to use it as a container.

best regards

artur

Martin Vasilev
Telerik team
 answered on 08 Aug 2008
4 answers
193 views
I am working on a project that handles budgets.  When someone makes a budge adjustment they can have multiple transactions per Account. 

I have created a gridview to display these transactions, this grid is grouped by Account. 

I would like to add the Account total to the group-by expresion, however it would be represented by beginningBalance+Sum(TransactionAmounts) .  Are you able to do this type of calculation in the group header?
Jordan
Telerik team
 answered on 08 Aug 2008
6 answers
217 views
Hi.

I'm using a radbutton with a image. When I try to customize the UI element, if I Change the AutoSize property to False of the Text Layout, so I can use the Location to change the position of the text in the button, the text doesn't show when running my application. If I change the location with the AutoSize True, the text shows, but in the wrong place. Can you give me a solution?

Thanks
Boyko Markov
Telerik team
 answered on 08 Aug 2008
5 answers
160 views
In ExplorerBarStyle RadPanelBar I am trying to set the font of RadPanelBarGroupElement(s) caption to Bold and underlined. I can't find where to set this at design time. So I am doing it at run time as follows:

RadPanelBarGroupElement1.GetCaptionElement().Font =

New Font(RadPanelBarGroupElement1.GetCaptionElement().Font.FontFamily, 14, FontStyle.Bold)

However, I can set the font style to either Bold or Underline but not both.

What is the best way to set the font?

Thanks ... DP
Boyko Markov
Telerik team
 answered on 08 Aug 2008
3 answers
127 views
Hi all.
Does anyone know how to make text fit cell's width?
I mean when text length exceeds  cell's width. How to make it fit the width of cell?
Thanks in advance.
Fachmann.
Martin Vasilev
Telerik team
 answered on 08 Aug 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)
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
CheckedDropDownList
ProgressBar
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
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?