All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
<
telerik:GridBoundColumn
UniqueName
=
"ShipCity"
DataField
CurrentFilterFunction
"Contains"
ShowFilterIcon
"false"
AutoPostBackOnFilter
"true"
HeaderText
/>
protected
void
RadGrid1_ItemCreated(
object
sender, GridItemEventArgs e)
{
if
(e.Item
is
GridFilteringItem)
GridFilteringItem filterItem = (GridFilteringItem)e.Item;
(filterItem[
].Controls[0]
as
TextBox).Attributes.Add(
"OnBlur"
,
"CharacterCheck(this, event)"
);
}
<script type=
"text/javascript"
>
function
CharacterCheck(text, e) {
text.value = text.value.replace(/[^0-9a-zA-Z]/gi,
''
</script>