How do I know if AJAX call is generated by user or by code?

2 posts, 0 answers
  1. Derrick
    Derrick avatar
    17 posts
    Member since:
    Jul 2011

    Posted 15 Mar 2012 Link to this post

    I'm trying to handle AJAX calls differently in ASP.NET, depending on whether they are made by the end user or through my own code.

    I'm using the Telerik RAD drop down and Telerik date picker control in my page.

    Both have Client events that can be triggered and handled.

    Are these client events only able to be triggered via user interaction?
  2. Tsvetina
    Tsvetina avatar
    2481 posts

    Posted 20 Mar 2012 Link to this post

    Hello Derrick,

    Can you please elaborate on which events exactly you have in mind? In case their source cannot be captured, you could use hidden fields or flags in your functions to mark when you use code that would raise an event.

    Kind regards,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top