Telerik Forums
UI for WinForms Forum
3 answers
374 views
Hi everybody,

I would like to know if it is possible to complete a gridview  with empty rows?

For example, I have a grid view which can contain 9 rows but I only have 3 items to show.
The bottom of my grid is empty and I'd prefer having empty rows than nothing!

How can I do this?

Thanks

Lookoum
Julian Benkov
Telerik team
 answered on 08 Dec 2011
4 answers
489 views
I have a page view in my application.  Programmatically, I add 3 pages.  On each page I add a TableLayoutPanel.  Inside each panel I add about 15 rows with 2 columns each.  Each column has one label and one "other" control.  The "other" control is one of the following...

RadTextBox
RadCheckBox
RadDropDownList
RadSpinEditor

The pages with the drop down and spin editor takes several seconds to load and my processor is pegged!

I'm not hitting the database at this time, it is definitely in the control.
Sebastian
Top achievements
Rank 1
 answered on 07 Dec 2011
9 answers
574 views
See Article: http://www.telerik.com/support/kb/aspnet-ajax/window/adding-a-custom-button-to-radwindow-titlebar.aspx

I would like to know how to add a custom print button to RadWindow for WinForms.

For example how to implement a print button in my window titlebar. Some typical scenarios include implementing help or print button based on this functionality.

I would like to add buttons to the windows that I am using in a RadDock.  It it possible in WinForms?

Alexander
Telerik team
 answered on 07 Dec 2011
1 answer
143 views
Hello,

I would like that when I add some specific MDI child to the RadDock programatically it gets displayed int a new horizontal tab group instead of a new tab. Is this possible ? And how ?


Thank you.
Julian Benkov
Telerik team
 answered on 07 Dec 2011
3 answers
149 views
How do I focus control inside toolwindow on form load ?
Julian Benkov
Telerik team
 answered on 07 Dec 2011
2 answers
147 views
Hi,

I have few questions about how to create custom item in RadListView.

I have a list of objects and would like to create custom item for each of the object. The value of visualElements of each custom item will get from properties value of associated object.

By reading the online documents, I know that the custom visual item is created by caling VisualItemCreating event. But how can I trigger the event?

As I understand the function SynchronizeProperties() is used to assign values to visualElements when the custom visual items are created (please let me know if I am wrong). In the example code, the value assigned to custom visual item are from data table. But In my case I want to assign the value of properties of a object from the object list to each custom visual item. What steps I need to go through to achieve that?

Thanks a lot
Ivan Todorov
Telerik team
 answered on 06 Dec 2011
1 answer
76 views
Good morning.

i am working with the schedule and i am doing the next scenario.
i am making schedule from 8 am until 8pm with interval of five minuts between 8am - 8pm then the count the schedule are 144 more or less
and in the week are 864 but when i made click  in the button week in the control RadSchedulerNavigator and this control no show the information schedule just show the week but empty.. but when i change the next property of this control
(this.schScheduler.ActiveView as SchedulerDayViewBase).RangeFactor and put the value ScaleRange in five minuts the control is able to show the infomation but the problem is that is need a lot time to load de information more or less 6-7 minutos ..is take much time..to show the information, let me know what i can do.. to show the information in the week..or there other posibility
thanks for your help.
Elver Emilio
Ivan Todorov
Telerik team
 answered on 06 Dec 2011
3 answers
191 views
Hi, everyone,

I have been using telerik controls for windows for few months now, and this may be a stupid question. I've noticed that when a radgrid has been filtered or sorted, the SelectedRows property shows only one row selected even though more than one has been selected. I had a piece of code that uses that property so that on the edition of one row the value is copied to the other rows.

Here's a sample of my code:

Private Sub rgvContractDetails_CellEndEdit(sender As Object, e As Telerik.WinControls.UI.GridViewCellEventArgs) Handles rgvContractDetails.CellEndEdit
   Try
 
      If rgvContractDetails.SelectedRows.Count > 1 Then
 
         Select Case e.Column.Name
            Case "Quantity"
               For Each Row As GridViewRowInfo In rgvContractDetails.SelectedRows
                  Dim oSelectedItem As SalesContractDetail = Row.DataBoundItem
                  Row.Cells("Quantity").Value = e.Value
                  oSelectedItem.QuantityStr = e.Value
                  oSelectedItem.CalculateBalance()
                  Row.Cells("QtyBalance").Value = oSelectedItem.BalanceStr
               Next
            Case "QtyCancel"
               For Each Row As GridViewRowInfo In rgvContractDetails.SelectedRows
                  Dim oSelectedItem As SalesContractDetail = Row.DataBoundItem
                  Row.Cells("QtyCancel").Value = e.Value
                  oSelectedItem.CancelStr = e.Value
                  oSelectedItem.CalculateBalance()
                  Row.Cells("QtyBalance").Value = oSelectedItem.BalanceStr
                  Row.Cells("CancelDate").Value = Today.ToShortDateString
               Next
      End If
 
   Catch ex As Exception
      MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error)
   End Try
End Sub


Is this the default behavior? If so, is there a workaround so that I can persist the selected rows programmatically and keep my code as it is?  I am using version 2011.02.712.

Thanks for your help,

Mauricio.
Alexander
Telerik team
 answered on 06 Dec 2011
3 answers
130 views
Hi,

When user drag an appointment to another hour, i want to do a validation to verify if that hour is prior than current date. The only event i see i can do that is in AppointmentFormatting, beacuase in CollectionChanged there is no changes in this case. However, it isn't possible to show a messagebox in AppointmentFormatting (gives an exception "Target invocation ...").

So my question is: how can i validate when user drag an appointment to another hour an show a messagebox to warn about this validation.

Thanks.
Ivan Todorov
Telerik team
 answered on 06 Dec 2011
1 answer
84 views
Hello,

Is is it possible to maximize a Form and/or a RadForm from code ? When it's creatred ? When it already exists ?
Optionnally, in a MDI container ?

Thank you,


Thomas

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