Hello,
I have upgraded the telerik version from 2011-02 to 2012_03.
In my code behind, I set the ClientEvents.OnKeyPress value. Until the upgrade, it worked very well. But since it doesn't. it seems that the get_value() needs a delay to return the value. If I replace the get_value by document.getElementById, it works...
I would rather like to use the get_value() function.
Thanks for help...
Bernard
I have upgraded the telerik version from 2011-02 to 2012_03.
In my code behind, I set the ClientEvents.OnKeyPress value. Until the upgrade, it worked very well. But since it doesn't. it seems that the get_value() needs a delay to return the value. If I replace the get_value by document.getElementById, it works...
I would rather like to use the get_value() function.
Thanks for help...
Bernard
saisie.ClientEvents.OnKeyPress = @
"enterSaisie2"
;
function
pageLoad()
{
textSaisie = $find(
"<%=saisie.ClientID %>"
);
}
function
enterSaisie2(e)
{
if
(window.event.type ==
"keypress"
&& window.event.keyCode == 13)
{
try
{
aSaisie =
new
String(textSaisie.get_value());
// etc...