The question is how do I create a control that simulates an updatepanel?
You’re asking me why to hell do I want to that???? It’s just pure desire for knowledge :)…
How do I want it to work exactly like UpdatePanel but with totaly my control.
like that:
<JQUpdatePanel ID="jqu" runat="server">
//my html with server controls and other stuff...
</JQUpdatePanel>
some scripts and so on…..
Can you suggest how do I begin building some thing like that?
Because I really don’t want to use ScriptManager and real UpdatePanel.
I appreciate any suggestion and thank you in advance.
That’s not something you’d ever really want to do, for learning or otherwise. UpdatePanel was a very cheap solution, good for very (very) simple scenarios.
If you’re wanting to hand-roll some Ajax, then you should take a look at jQuery’s Ajax, and com-manipulation APIs. You would essentially use jQuery (or Prototype, DoJo, etc) to make a call to a web service, then provide a callback that uses the service result to update your dom.
There are many tutorials online that will get you started.