Telerik Forums
UI for WinForms Forum
6 answers
134 views
I want to create a document window tab on the dock when I click a button. how do I go about this?
Thanks!!
-Eric Pacheco
Richard Slade
Top achievements
Rank 2
 answered on 29 Jan 2011
4 answers
336 views
I have created custom cells in rad grid like this

private void radGrid_CellFormatting( object sender, CellFormattingEventArgs e )
 {
           if( e.CellElement.ColumnInfo.Name == "Rate")
            {
                CurrencyRate currencyRate = e.CellElement.RowInfo.DataBoundItem as CurrencyRate;
                RadSpinElement spin = new RadSpinElement( );
                spin.MinValue = 0;
                spin.MaxValue = decimal.MaxValue;
                spin.DecimalPlaces = 2;
                spin.TextAlignment = HorizontalAlignment.Center;
                spin.Value = currencyRate.Rate;
                e.CellElement.Children.Add( spin );              
            }
}

now, how can I get RadSpinElement object from here

private void radGrid_CommandCellClick( object sender, EventArgs e )
{
                 GridCommandCellElement cell = sender as GridCommandCellElement;
                if( cell.ColumnInfo.Name == "Update" )
                {
                        //I need "Rate" RadSpinElement object here
                 }
}

without creating custom RadSpinGridCellElement.

Thanks.
Richard Slade
Top achievements
Rank 2
 answered on 29 Jan 2011
3 answers
144 views
Hello,

We started having a weird problem with one of our command bars. It would become inactive somehow when you interact with a rad grid on the same win form, and when you mouse over it the buttons won't change their background as usual, and if you try to click one, it won't do anything. In order to make it work you have to click once anywhere on the bar and then it behaves properly again. I tried explicitly calling Focus() on the bar and the strip element in the code behind but did not help. Any ideas?

Thanks!
Richard Slade
Top achievements
Rank 2
 answered on 28 Jan 2011
2 answers
137 views
Hi,

We have a  Lookup window having a text box at top and Grid with Data. When user type in text box, we find the data in grid and select that Row. Grid in NOT having focus at that time means we want selected row to be shown while user is writing on text box. In previous version Q2 2010, it was working properly. from Q3 2010, until grid control don't have focus, it does not show Selected row.... 

Kindly advise any solution for this.

Thanks 
devoas
devoas
Top achievements
Rank 1
 answered on 28 Jan 2011
1 answer
250 views
Hi.

I am using the Visual Style Builder to create the theme for RadGridView.

I am trying to change the RowFill for GridTableHeaderRowElement with a new Gradient type repository item. I don't want the background to be gradient colored and thus I chose the GradientStyle = Solid. This does paint the background with the color I chose but the table header columns still have gradient color (different from what I selected) left in them.

I have attached the snapshot of the VSB screen where I did the above.

As you can see, there is still a tint of gray at the bottom of the header columns that I am not able to remove.

Can someone help?

Thanks.
Nikolay
Telerik team
 answered on 28 Jan 2011
5 answers
259 views
Hi I want to show only upto 3 desktop alerts at any given time.  Some alerts have autoclose options while others do not.  As such before displaying an alert, I need to check how many are open.  I tried using the desktopalertmanager but running into null exception errors

Dim

 

iDesktopAlertManager As DesktopAlertManager
Dim value As IEnumerator(Of RadDesktopAlert)
value = iDesktopAlertManager.GetRegisteredAlerts()

 

I stepped though the code and the iDesktopAlertManager is nothing which causes a null exception error.  I am not fully aware of the DesktopAlertManager.

This is similar to the code sample on your reference pages so not sure what I am doing wrong here...
http://www.telerik.com/help/winforms/telerik.wincontrols.ui-telerik.wincontrols.ui.desktopalertmanager-getregisteredalerts.html
Ivan Todorov
Telerik team
 answered on 28 Jan 2011
1 answer
94 views
Is there any way to hide the 'GridIndentCellElement' that shows when a group is expanded?

I am using Q1 2008 SP1 version.

Thanks
Sunil
Martin Vasilev
Telerik team
 answered on 28 Jan 2011
1 answer
163 views
If I set the Format to "Time" I see no need for the Calendar button to show up in the cell. I basically want a cell that only has time in it. How can I disable showing the calendar button?

Thanks
Richard Slade
Top achievements
Rank 2
 answered on 27 Jan 2011
2 answers
117 views
Hello!

Is there any controls in RadControls for WinForms Q3 2010 which have similiar functionality like collapsible pane in examples or expander in WPF?
I need similiar functionality and possibility to add controls  like buttons, combobox, etc ?
Is it possible with existing implementation of  collapsible pane? I tried but no success.

Thanks in advance.

Richard Slade
Top achievements
Rank 2
 answered on 27 Jan 2011
2 answers
198 views
I have a series of check boxes on my rad ribbon bar which I use to quickly filter a grid. I am handling the Click event of the RadCheckBoxElement, this calls a method to Refresh the grid, the problem is that the checked value of the control is not being passed correctly to the toggle state property, e.g. when it's ticked it passes false, when it's unticked it passes true.
I know I am doing something stupid, but can somebody please advise what...

Justin
Richard Slade
Top achievements
Rank 2
 answered on 27 Jan 2011
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?