How i fill combobox items in Radgridview manually using in vb.net -


how fill combobox items in radgridview manually without using datasource in vb.net have radgridview in form.(radgridview1) radgridview1 contained 3 column , column number 3 combobox type. want fill each combobox in column 3 data using code: unp ipe angle box other profile. don't know how it.

you can use gridtemplatecolumn following.

       <telerik:gridtemplatecolumn itemstyle-wrap="true" itemstyle-verticalalign="middle"                         itemstyle-horizontalalign="center" allowfiltering="false" headerstyle-horizontalalign="center"                         headerstyle-width="3%" itemstyle-width="3%" headertext="profile">                         <itemtemplate>                             <telerik:radcombobox>                                 <items>                                     <telerik:radcomboboxitem text="unp" value="unp" />                                     <telerik:radcomboboxitem text="ipe" value="ipe" />                                     <telerik:radcomboboxitem text="angle" value="angle" />                                     <telerik:radcomboboxitem text="box" value="box" />                                     <telerik:radcomboboxitem text="other profile" value="other" />                                 </items>                             </telerik:radcombobox>                         </itemtemplate>        </telerik:gridtemplatecolumn> 

or else can bind each combobox in _itemdatabound


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

c# - MSDN OneNote Api: Navigate to never before opened page without opening a OneNote Application Window -