Telerik Forums
UI for WinForms Forum
3 answers
175 views
For example, if I am binding my chart to a dataset I could write some code like this:

Me.RadChart1.DataManager.DataSource = myDataSet 
Me.RadChart1.DataManager.ValuesXColumn = "SomeValue" 

Is it possible, after a databind, to get access to those plot values of "SomeValue" so that they can be updated later on? I realize that I could change the dataset value and rebind if needed, but I am wondering if it is possible to get access to the values in the chart once they are bound.
Dwight
Telerik team
 answered on 29 May 2008
3 answers
218 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
235 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
166 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
270 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
230 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
100 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
184 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
176 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
167 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
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?