Hi,
I have migrated from Rad controls for Asp.net to Rad Controls for Ajax 2008.The implementaion of the load on demand was designed to not fire until 3 charaters were typed by the user.
Sample code with previous version :
I have migrated from Rad controls for Asp.net to Rad Controls for Ajax 2008.The implementaion of the load on demand was designed to not fire until 3 charaters were typed by the user.
Sample code with previous version :
function
RequestHandler(comboBox, text, more)
{
var
intMinChar = 2;
var
txtLength = text.length;
if
(txtLength == undefined || txtLength <= intMinChar)
{
return false;
}
}
The above code worked fine.
But with the 2008 version we are using the below code:
function
OnClientItemsRequesting(sender, eventArgs)
{
//var context = eventArgs.get_context();
alert(eventArgs.get_text().length);
return false;
}
I am using the above code to test whether we are able to stop from firing the ItemRequested server side event.Even though i am returning false always.I am not able to stop firing the ItemRequested event.