Hey there,
i've a combobox inside griditem template column.I m using linq data source to populate this
also here ProductID is FK.
what cud be the reason??...
Thanks
Amit
i've a combobox inside griditem template column.I m using linq data source to populate this
<
telerik:GridTemplateColumn
HeaderText
=
"Product ID"
HeaderStyle-Font-Bold
=
"true"
AllowFiltering
=
"true"
DataField
=
"ProductID"
>
<
EditItemTemplate
>
<
telerik:RadComboBox
ID
=
"RadCbProductIDEdit"
Skin
=
"Office2007"
runat
=
"server"
MarkFirstMatch
=
"true"
AllowCustomText
=
"true"
DataValueField
=
"ProductID"
EmptyMessage
=
"Please select a ProductID "
DataTextField
=
"ProductID"
DataSourceID
=
"LinqDataSource1"
Height
=
"100px"
>
</
telerik:RadComboBox
>
</
EditItemTemplate
>
<
InsertItemTemplate
>
<
telerik:RadComboBox
ID
=
"RadcbProductIDInsert"
runat
=
"server"
Skin
=
"Office2007"
MarkFirstMatch
=
"true"
AllowCustomText
=
"true"
DataValueField
=
"ProductID"
EmptyMessage
=
"Please select a ProductID "
DataTextField
=
"ProductID"
DataSourceID
=
"LinqDataSource1"
Height
=
"100px"
>
</
telerik:RadComboBox
>
</
InsertItemTemplate
>
<
ItemTemplate
>
<
asp:Label
ID
=
"lblProductID"
runat
=
"server"
Text='<%# Bind("ProductID") %>'></
asp:Label
>
</
ItemTemplate
>
<
HeaderStyle
Font-Bold
=
"True"
/>
</
telerik:GridTemplateColumn
>
<
asp:LinqDataSource
ID
=
"LinqDataSource1"
runat
=
"server"
ContextTypeName
=
"LPSFPrototypeScreens.tblProduct"
EntityTypeName
=
""
Select
=
"new (ProductID)"
TableName
=
"tblProductFeatures"
>
what cud be the reason??...
Thanks
Amit