Telerik Forums
UI for WinForms Forum
1 answer
102 views
There is a property for the main masterviewtemplate of a RadGridView to set the rows to auto size if you have a column's WordWrap turned on (i.e., this.radGridViewRequests.AutoSizeRows = true ).  This works slick.
BUT, for a child template there is no such property to AutoSizeRows if you have a column's WordWrap turned on.  So what is one supposed to do to get the child template rows to resize properly?
Stefan
Telerik team
 answered on 27 Sep 2011
1 answer
98 views
I looking for ideas on how display order data from my different departments.  Which sounds simply but each department may have difined custom fields specific to their needs


Base order table
DepartmentID
Customer Name
Company Name
PHone


Customized Portion
CustomField1
CustomField2
CustomField3
and so on.

The custom fields can contain text, numeric or date data.  The field descriptions can differ depening on how the department has customized the fields.


Let me show an example of what I would like to do if possbile


Department | Company Name |Customer Name | Created Date
+ Sales - East | AA Comp |John Smith | 10/1/2010
+ Sales - East | BB Comp |Jim Smith | 6/1/2010
+ Sales - West | CC Comp |Rodney Smith | 10/1/2010
+ Sales - West | DD Comp |Allen Smith | 10/1/2010


Expanded View
Deparment         | Company Name |Customer Name | Created Date
- Sales - East      | AA Comp            |John Smith        | 10/1/2010

                   Account Type |Account Stage |Client Type | Close Date
                       III-VI              |Active              |New           | 12/1/2010
                       III-XI              |Active              |Existing       | 12/15/2010

+ Sales - East      | BB Comp             |Jim Smith          | 6/1/2010
- Sales - West      | CC Comp            |Rodney Smith   | 10/1/2010

                      Probability |Estimated Revenue |Close Date
                      80%          |$250,000.00          |12/1/2010
                       25%          |$25,000.00            |12/15/2010

+ Sales - West | DD Comp |Allen Smith | 10/1/2010


As you can see from the sample the sub grid contains the departments user defined fields which can different headers and display formats. 

My main question is this even possible with the grid view control?

Thanks in advance your time.

Julian Benkov
Telerik team
 answered on 27 Sep 2011
1 answer
115 views
Hi,
I have a chart with 4 series (created programatically).  3 series are spline type and 1 is point type.  I need the point type series to be on top of the spline series but i cannot find a way to make the point series to draw on top of the splines.  Look at the attached image to see the problem.

I tried using series.BringToTop() but it crashes the app, I also tried changing the order of creating the series and order of adding them to the chart.Series container but that doesn't change the z-order.  Any suggestions on how to accomplish this?
Thanks.
Yavor
Telerik team
 answered on 27 Sep 2011
1 answer
276 views
Hi,

I want to be able to delete cell data when I hit delete button when the cell only are focused but not in edit mode.
Right now the hole row are deleted. I also want to be able to delete the row, but this should only happen when I have selected the hole row. How can i achieve this kind of functionality?

Regards
Svein Thomas
Stefan
Telerik team
 answered on 27 Sep 2011
1 answer
193 views
Hi,

I want to draw a border around a group of cells. There should not be any border in between the group, only around.
Like highlighting a group. How can I achieve this?

And when i draw a border around a cell, like shown in this post, the border to the right seem like its only one pixel wide, and the rest is 2 px.How can I avoid this. 

Please take a look at the attached picture. I also painted an example of the border around a group that i want to make possible in code :)

Regards
Svein Thomas
Stefan
Telerik team
 answered on 27 Sep 2011
1 answer
115 views
Hello,
I have a problem with the shape of the tabstripitem with Q2 2011:
In the previous libraries version the shape of the tabstrip didn' t overcome the text of the tabstrip, while now it does (the shape is a Vs Tab shape).
I want to restore the old shape/text relation.

As attachement screenshot of the actual and desired layout.

Thank you in advance.

Stefan
Telerik team
 answered on 27 Sep 2011
7 answers
464 views
First, I am unable to get alternating row color to work. I have implemented it like this article says (http://www.telerik.com/help/winforms/gridview-styling-and-appearance-alternating-row-color.html) but all the columns remain white. Can you please tell me in which method to put

CType
(Me.RadGridView1.TableElement, GridTableElement).AlternatingRowColor = Color.Yellow

I have tried in the form load and other events of the grid, like row formatting.


Also, I am trying to implement the hover over and selected row color but when I set the Row Formatting like the following article (http://www.telerik.com/community/forums/winforms/gridview/change-color-of-selected-row-in-gridview.aspx) the row is highlighted with orange and of the two columns in the row, the one that is not selected is the correct color, blue. This changes when I click on the other cell in the row. Furthermore, the cell that is blue still has an orange border.
Martin Vasilev
Telerik team
 answered on 26 Sep 2011
2 answers
195 views
how to integrate DropDownList with treeview ?

thanks
Jack
Telerik team
 answered on 26 Sep 2011
1 answer
292 views
I want to use collapsable Key-Name pairs, similar to Points(x,y) which show on one line but can be expanded to separate x and y lines.
But I do not see the Subclass Fields in the property grid. What is missing?

  //some Subclasses  
   [Category("Detail")]
    public class WorktypeInfo
    {
        private string _WorktypeNo;
        private   string _WorktypeName;
  
        [Category("Detail")]
        public string WorktypeNo
        {
            get
            {
                return _WorktypeNo;
            }
            set
            {
                _WorktypeNo = value;
            }
  
        }
  
  
//used in Mainclass 
  
        [Category("Detail")]
        [Description("Tätigkeitscode")]
        public WorktypeInfo WorktypeInfo
        {
            get
            {
                return _WorktypeInfo;
            }
            set
            {
                _WorktypeInfo = value;
            }
        }
  
...

Any help is appreciated...Thanks  Daniel

Ivan Petrov
Telerik team
 answered on 26 Sep 2011
1 answer
273 views
Private Sub LoadSupplierCombo()
        Cursor = Cursors.WaitCursor
        tsstatus.Text = "Loading Suppliers, please wait..."
        Refresh()
        '     cbSuppliers..MasterTemplate.AutoGenerateColumns = True
 
        Dim TicketsDA As SqlDataAdapter
        Dim TicketsDS As DataSet
        Dim TicketsDV As DataView
        Dim SQLString As String = ""
 
 
        DBOpen()
        Try
 
            SQLString = "SELECT     Supplier.SupplierName AS Supplier, Supplier.SupplierAccountNo AS [Account No] " & _
"FROM         SZTickets INNER JOIN " & _
                     " SZTicketStatus ON SZTickets.statusId = SZTicketStatus.id INNER JOIN " & _
                     " SZTicketPriority ON SZTickets.priorityId = SZTicketPriority.id INNER JOIN " & _
                     " Supplier ON SZTickets.supplierId = Supplier.SupplierID " & _
"GROUP BY Supplier.SupplierName, Supplier.SupplierAccountNo " & _
"ORDER BY Supplier DESC"
 
            Dim SQLcmd As New SqlCommand(SQLString, cnn1)
            TicketsDA = New SqlDataAdapter(SQLcmd)
            TicketsDS = New DataSet
            TicketsDV = New DataView
 
            TicketsDA.Fill(TicketsDS, "Suppliers")
            TicketsDV.Table = TicketsDS.Tables("Suppliers")
 
 
            cbSuppliers.DataSource = TicketsDV
 
            SQLcmd.Dispose()
            TicketsDA.Dispose()
 
 
 
 
        Catch ex As Exception
            g_error.DBErrorMsg("Failure to load tickets", SQLString, ex)
        Finally
            dgTickets.ResumeLayout()
            DBClose()
        End Try
        Cursor = Cursors.Default
        tsstatus.Text = ""
 
        Dim columns As RadMultiColumnComboBoxElement = cbSuppliers.MultiColumnComboBoxElement
 
        For Each column As GridViewDataColumn In columns.Columns
            column.BestFit()
        Next
 
        
    End Sub


Hi

The above code loads my multi-column list box. However I would like to add <All Suppliers> at the beginning of the list as well as the supplier. I would like this to be the item selected on load.


Also, I cant find the equivalent command for combobox.items.clear() 

How do I remove all the items?

Cheers

Baz
Svett
Telerik team
 answered on 26 Sep 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
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?