Telerik Forums
UI for WinForms Forum
4 answers
140 views
hi , 
 I want to hidden the specific commands button in one column depend on cell value  ,the first time  after loading form everything is OK and buttons are be hidden but after scrolling the grid all other buttons in this column are be hidden too, please advise me with this problem .

  
Private Sub Grid_Form_CellFormatting(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.CellFormattingEventArgs) Handles Grid_Form.CellFormatting
 
 
        Try
              If TypeOf e.CellElement.ColumnInfo Is GridViewCommandColumn Then
                    If e.CellElement.RowInfo.Cells("GroupType").Value.ToString <> 3 Then
                 Dim button As RadButtonElement = CType(e.CellElement.Children(0), RadButtonElement)
                        button.Visibility = vbHidden
                        button.BackColor = Color.Peru
                    End If
                End If
            End If
        Catch ex As Exception
 
 
        End Try
End sub
Stefan
Telerik team
 answered on 01 Nov 2012
1 answer
69 views
I just wanted to see if anyone had suggestions for the best way to manage 24 charts on a single form that need to have their data refreshed every 30 seconds. I've done this as a web solution for the last couple of years, but recent development on the software we use to populate the database has made it so that they want all of the charting brought into the software itself and shutdown the website. 

With the web solution we ran into fairly frequent issues of having things time out or error because of too many calls to the server, or whatever the problem of the month happened to be. So I wanted to post this to get suggestions from anyone else who has done something similar with WinForms.

The charts will have anywhere from 1 to 30 data points, averaging somewhere around 10-12, so I won't be sending a ton of information out there all the time, but I want to make sure that I can maintain the performance of the web version while hopefully avoiding some of the pitfalls that I might not be aware of since this is the first time I will be using the WinForm controls. 
Peshito
Telerik team
 answered on 01 Nov 2012
5 answers
1.8K+ views
I have a GridViewCommandColumn in my RAD Grid View. I want to handle the Command button click event. Please provide sample to how handle it.
Jack
Telerik team
 answered on 01 Nov 2012
3 answers
483 views
What is the difference between these 2 beasts?

I am having a truly miserable time trying to add a radLabelElement (autosized) followed by a radWaitingBarElement in a radStatusStrip.

I note that using the designer, I can add a radWaitingBarElement to the radStatusStrip, but not a radWaitingBar.

These controls are supposedly updated before and after a backgroundworker completes its job. However, they seem to step on each others' toes, so the radlabelElement's text does not get properly updated, even though the code updates it before starting the background worker. I've tried rolling my own by hosting both a radWaitingBar and a radWaitingBarElement in a radLabelElement and a radHostItem added to the radStatusStrips Items.

None of these things actually works.

Ideas?
Helen
Top achievements
Rank 2
 answered on 31 Oct 2012
1 answer
121 views
Hi Telerik Team,

I use the Telerik release 2012 Q3 2012 (version 2012.3.1017).

I created a radLabel in the design-mode, set the autosize to false in the property window and resize it.

When I debug my application, I see the attribute autosize is true.

The autosite information is in the ressource-file, but i cannot edit it by the property window.

What I have to do to edit this attribute by the property window?

I look forward to your answer.

Best regards.

Frank
Jack
Telerik team
 answered on 31 Oct 2012
4 answers
237 views
Is there a way to use a multicolumn combo box editor in the PropertyGrid?

I've tried creating my own custom editor inheriting from the RadMultiColumnComboBoxElement, but I can't seem to get it working correctly.

Thanks
Tom Mieck
Top achievements
Rank 1
 answered on 31 Oct 2012
1 answer
102 views
hi
i useing a rad page view from my project
i want going to other tab page with  next or pervieus butten butten

please help me

Stefan
Telerik team
 answered on 31 Oct 2012
1 answer
77 views

Dear Telerik!

I have a problem with RadSplitButton in RadControls for WinForms.

I have one or more RadRibbonBarGroup within some buttons and for this reason my form isn’t narrow enough, the RadSplitButton (which is in the RadRibbonBarGroup) has an error.

So when I open down the RadRibbonBarGroup than click on an item (the item open a new form) on RadSplitButton, the RadSplitButton remains open.

I attach some screenshot to show you my problem.

Is there any solution for this?

Thanks in advice!

Peter
Telerik team
 answered on 31 Oct 2012
1 answer
132 views
Hello,
I´m working with radgridview for winforms, I'm a begginer in it, and I have a problem, I don't know how to populate the template of de grid, I try with this code:

Private

 

 

Sub rgvProgramacionEntregasCabecero_ChildViewExpanded(sender As Object, e As Telerik.WinControls.UI.ChildViewExpandedEventArgs) Handles rgvProgramacionEntregasCabecero.ChildViewExpanded

 

 

 

Try

 

 

 

'gvtProgramacionEntregasDetalle.DataSource = Obtener_DetalleViaje(rddlCentroDistribucion.SelectedValue, Today.AddDays(-30), _GrupoViaje)

 

 

 

Me.rgvProgramacionEntregasCabecero.Templates(0).DataSource = Obtener_DetalleViaje(rddlCentroDistribucion.SelectedValue, Today.AddDays(-30), _GrupoViaje)

 

 

 

 

End Using

 

 

 

Catch ex As Exception

 

 

 

RadMessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, RadMessageIcon.Error)

 

 

 

End Try

 

 

 

End Sub

 


but it doesn't work as I expected, when I expanded the principal grid, the template(or de child grid) is empty, so the function Obtener_DetalleViaje return information... I'm not shure it is the way to populate it, someone can help me?
I hope to be clear, thanks in advance
Stefan
Telerik team
 answered on 30 Oct 2012
2 answers
117 views
I would like to be able to use the expression editor as a stand-alone component.  I've been playing with both the WinForms and WPF versions.

I do realize the WinForms version doesn't directly support standalone operation, so what I've done is created a RadGridView and made it invisible.  I add some columns programmatically, and enable expression editing on the first one (only).
Then I have a button which launches the expression editor:
    RadExpressionEditorForm.Show(grid1, grid1.Columns[0]);

Which does bring up the expression editor, and I see the other columns I've defined in the "Fields" list.

But the method RadExpressionEditor.Show() method is not modal -- it returns immediately, and I don't see an alternate ShowDialog() signature.  Also, the method returns void, so I don't know whether the user pressed Cancel or OK.

I'm guessing that what I should do is handle some event on the grid view to know when the dialog has been dismissed ... but I've tried several, including CellValueChanged() and CellEndEdit(), and they don't ever seem to get called.

What am I doing wrong?!?
David
Top achievements
Rank 1
 answered on 30 Oct 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)
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
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?