Search Results

Search found 3 results on 1 pages for 'empo'.

Page 1/1 | 1 

  • WPF - Handling a RoutedEvent in the parent for a specfic control instance

    - by empo
    In my user control I have several textboxes e.g. Textbox1, Textbox2. In the parent I only want to handle KeyDown events raised from Textbox1, not all Textbox I have added a handler in the parent this.AddHandler(TextBox.KeyDownEvent, new RoutedEventHandler(OnTextboxGoToPageKeyDown)); but of course this will handle all KeyDown events which I don't want. Do I have to add some conditional logic in the RoutedEventHandler to check where the event was raised from? or is there a better way? What's the best way to do this? Thanks.

    Read the article

  • Javascript error after updating ASP.NET AJAX ControlToolkit

    - by empo
    I've just updated to the AJAX Control Toolkit 3.5, changed the ScriptManager to the ToolkitScriptManager in my master page and now the following javascript error occurs when an Edit button is clicked: "Object doesn't support this property or method" The line of code cuasing the error is: this._destroyTree(updatePanelElement); Any initial ideas before I post masses of code?

    Read the article

1