Hello,
I am using Radgid with filtering. I Have column^
Autopostback work right untill I add client event handler:
After this postback doesn`t raise when I leave focus on filter textbox. How can I resolve this? Can I raise postback mnualy?
I am using Radgid with filtering. I Have column^
<telerik:GridBoundColumn UniqueName="FULLNAME" CurrentFilterFunction="Contains" ShowFilterIcon="false" AutoPostBackOnFilter="true" />Autopostback work right untill I add client event handler:
protected void RadGrid1_ItemCreated(object sender, GridItemEventArgs e){ if (e.Item is GridFilteringItem) { GridFilteringItem filterItem = (GridFilteringItem )e.Item; (filterItem["FULLNAME"].Controls[0] as TextBox).Attributes.Add("onchange", "CharacterCheck(this, event)"); }}function CharacterCheck(text, e) { text.value = text.value.replace(/[^0-9a-zA-Z]/gi, '');}After this postback doesn`t raise when I leave focus on filter textbox. How can I resolve this? Can I raise postback mnualy?