Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Dynamically Added Controls inside of panel and one timer are not working/causes full post back in updatepanel

$
0
0

hiii FRNDS

Dynamically Added Controls inside of panel and one timer are not working/causes full post back in updatepanel.

in this, panel and timer both are inside a table on which update panel is applied

<asp:UpdatePanel ID="up2" runat="server" UpdateMode="Conditional"
ChildrenAsTriggers="true">

<ContentTemplate>
<table width="100%" cellpadding="9px" cellspacing="9px" >
<tr>

<td ><table>

<tr>
<td align="right">


<asp:Timer ID="perQuestionTime" runat="server" Interval="1000" OnTick="perQuestionTime_Tick"></asp:Timer>

<asp:Label ID="lblperqestiontime" runat="server" Text="" Font-Bold="True" Font-Names="Arial"
Font-Size="X-Large" ForeColor="#e08846" />  -----In this panel i m generating dynamically LinkButton at run time----

</td>

</tr>

</table></td>

<td valign="top" align="center" width="20%"><b>Choose Question:</b><br /> <br />
<asp:Panel ID="PanelToDynamicControl" runat="server" BorderWidth="2px" BorderStyle="Solid" style="padding-right:10px">
</asp:Panel>
</td>
</tr>
</table>


<div align="left" >

<asp:Button ID="btnPrev" runat="server" Text="Previous" OnClick="btnPrev_Click" CssClass="AllButton" />
<asp:Button ID="btnNext" runat="server" Text="Next" OnClick="btnNext_Click" CssClass="AllButton" />
<asp:Button ID="btnSkip" runat="server" Text="Skip" OnClick="btnSkip_Click" CssClass="AllButton" />

</div>
</ContentTemplate> </asp:UpdatePanel>


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>