Hi,
my name is Patrick and i just bought Telerik Premium Collection for .NET.
I've searched the forums and documentation but could not found any answer for my simple problem;(
So here is my question:
how do i get the FULL value of my Filter in RadGrid?
My Code:
The Problem is: desc.Value only returns the current letter i've typed.
Example: if i enter "test" -> desc.Value is "t"
thx for help
my name is Patrick and i just bought Telerik Premium Collection for .NET.
I've searched the forums and documentation but could not found any answer for my simple problem;(
So here is my question:
how do i get the FULL value of my Filter in RadGrid?
My Code:
private
void
rgCustomer_FilterChanging(
object
sender, GridViewCollectionChangingEventArgs e)
{
if
(e.NewItems.Count > 0)
{
FilterDescriptor desc = e.NewItems[0]
as
FilterDescriptor;
if
(desc !=
null
)
{
if
(desc.Value.ToString().Length < 3)
e.Cancel =
true
;
}
}
}
Example: if i enter "test" -> desc.Value is "t"
thx for help