All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
<
telerik:GridBoundColumn
DataField
=
"OrderDate"
HeaderText
UniqueName
/>
protected
void
RadGrid1_ItemDataBound(
object
sender, Telerik.Web.UI.GridItemEventArgs e)
{
if
(e.Item
is
GridEditableItem && e.Item.IsInEditMode)
GridEditableItem edit = (GridEditableItem)e.Item;
TextBox txtBox1 = (TextBox)edit[
].Controls[0];
(txtBox1.Text ==
""
)
txtBox1.Text =
"Empty"
;
txtBox1.Attributes.Add(
"onBlur"
,
"SetMessage("
+ txtBox1.ClientID +
");return false;"
);
"onFocus"
"ClearMessage("
}
<script type=
"text/javascript"
>
function
ClearMessage(obj) {
(obj.value ==
obj.value =
SetMessage(obj) {
) {
</script>