Docs & Support
Get A Free Trial
close mobile menu
UI for WinForms Forum
ComboBox and ListBox (obsolete as of Q2 2010)
Add GridViewComboBoxColumn to exisiting column
Telerik UI for WinForms
Thread is closed for posting
Feed for this thread
1 posts, 0 answers
Posted 04 Oct 2010
Link to this post
Please, remove this post. I moved it to Gridview forum. This was wrong place. Sorry!
I am trying to implement GridViewComboBoxColumn on gridview for existing"DEPARTMENT_ID"
I tried below and it works fine, but it is adding another column on the gridview instead of replacing existing "DEPARTMENT_ID" column.
1. What should I change?
2. What property will remove a scroll bar on GridViewComboBoxColumn?
.Columns("EMP_ID").HeaderText = "EMP ID"
Dim deptComboboxColumn As GridViewComboBoxColumn = New GridViewComboBoxColumn
.UniqueName = "DeptColumn"
.HeaderText = "Dept"
.DataSource = From q In db.MST_DEPARTMENT _
Select q.DEPARTMENT_ID, q.DEPARTMENT_NM
.ValueMember = "DEPARTMENT_ID"
.DisplayMember = "DEPARTMENT_NM"
.FieldName = "DEPARTMENT_ID"
.Width = 200
Back to Top