Telerik Forums
UI for WinForms Forum
1 answer
142 views
RadGridView Columns sometime disappear.

For example:
I have set BindingSource, deleted not needed columns (leaving 2 TextBoxColumns on the GridView) and then added LookupColumn. When I have clicked OK button, the LookupColumn disappeared.
Julian Benkov
Telerik team
 answered on 11 Dec 2009
1 answer
309 views
I have a RadDock control that contains Tool Windows, Document Windows and Shaped Forms.

I want to be able to display a list of hidden windows and restore them to their pre-hidden state.

Questions :-

- Is there a list of these windows somewhere or do I have to track the windows that are hidden?
- If I need to track the windows that are hidden how do I do that?
- Any suggestions as to which control would be best suited to display the list of hidden windows, i.e. if you've done it before, used a particular control and it worked well

Thx
Nikolay
Telerik team
 answered on 11 Dec 2009
1 answer
140 views
Ok i have an array that i bind to the chart, with the following values

17
18
0
0
0
22
23
0
24
0
0
21
0
18

I know there is supposed to be an EptyValue property that approximates the empty (0 ???) values, but how can i use it ?
Currently i don't see any results on the chart
I use a bar chart and as it is now, the 0 values do not get approximated
Ves
Telerik team
 answered on 11 Dec 2009
2 answers
213 views
It drives me absolutly crazy when I make a change in the design mode and the change doesn't show up when I debug it. Where does Telerik store the settings for the UI at? I know its a binary file somewhere, I have came across it before and I know If delete it, it will be rebuilt with the latest settings. I hate spending 20 mins having to trick the Telerik stuff into working and I am a little frustrated. I know I could explain in greater detail what is going on but first I would really like to know where the settings file is.
Donnie
Top achievements
Rank 1
 answered on 10 Dec 2009
2 answers
223 views
The following link points to a Visual Studio 2008 VB.NET project that demonstrates some grid editing problems. I need advice on these problems.

http://www.glt1.com/gl/misc/GridView20091207.zip

Here are three sets of steps to produce the problems:

Run the project
Click in the "Row Text" column of the third row. The row is highlighted as expected.
Click again in the "Row Text" column of the third row. The cell goes into edit mode. The row size decreases so that the cell editor is only a single line. The row SHOULD have remained the same size.
Click in the "Row Text" column of the first row. The cell goes into edit mode as expected.
Click in the "Row Text" column of the third row. The cell goes into edit mode as expected, while remaining the correct size. It seems to stay the correct size from this point on, that is, the downsizing-to-one-line problem seems to occur only when going into edit mode for the first time.

Run the project
Click in the "Row Text" column of the third row. The row is highlighted as expected.
Click again in the "Row Text" column of the third row. The cell goes into edit mode (and the row sizing problem is evident once again).
Click just to the left of the first letter ("R") in the "Row Text" column of the third row. The cell text un-highlights and the caret is positioned at the beginning of the cell text as expected.
Press the left arrow key. The cell focus moves to the first column (skipping the read-only second column) as expected.
Press the left arrow key again. The cell focus moves very briefly to the "Row Text" column of the second row, but then quickly moves to the checkbox column of the second row. The cell focus SHOULD have stayed on the "Row Text" column of the second row.
Press the left arrow key again. The cell focus moves very briefly to the "Row Text" column of the first row, but then quickly moves to the checkbox column of the first row. The cell focus SHOULD have stayed on the "Row Text" column of the first row.

Run the project
Click in the "Row Text" column of the fourth row. The row is highlighted as expected.
Click again in the "Row Text" column of the fourth row. The cell goes into edit mode (and the row sizing problem is evident again).
Click in the "Row Text" column of the third row. The cell is focused as expected.
Click anywhere on the third line of text in the "Row Text" column of the third row. The cell text un-highlights and the caret is positioned on the third line of text as expected.
Press the up arrow key. The caret moves to the second line of text in the cell.
Press the up arrow key again. The cell focus moves to the "Row Text" column of the second row. The caret SHOULD have moved to the first line of text in the "Row Text" column of the third row.

Martin Vasilev
Telerik team
 answered on 10 Dec 2009
2 answers
279 views
I'm trying to pop up a MsgBox in a GridView's CellValidating event. like this:

If e.Value.ToString.Length = 0 Then 
    e.Cancel = True 
    MsgBox("Text is required.")  
End If 

The event keeps firing over and over, causing the MsgBox to appear "a million" times, and finally, the MsgBox AND the Form that contains the GridView both lose the text in their title bar.

I can use a flag like this:

If e.Value.ToString.Length = 0 Then 
    If Not validationInProgress Then 
        validationInProgress = True 
        e.Cancel = True 
        MsgBox("Text is required.")  
        validationInProgress = False 
    End If 
End If 

...and it works correctly, as long as I am trying to navigate away from the cell to some other element in the grid. If I click on any other control on the form, I get the message twice (???) but then the focus still goes to whatever other control it was I clicked on. For example, I have a "Close" button on the form, and I want the user to be able to click it to cancel their edits and not get the validation MsgBox, but instead I want to show a "Discard changes?" type dialog. Any ideas?

PS: If possible, please provide tech specs on exactly what causes the event to fire, such as the gridview losing focus, etc.
Martin Vasilev
Telerik team
 answered on 10 Dec 2009
2 answers
149 views
Hi


Please provide me the working source code in Vb.Net for RadBubbleBar.  I downloaded the latest TelerikCustomControlVB Code from the website but this example is not working showing lots of errors. I Included the references as per requirements but the result is the same .

I am working on VS 2008 using VB.Net Editor.


Attached is the solution file with errors shown.


I hope I will get the working example for the same






With Regards


Arshad Hussain
Nikolay
Telerik team
 answered on 10 Dec 2009
5 answers
769 views

Hi,
Is it possible to set the autosizerows = true with a minimum row height for each row of the datagrig without doing a loop on each row?

 Thanks
Jack
Telerik team
 answered on 10 Dec 2009
7 answers
349 views
I have the RadGridView.CellDoubleClick Handler implemented.  FYI, it's being used to open the Row being Double-Clicked in a separate Form for view / edit / delete, but that's besides point.  The problem is that it's being Triggered when I'm trying to expand / collapse ChildGridViewTemplate in quick succession (i.e. to quickly browse the ChildGridViewTemplate of a series of Rows).  This is happening with Mouse Double-Click Speed as fast as 8 / 10 not to mention the average 5 / 10 setting.  Is there a way I can detect in the RadGridView.CellDoubleClick Handler that the Cell being clicked on is a ChildGridViewTemplate Expander Cell (i.e. a GridGroupExpanderCellElement)?

Telerik WinForms 2009Q3 (2009.3.9.1103), VB, VS 2005 (v8.0.50727.762 SP.050727-7600), .Net 2.0 (2.0.50727), XP SP3, 3GB, 2.99GHZ, Core2Duo.


Svett
Telerik team
 answered on 10 Dec 2009
11 answers
412 views
I upgraded from 2009 Q2 SP1 to 2009 Q3 and have noticed some odd behavior with Autohide toolwindows that was not there before.

On the main MDI form, I have a toolwindow set as autohide. With the new release, I find that when I open a child MDI form, the autohidden toolwindow opens or animates as if I hovered over its tab. This did not use to occur. I only want animation when I hover over the tab.

On a child MDI form, I have a toolwindow set as pinned. When I hide it, hovering over the tabs does not do anything until I resize the main MDI form window. That action causes the tabs to animate normally. Again, this did not use to occur. I want animation anytime I hover over a tab.

Has anybody else experienced this?

More importantly, how can I get back the old (normal) behavior short of rolling back to Q2?


Nikolay
Telerik team
 answered on 09 Dec 2009
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?