Telerik Forums
UI for WinForms Forum
3 answers
182 views

Hi,
sombody help me, please.
I try to Create a PanelBar witch is dynamic filled with usercontrols.
My problem is the content-panel disappears when to many groupe-elements are added to my panelbar.

All standart elements are visable, but the content Panel - activated by EnablHostControlMode- witch is allway the last element of the list, will be covered by the following groupelement.

Neither padding nor margin or minSize helps

kind regards
Fabian Schulz
Nikolay
Telerik team
 answered on 28 May 2008
5 answers
183 views
Hi,

from the release notes of Q1 2008 SP1 there's a line:

"Added support for null value in ComboBoxColumn"

Now, how would be this accomplished? Is this a way to add an extra-item to the dropdown like EmptyListDataItem and the likes for WebGrid?
Is it actually documented in some example code somewhere?

So far we've only succeeded in getting a DBNull written to the DataRow (through a regular BindingSource) from the autogenerated GridViewDecimalColumn with an empty value, but not using the GridViewComboBoxColumn.
Georgi
Telerik team
 answered on 28 May 2008
1 answer
122 views
Hi.

How can I control the apperance of the drop-down section?
I want to change the scroll apperance, the background and the look of the 'drag to open' part on the bottom section of the form.
Georgi
Telerik team
 answered on 28 May 2008
7 answers
215 views
Hello, I am using the latest version of the RadControls for Winforms, but I have a problem with the Column chooser function in RadGridView. When i drag in a new column, it's width is so small that I can't even grab it with the cursor to expand it. If I add more columns they also get small but I can grab them.

I have tried both with AutoSizeColumnsMode = "None" and "Fill".

My first idea was to subscribe to a column chooser event and resize the columns programmatically, but I couldn't find such event.

These are the properties of my RadGridView:

this.radGridViewLicenses.Dock = System.Windows.Forms.DockStyle.Fill;
            this.radGridViewLicenses.Location = new System.Drawing.Point(0, 0);
            this.radGridViewLicenses.Margin = new System.Windows.Forms.Padding(0);
            this.radGridViewLicenses.MasterGridViewTemplate.AllowAddNewRow = false;
            this.radGridViewLicenses.MasterGridViewTemplate.AllowDeleteRow = false;
            this.radGridViewLicenses.MasterGridViewTemplate.AllowEditRow = false;
            this.radGridViewLicenses.MasterGridViewTemplate.EnableFiltering = true;
            this.radGridViewLicenses.MasterGridViewTemplate.EnableGrouping = false;
            this.radGridViewLicenses.MasterGridViewTemplate.ShowRowHeaderColumn = false;
            this.radGridViewLicenses.Name = "radGridViewLicenses";
            this.radGridViewLicenses.ShowGroupPanel = false;
            this.radGridViewLicenses.Size = new System.Drawing.Size(390, 543);
            this.radGridViewLicenses.TabIndex = 0;
            this.radGridViewLicenses.ThemeName = "Telerik";

Any help is appreciated,

 - Joel
Jan Hesselgren
Top achievements
Rank 1
 answered on 28 May 2008
2 answers
190 views
Im using a Carousel to display some photos.

The behaviour I want is that when I click on front most image (on an ellipse path) I want it displayed in a different frame. However, I cant find any other way of doing this then checking the cursor position of the click (or the position of the object clicked). Are there any other way of determening which is the front most object?

Best regards
Henrik
Henrik
Top achievements
Rank 1
 answered on 28 May 2008
1 answer
72 views
Hi i have a problem with the RadGridView for Windows. I can´t use the row filter when the radgridview is just for read (AlowEditRow=false) and when i set a column like read only.
Martin Vasilev
Telerik team
 answered on 27 May 2008
5 answers
144 views

Hi.

I'm trying to create a form with semi-transparent border (the form itself is solid, but a 10-pixel width is semi-transparent.



The problem is that when setting the form opacity, all the form gets the opacity, not just the border.

Can you recommend on a way to accomplish this?

Martin Vasilev
Telerik team
 answered on 27 May 2008
1 answer
131 views
Hi

How do I use RowFormatting to populate "custom" text into a ChildRadGridView ?

The following code populates the MasterGridView properly but my commented out code causes the program to fall over in a heap.

Private Sub rgvInvoices_RowFormatting(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.RowFormattingEventArgs) Handles rgvInvoices.RowFormatting  
        Dim loUserRow As _the_dl_outletDataSet.UsersRow = Me._the_dl_outletDataSet.Users.FindByU_nId(CType(Me.rgvInvoices.Rows(e.RowElement.ViewInfo.CurrentIndex).Cells("I_U_nId").Value, System.Int64))  
        If loUserRow IsNot Nothing Then  
            CType(e.RowElement.RowInfo.Cells("sCustomerName").CellElement, Telerik.WinControls.UI.GridCellElement).Text = loUserRow.U_sLastName & ", " & loUserRow.U_sFirstName  
        End If  
        CType(e.RowElement.RowInfo.Cells("sBillingAddress").CellElement, Telerik.WinControls.UI.GridCellElement).Text = CStr(Me.rgvInvoices.Rows(e.RowElement.ViewInfo.CurrentIndex).Cells("I_sBillingAddress1").Value) & vbNewLine  
        If String.IsNullOrEmpty(CStr(Me.rgvInvoices.Rows(e.RowElement.ViewInfo.CurrentIndex).Cells("I_sBillingAddress2").Value)) Then  
            CType(e.RowElement.RowInfo.Cells("sBillingAddress").CellElement, Telerik.WinControls.UI.GridCellElement).Text &= CStr(Me.rgvInvoices.Rows(e.RowElement.ViewInfo.CurrentIndex).Cells("I_sBillingAddress2").Value) & vbNewLine  
        End If  
        CType(e.RowElement.RowInfo.Cells("sBillingAddress").CellElement, Telerik.WinControls.UI.GridCellElement).Text &= CStr(Me.rgvInvoices.Rows(e.RowElement.ViewInfo.CurrentIndex).Cells("I_sBillingCity").Value) & vbNewLine & CStr(Me.rgvInvoices.Rows(e.RowElement.ViewInfo.CurrentIndex).Cells("I_sBillingCounty").Value) & vbNewLine & CStr(Me.rgvInvoices.Rows(e.RowElement.ViewInfo.CurrentIndex).Cells("I_sBillingPostCode").Value) & vbNewLine & CStr(Me.rgvInvoices.Rows(e.RowElement.ViewInfo.CurrentIndex).Cells("I_sBillingCountry").Value)  
        Dim loDeliveryAddressRow As _the_dl_outletDataSet.DeliveryAddressesRow = Me._the_dl_outletDataSet.DeliveryAddresses.FindByDA_nId(CType(Me.rgvInvoices.Rows(e.RowElement.ViewInfo.CurrentIndex).Cells("I_DA_nId").Value, System.Int64))  
        If loDeliveryAddressRow IsNot Nothing Then  
            CType(e.RowElement.RowInfo.Cells("sDeliveryAddress").CellElement, Telerik.WinControls.UI.GridCellElement).Text = loDeliveryAddressRow.DA_sAddress1 & vbNewLine  
            If loDeliveryAddressRow.IsDA_sAddress2Null Then  
                CType(e.RowElement.RowInfo.Cells("sDeliveryAddress").CellElement, Telerik.WinControls.UI.GridCellElement).Text &= loDeliveryAddressRow.DA_sAddress2 & vbNewLine  
            End If  
            CType(e.RowElement.RowInfo.Cells("sDeliveryAddress").CellElement, Telerik.WinControls.UI.GridCellElement).Text &= loDeliveryAddressRow.DA_sCity & vbNewLine & loDeliveryAddressRow.DA_sCounty & vbNewLine & loDeliveryAddressRow.DA_sPostCode & vbNewLine & loDeliveryAddressRow.DA_sCountry  
        End If  
        'Select Case CType(sender, Telerik.WinControls.UI.RadGridView).Name  
        '    Case "rgvInvoices"  
        '    Case "rgvAuditTrail"  
        '        Select Case CType(Me.rgvInvoices.Rows(e.RowElement.ViewInfo.CurrentIndex).Cells("AT_nType").Value, _Enum.AuditTrailTypes)  
        '            Case AuditTrailTypes.OrderPlaced  
        '                CType(e.RowElement.RowInfo.Cells("sType").CellElement, Telerik.WinControls.UI.GridCellElement).Text = "Order Placed" 
        '            Case AuditTrailTypes.OrderCancelled  
        '                CType(e.RowElement.RowInfo.Cells("sType").CellElement, Telerik.WinControls.UI.GridCellElement).Text = "Order Cancelled" 
        '            Case AuditTrailTypes.PaymentUnverified  
        '                CType(e.RowElement.RowInfo.Cells("sType").CellElement, Telerik.WinControls.UI.GridCellElement).Text = "Payment unverified" 
        '            Case AuditTrailTypes.PaymentVerified  
        '                CType(e.RowElement.RowInfo.Cells("sType").CellElement, Telerik.WinControls.UI.GridCellElement).Text = "Payment verified" 
        '            Case Else  
        '                CType(e.RowElement.RowInfo.Cells("sType").CellElement, Telerik.WinControls.UI.GridCellElement).Text = "Unknown Audit Trail entry" 
        '        End Select  
        'End Select  
    End Sub 

Any ideas ?

Kind Regards

David
Martin Vasilev
Telerik team
 answered on 26 May 2008
5 answers
130 views
hi,

i've developed an application using radcontrols for winforms q3 2007. now i've bought radcontrols for winforms q1 2008.

now do i have to reinlcude all controls in my forms new? how can i use the new version of radcontrols in my existing application which was developed with the old version?

thanks, andreas
Martin Vasilev
Telerik team
 answered on 26 May 2008
1 answer
113 views
Hi,

I wonder if it is by design that OnPaint is called even if the DocumentPanel is not visible. Works fine on the tabstrip control.

Take a look at this samples:


Thanks,
- jorge

PS: how do i attach a file? i've seen it before but cant find anywhere to do it (Mac OS X 10.5.2 - Safari 3.1.1)
Julian Benkov
Telerik team
 answered on 26 May 2008
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
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
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?