Telerik Forums
UI for WinForms Forum
3 answers
462 views
If I have a data grid and not enough records to fill it then I get a white background shows where there are no rows.  I cannot find a way of changing this.  I have attached an image.  My data grid is red but I end up with a white area at the bottom.  I want to be make this area, where are now rows, red as well please.  Many thanks.
Mark
Top achievements
Rank 1
 answered on 12 Mar 2015
1 answer
249 views
Hello,

I want to select a control in my form when the user selects a node.
This works when selecting the node with the keyboard but when i select a node with the mouse, the node gets the focus after the SelectedNodeChanged event.
Is there any way to tell the Treeview not to steal the focus?
Todor
Telerik team
 answered on 12 Mar 2015
1 answer
504 views
I want to display the bottom border of by rows in white so that I get a nice single line between rows.

I have played with code like:

Private Sub RadGridView1_RowFormatting(sender As Object, e As Telerik.WinControls.UI.RowFormattingEventArgs) Handles RadGridView1.RowFormatting

e.RowElement.DrawBorder = True
e.RowElement.BorderColor = Color.White
e.RowElement.BorderTopWidth = 0
e.RowElement.BorderBottomWidth = 2
e.RowElement.BorderLeftWidth = 0
e.RowElement.BorderRightWidth = 0

and

Private Sub RadGridView1_CellFormatting(sender As Object, e As Telerik.WinControls.UI.CellFormattingEventArgs) Handles RadGridView1.CellFormatting
      
e.CellElement.DrawBorder = True
e.CellElement.BorderColor = Color.White
e.CellElement.BorderTopWidth = 0
e.CellElement.BorderBottomWidth = 4 ' Setting to 1 or 2 didn't show
e.CellElement.BorderLeftWidth = 0
e.CellElement.BorderRightWidth = 0

but either I cannot get anything to display until I set the bottom width to 4 pixels, or I get lots of other border items shown as well.

Any ideas please?
       
Stefan
Telerik team
 answered on 12 Mar 2015
0 answers
239 views
Hello,
     I am using a radgridview in which I am adding a gridviewdecimalcolumn, but I want to restrict the user from entering the specific number of decimals.
Eg: If I am having a column and I enter the value for it '123456789' then it gets entered while if i want to restrict the user to enter the value only upto 3 places i.e 123 it isn't possible as in if I am giving the maximum then it changes to 999 but I don't want it like that I want that if the user enters the value as '333' then it should get entered only upto that number of decimal places after that if the user enters any number it should not get displayed or entered.So how to do this?
Lokesh
Top achievements
Rank 1
 asked on 12 Mar 2015
2 answers
175 views
Hello dear Dimitar,

There is a amazing program which has been developed by you. "Use custom filtering to search in all columns of RadMultiColumnComboBox".
http://www.telerik.com/support/kb/details/use-custom-filtering-to-search-in-radmulticolumncombobox
It is very good, handy and really wow.
But when you hit enter key on MultiColumnComboBox for 3 times, you get an NullReferenceException exception.
Can you fix it?

Thanks
Regards,
Abbas
Abbas
Top achievements
Rank 1
Iron
 answered on 12 Mar 2015
3 answers
92 views
Hello everyone

It sounds very strange but it's the very truth. I have a RadGridView in my WinForm application. For this RadGridView I'm using "TelerikMetroTouch" theme. When I scroll down to the bottom and then hover out of the GridView, it just scrolls up to the middle of the RadGridView.
First I thought it must have something to do with my code so I commented everything and then started the application again. But the behaviour stays the same. I was very confused and couldn't find any help on the internet.
Then I created a test application and copied the GridView into it. It has the same behaviour. The last thing I tried to do was changing the theme. I couldn't believe it when I saw that that strange bevaviour disappears when changing the theme to "VisualStudio2012Light".

So the summary is: When I'm using "TelerikMetroTouch" theme for Telerik RadGridView control, it scrolls up to the middle when I first scrolled down to the bottom and then hovering out. But when I'm using "VisualStudio2012Light" theme, it doesn't scroll.

Does anyone saw that behaviour before or can anyone provide some help?

Regards,
Danilo
Dimitar
Telerik team
 answered on 12 Mar 2015
3 answers
159 views
Hi,
I want to customize the Default Behavior of RadPageView in Outlook Mode.
I have attached the Image related to that. Please have a look on it. And let me suggest whether it is possible.
Stefan
Telerik team
 answered on 12 Mar 2015
7 answers
157 views
Hello!
I have a radform with a button, when I click it, a usercontrol form opens in a tab inside the radpageview, all nice, but if I click the same button, the same usercontrol open in another tab.. so, the question is, how I can prevent this? for example instead of open the same tab, maybe it can focus to the tab that is already open with the usercontrol in it,

this is the basic code for my button:

1.RadPageViewPage page = new RadPageViewPage();
2.UserControl1 uc = new UserControl1();
3. 
4.page.Text = "Page Test ";
5.radPageView1.Pages.Add(page);
6.page.Controls.Add(uc);
7.radPageView1.SelectedPage = page;


what type of if statement do I need here?

Thanks!
btw, amazing job with this .net toolbox! Thanks!
Stefan
Telerik team
 answered on 12 Mar 2015
3 answers
881 views
Please can we have an example of adding a row to the Multi Column Combo Box, that does not use a Datasource

I wanted to have a column with a name and another with a checkbox.

it seems rather simple, but there is no example in the documentation that details a simple add items

I did manage to add records via a datatable, but this does not add to the existing columns in the control, but adds new columns
And does not set the value of the checkbox

Sub LoadData()
 
        Dim table1 As DataTable = New DataTable()
 
        table1.Columns.Add("ID")
        table1.Columns.Add("Name")
        table1.Columns.Add("Selected")
 
        table1.Rows.Add(1, "Ivan Petrov", True)
        table1.Rows.Add(2, "Stefan Muler", True)
        table1.Rows.Add(3, "Alexandro Ricco", False)
 
        cboTestCheckbox.DataSource = table1
        cboTestCheckbox.DisplayMember = "Name"
 
 
    End Sub

Stefan
Telerik team
 answered on 12 Mar 2015
3 answers
159 views
I am trying to set the spin editor to only allow entry via the Arrow keys but when I set the readonly property to true I can not change the value in the spinControl at all. Is the the expected behavior?

Thank you.
Stefan
Telerik team
 answered on 12 Mar 2015
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
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
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
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?