This is a migrated thread and some comments may be shown as answers.

open window when click in NumericTextBox

1 Answer 32 Views
Input
This is a migrated thread and some comments may be shown as answers.
Mona
Top achievements
Rank 1
Mona asked on 09 Dec 2011, 12:44 AM
hello

i'm using NumericTextBox and want to open window to enter password when trying to write in NumericTextBox, just when click on it before begin to write anything and when close this popup (depend on the result), back to focus again or remove focus, so i think i need to be focus when open pop up window
i tried to use onfocus but it didn't work well, it displayed my pop up many time till remove my focus

Can you help me which event can help me and 

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 09 Dec 2011, 05:31 AM
Hello,

Try the following javascript to open a window OnFocus.
JS:
<script type="text/javascript">
 function OnFocus(sender, args)
   {
     var wd = window.radopen(null, "RadWindow1");
   }
</script>

Thanks,
Princy.
Tags
Input
Asked by
Mona
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or