ClientSideEvents OnKeyDown Critical Problems

12 replies. Last post: June 7, 2011 8:23 AM by A Yousif
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
A YousifMember

Hello,

We're running into several problems implementing this. You'll be able to duplicate this with a simple project. Please make sure to test with both bound and unbound data sets.

  • OnKeyDown fires but passes null for controlId and some random value for keyValue
  • Inside a control that derives from WebCombo, OnKeyDown will only fire if it's set in OnInit or OnLoad but will not fire/render when set in OnPreRender using a line like this as an example:

    this.LayoutSettings.ClientSideEvents.OnKeyDown = "MyClient.OnKeyDown";

Our main concern though is that when it is firing, we're not getting the control id and this very very bad since we can't determine the source of the call.

I'll try, in the meantime, to add our own HTML onkeydown by using the HTML attributes and see if that does what we need, but we do need a resolution to this right away please.  Thank you.

 

All times are GMT -5. The time now is 2:32 AM.
Previous Next