how to write response.write within update panel
<p>i am calling a function which is inside Homescroll.ascx.cs from Homescroll.ascx</p>

<p>so i wrote on Homescroll.ascx as
 &lt;% Response.Write(scroll()); %></p>

<p>but all this is in update panel,and i am getting errors.
so is their any other way to call function from homescroll.ascx to homescroll.ascx.cs,instead of response.write();</p>
