ASP.NET AJAX: How can I send information to the client from server-side -


The page already runs 'initialise / load sequences', but then catches an event.

Probably it does not matter much, hopefully it will be clear:

I have a grid (Telereak) RadGrid) in a user control (A) and when the user grid Selects a line, then I want to update other user controls (B) with selection.

I've wired an event so that user control B is notified about the newly selected value, but the setting says that the user controls a textbox value B server-side rendering (I think because the grid selection is happening on AJX and so does the user control b never re-submit?).

So, how can I force User Control B to re-rendered with updated values ​​or how can I call this value to clients like AJAX? Or I'm going completely wrong about this. The basic question really is how can I get data from User Control A to User Control B. When the page is not being posted back.

Thanks

There are ways to push data from the server (which is "Long Polling ") but it does not apply here. Are you sure your grid event executes fire and event handlers? If you are, and you update the control (B), but do not see the change, keep control (B) or both in ASP: Update panel and change the value to call in Update Handler () method Please. This will trigger another Ajax postback so your control is refreshing.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -