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

Attaching to RequestStart

1 Answer 69 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Brian Mains
Top achievements
Rank 1
Brian Mains asked on 02 Dec 2010, 01:10 AM
Hello,

From the client, I need to attach to the request start event of the RadAjaxpanel or RadAjaxManager.  Is that possible?  Essentially, if a User control is added to the page (which may or may not exist), I want it to attach itself.  There can be more than one UC that may need to attach.  Is it possible to do this?  I may be able to pull off a server-side solution if that is the only option too.

Any guidance would be great.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Brian Mains
Top achievements
Rank 1
answered on 02 Dec 2010, 03:01 PM
Nevermind, I found a way to work around it globally.  By assigning the control that I wanted to do a full postback with a CSS class,I could check that css class on the element, and disable AJAX.  I had to use document.getElementsByName to get the element by the correct name (since e.get_eventTarget() returns the name).
Tags
Ajax
Asked by
Brian Mains
Top achievements
Rank 1
Answers by
Brian Mains
Top achievements
Rank 1
Share this question
or