Telerik Forums
UI for WinForms Forum
1 answer
156 views
Hello

Currently I have the following problem: In my solution there is a radgridview object bound to a MS SQL table containing one string field, three numeric fields and one boolean field. None of these fields are allowed to be NULL. If I click on "new row" the editor of the first field opens correctly. Now if I click to another row in the table the grid raises the DataError event because the field values are not set. So far, so good.

In my event handler I want to check if all values are empty and then cancel the "add new row" process. So I want to check the values of the problem line by using GridViewDataRowInfo myRow = radGrid.Rows[e.RowIndex] and then loop over all cell values.
But when the event is raised I get e.RowIndex=0 and e.ColumnIndex=-1. RowIndex points to the first existing row in the table but this is not the problem line. Also the columnindex points not to the problem field.

Do I do a mistake by checking RowIndex/ColumnIndex for a new row?

I use Q2/2009 of the telerik suite.

Any ideas or better solutions to solve this problem are welcome.

Kind regards
Roger
Martin Vasilev
Telerik team
 answered on 11 Nov 2009
5 answers
202 views
Hello,

I have a RadDock with MDI enabled and when opening child forms they do not appear maximized.  I have set the property "WindowState" to "Maximized" on the RadForm and set the "MaximizeBox" and "MinimizeBox" properties to false.  However when I open up these forms in the RadDock they are not maximized and they still have the Maximize and Minimize buttons in the top right hand corner.  When I double click on the MenuBar they go away and appear maximized at that point.  Please advise.

Thanks,  

ayumi hinako
Top achievements
Rank 1
 answered on 11 Nov 2009
1 answer
120 views

Good morning.

            I have a problem with the DocumentWindow in your RadDock class. I downloaded your RadControls for WinForms Q3 2009 release. I did the following steps:

 

  1. New project, WindowsForm Application (with Visual Basic 2008 Express Edition).
  2. Insert a RadDock.
  3. Insert a RadMenu, one item only (“Add”).
  4. Here is the code in the form:

 

Imports Telerik.WinControls.UI.Docking

 

Public Class Form1

 

  Private Sub RadMenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadMenuItem1.Click

    RadDock1.Visible = False

 

    Dim docW As DocumentWindow = New DocumentWindow("Test")

    Dim pnl As New Panel

    pnl.BorderStyle = BorderStyle.FixedSingle

    pnl.Dock = DockStyle.Fill

    docW.Controls.Add(pnl)

    RadDock1.AddDocument(docW)

 

    RadDock1.Visible = True

  End Sub

End Class

 

I programmatically insert a new DocumentWindow with a Panel in it. If you omit instruction “RadDock1.Visible = False”, all is ok, otherwise the panel will overlap the tab. If you click the small down arrow on the right (it’s almost invisible) and select the window (Test), all returns ok.

In my application, obviously much more complicated, I need to make invisible the RadDock during certain operations. What can I do to solve this problem?

 

Thank you.

Georgi
Telerik team
 answered on 11 Nov 2009
1 answer
194 views
Hi i have a radtab strip . Inside that i have two grids and a treeview . I had set the Tab content panel  Autoscroll property to false  . I need to enable the horizontal scroll bar only not the vertical scroll bar . When the autoscroll property is set to the Tab content panel when i scroll the entire content panel is scrolling . I need the only one grid should scroll while the other controls need not be scroll . How to enable the Horizontal scroll bar of the Tab content panel manually? Please suggest me a solution.Thanks .
Vassil Petev
Telerik team
 answered on 11 Nov 2009
1 answer
276 views

Good morning.

            I have a problem with the DocumentWindow in your RadDock class. I downloaded your RadControls for WinForms Q3 2009 release. I did the following steps:

 

  1. New project, WindowsForm Application (with Visual Basic 2008 Express Edition).
  2. Insert a RadDock.
  3. Insert a RadMenu, one item only (“Add”).
  4. Here is the code in the form:

 

Imports Telerik.WinControls.UI.Docking

 

Public Class Form1

 

  Private Sub RadMenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadMenuItem1.Click

    RadDock1.Visible = False

 

    Dim docW As DocumentWindow = New DocumentWindow("Test")

    Dim pnl As New Panel

    pnl.BorderStyle = BorderStyle.FixedSingle

    pnl.Dock = DockStyle.Fill

    docW.Controls.Add(pnl)

    RadDock1.AddDocument(docW)

 

    RadDock1.Visible = True

  End Sub

End Class

 

I programmatically insert a new DocumentWindow with a Panel in it. If you omit instruction “RadDock1.Visible = False”, all is ok, otherwise the panel will overlap the tab. If you click the small down arrow on the right (it’s almost invisible) and select the window (Test), all returns ok.

In my application, obviously much more complicated, I need to make invisible the RadDock during certain operations. What can I do to solve this problem?

 

Thank you.

Georgi
Telerik team
 answered on 11 Nov 2009
4 answers
151 views
In Q2 version there was an EnsureChildElements method for the RadItem.
After I updated my project to Q3 version this method cannot be found and I get an error.

Any ideas?

Thanks in advance
Georgi
Telerik team
 answered on 11 Nov 2009
3 answers
224 views

I have a RadGridView which has a row for every employee in the database. Users manage employees using this Grid, so they have the capability to add, modify, and remove rows.

I have been able to use the RowsChanging/Changed events to call the appropriate DAL methods to add/remove the information from the underlying database, but when the user adds a row, the row is immediately sorted by whatever sort the user has chosen, and so it "appears" to disappear. In actuality, it has simply placed itself in the appropriate spot in the list according to the sort function. I would like to hook into an event that occurs when the user finishes adding the row and select the row so that the user can see that it was added successfully and did not disappear.

 

How would I accomplish this?

Martin Vasilev
Telerik team
 answered on 11 Nov 2009
3 answers
155 views
My client is using WinXP Traditional Chinese Home edition.

Recently he has applied the Windows XP SP3.

After applying the SP3, the menu text disappear.

In my own development machine, using Eng Win XP Professional, the menu text is normal after applying the SP3.

He has resintalled the program but no helps.

Telerik Version:2008.3.1314.20

Nikolay
Telerik team
 answered on 11 Nov 2009
2 answers
142 views
I upgraded to Q3-2009 and my data bound gridview doesn't show the horizontal scrollbar. It seems to be a refresh issue because when I open some other screen and come back to this screen, the horizontal scrollbar appears again! Is there a workaround for this?

Regards,
MP
MP
Top achievements
Rank 1
 answered on 11 Nov 2009
2 answers
226 views
I recently upgraded to Q3-2009 and my gridview control stopped resizing automatically with the form. The gridview is anchored to all sides of the windows form and resized automatically in Q2-2009 release. Has anyone else also faced the same issue?

Regards,
MP
MP
Top achievements
Rank 1
 answered on 11 Nov 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?