All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
<
telerik:RadGrid
ID
=
"myRadGrid"
runat
"server"
OnItemDataBound
"myRadGrid_ItemDataBound"
. . >
MasterTableView
EditMode
"InPlace"
>
Columns
telerik:GridNumericColumn
UniqueName
"OrderID"
DataField
HeaderText
</
telerik:GridTemplateColumn
"ShipCountry"
ItemTemplate
<%# Eval("ShipCountry")%>
EditItemTemplate
asp:TextBox
"TextBox1"
Text='<%# Bind("ShipCountry")%>'></
protected
void
myRadGrid_ItemDataBound(
object
sender, GridItemEventArgs e)
{
if
(e.Item
is
GridEditableItem && e.Item.IsInEditMode)
GridEditableItem dataItem = (GridEditableItem)e.Item;
RadNumericTextBox rdnmrctxtbx = (RadNumericTextBox)dataItem[
].Controls[0];
//Access a NumericBoundColumn
rdnmrctxtbx.Style.Add(
"text-align"
,
"right"
);
TextBox txt1 = (TextBox)dataItem.FindControl(
//Access a TemplateColumn Textbox
txt1.Style.Add(
}