title: ScriptManagerProxy, UpdatePanel and pure JS
body: <pre><code>&lt;asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server"&gt;
      &lt;/asp:ScriptManagerProxy&gt;
      &lt;asp:UpdatePanel ID="upSchedule" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="false"&gt;
          &lt;ContentTemplate&gt;
              &lt;script type="text/javascript"&gt;
                  function afterRender(data) {
                  // code
                  }
              &lt;/script&gt;
              &lt;div style="margin-bottom:5px"&gt;
                  Izberi:&amp;nbsp;
                  &lt;a href="javascript:dpc1.commandCallBack('previous');"&gt;Predhodnji teden&lt;/a&gt; -
                  &lt;a href="javascript:dpc1.commandCallBack('next');"&gt;Naslednji teden&lt;/a&gt; -
                  &lt;a href="javascript:dpc1.commandCallBack('today');"&gt;Danes&lt;/a&gt; -
                  &lt;a href="javascript:dpc1.commandCallBack('week');"&gt;Začetek tedna&lt;/a&gt;
              &lt;/div&gt;
              &lt;br /&gt;
              &lt;table style="width:100%"&gt;
                  &lt;tr&gt;
                      &lt;td valign="top" style="width:150px"&gt;
                          &lt;DayPilot:DayPilotNavigator ID="dpnOrders" runat="server" 
                              BoundDayPilotID="dpcOrders" 
  </code></pre>
  
  <p>i need to call pure JS inside UpdatePanel becouse of DayPilotPro but when i am using UpdatePanel this is not possible. How can i call it?</p>