Hi Vinay,
Thanks for using Syncfusion products:
You can have Template columns by creating separate Template Class. Please refer the below code snippet which illustrates to create template column:
If e.TableCellIdentity.Column.Name = "Column2" Then
Dim dropdown As Syncfusion.Web.UI.WebControls.Tools.DropDownCalendarControl = New DropDownCalendarControl()
'Here we adding the DropDownListBox programatically using ITemplate Interface
Dim mytemp As TemplateClass = New TemplateClass(dropdown)
e.TableCellIdentity.Column.EditItemTemplate = mytemp
End If
Public Class TemplateClass : Implements ITemplate
Private m_ctrlChildControl As Control = Nothing
Public Sub New(ByVal ctrlChildControl As Control)
m_ctrlChildControl = ctrlChildControl
End Sub
Public Sub InstantiateIn(ByVal container As Control) Implements ITemplate.InstantiateIn
container.Controls.Add(m_ctrlChildControl)
End Sub
End Class
Please refer the sample from the below link which illustrates the above:
http://websamples.syncfusion.com/samples/grid.web/5.2.0.25/i38780/main.htmPlease let me know if this helps you out.
Regards,
Raji