Telerik Forums
UI for WinForms Forum
2 answers
104 views
Hi,

Is it possible to setup items in a RadRibbonBarButtonGroup so that when setup in Vertical orientation you can get two items on one line.

E.G.
I want to have A Label on one Line, then a Textbox and Label on the next line and then a Label 

At the moment I have set the RadRibbonBarButtonGroup  Orientation to Vertical but this gives me a line for each element

thanks 

David








Peter
Telerik team
 answered on 12 Jan 2012
9 answers
400 views
Hi,

I need your help to use GridViewComboBoxColumn inside RadGridView.

1:     Please guide me how can i access the GridViewComboBoxColumn in RadGridView_CellFormatting Event.

2:    How can i get the GridViewComboBoxColumn when processing each row of the grid?

Thanks.
Ivan Petrov
Telerik team
 answered on 11 Jan 2012
13 answers
944 views
Hi,
    There is a button on my form on the click of which I am creating a local object, adding that object to a generic list. I want to rebind my RadGridView to that list every time there is a click fired. Is it possible?
Julian Benkov
Telerik team
 answered on 11 Jan 2012
1 answer
132 views
Hi,
I have a custom style defined from the 2011 Q2 GridDataCellElement.  Since GridHyperlinkCellElement is new, is it possible to copy the GridDataCellElement styles into the GridHyperlinkCellElement?

Thanks,
David
Ivan Petrov
Telerik team
 answered on 11 Jan 2012
3 answers
211 views
I'd like to prevent the user from selecting options in the toolwindow header context menu. If this is not possible, can I prevent the entire context menu on a docked toolwindow header from appearing?

I've attached a screen shot of the context menu outlined in red that I'd like to disable. Thanks.
Stefan
Telerik team
 answered on 11 Jan 2012
3 answers
633 views
What I thought was going to be a simple issue, hasn't turned into one. Basically I need to autosize a column based on the contents in the dropdown.

The grid is bound to a BindingList<T> as well as the combobox column. The values that appear in the combobox (DisplayMember) are based on resources, so it's possible the width of the required column could changed based on the resource id and the string returned. I need to automatically adjust the width of the GridViewComboBoxColumn based on the contents in the combo box. Currently I'm using the <column>.BestFit() method, but this only works based on the displayed data, I've tried using the AutoSizeMode property after the call of BestFit() call as explained in help but there is nothing there that says to use width of the values in the drop down (by the way there is an error in the names of the enumerators for this setting BestFitColumnMode.SymmaryRowCells - it should be BestFitColumnMode.SummaryRowCells, but I digress)

An example, based on resourceID

en-US                     fr-FR                es-MX
XXX                         XXXXXXXX        XXXXXXXXXXXXXXXXXXXX
YYYYYY                  YYYY              YYYYYY

I need the width of the column to adjust based on the max length of whatever could be displayed to the user, in the example above, if the resource id is set to es-MX, the width of the column should be larger (wider) than it is if the resourceID is en-US, and the same for fr-FR.

Hopefully I haven't over-complicated the explanation of the problem. Thank you in advance,
Dave Galligher
Jack
Telerik team
 answered on 11 Jan 2012
3 answers
191 views
Hi

We're trying to group by a field called CompanyName. The grid seems to show the group but it creates a group per record. I tried hooked into the GroupSummaryEvaluate event and when I look at the e.Value it's null?

If I remove the grouping I can see that CompanyName has values

Why is it showing "CompanyName : " instead of "CompanyName : Some Company Name" ?
Julian Benkov
Telerik team
 answered on 11 Jan 2012
5 answers
254 views
Hi,
I have a radgridview setup wth a hierarchy. I would like this grid to refresh every ten seconds as new information could be added to the database from another source, so it needs to be kept up-to-date. I did have a timer which would fire every ten seconds which reloaded the data.

The only problem is, if I have a row expanded or select a row and the grid reloads the selected row is lost and the sub grids close. Is there any way I can  keep this open while the data refreshes? ie the new row would be added at the bottom?

Any ideas or pointers would be great.

Thanks
Julian Benkov
Telerik team
 answered on 11 Jan 2012
2 answers
104 views
Hi I have the following problem

I have a hierarchical  whit a master detail row structure...When i click on Add new row in a Detail row i want get in the parent Row some values that are the primary key ...

I'm trying to do so but does not work
 
Private Sub radGridView1_DefaultValuesNeeded(ByVal sender As Object, ByVal e As GridViewRowEventArgs)
         
        'here i get the parent row
        Dim row As GridViewRowInfo = TryCast(e.Row.ParentRow, GridViewRowInfo)
        If row IsNot Nothing AndAlso row.ParentRow IsNot Nothing Then
             e.Row.Cells("ID").Value = row.ViewInfo.ParentRow.Cells("Ms_ProgRow").Value
        End If
 
    End Sub
But the Master row is always nothing


i try also to do get the parent cell value in this way

e.Row.Cells("ID").Value= e.Row.ParentRow.Cells("Ms_ProgRow").Value
but i got a null reference exception!

How can i do this_?

Thx
Jack
Telerik team
 answered on 11 Jan 2012
6 answers
512 views
Hello,
I am trying to solve this simply soundling problem for hour now. I am trying to adjust the minimum width of the popup of a DropDownList.

I tried something like 
rddl_Consignor_Iso.Popup.MinimumSize = New Size(500, 200)
or 
rddl_Consignor_Iso.DropDownListElement.DropDownMinSize = New Size(500, 200)
or
rddl_Consignor_Iso.DropDownMinSize = New Size(500, 200)
and some other coding.
All worked fine, when using the arrow button with the mouse. The popup then is in the expected width. But when entering the box using the keyboard and typing some letters, the box pops up only in the same width as the DropDownList control. I'm getting mad on this. Which value do I have to set to get an acceptable result? Cheers Roberto
Aaron
Top achievements
Rank 1
 answered on 09 Jan 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
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
ProgressBar
CheckedDropDownList
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
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
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
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?