well my ajax based code is working fine i made few chnages in .aspx page .secondly when ever it created div dynamically in code behind and put inplaceholder it over write to the text written in the footer ,see the code and snap shot
Code:<div class="right_txt_space_accm"> <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode=conditional> <ContentTemplate> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="40%" align="left"><strong>Number of attendees:</strong></td> <td width="60%" align="left"><strong> <asp:RadioButtonList EnableViewState=true ID="RadioButtonList1" CellSpacing=13 OnSelectedIndexChanged="RadioButtonList1_SelectedIndexChanged" RepeatDirection=Horizontal runat="server" RepeatColumns=4 AutoPostBack="true"> <asp:ListItem>1</asp:ListItem> <asp:ListItem>2</asp:ListItem> <asp:ListItem>3</asp:ListItem> <asp:ListItem>4</asp:ListItem> <asp:ListItem>5</asp:ListItem> <asp:ListItem>6</asp:ListItem> <asp:ListItem>7</asp:ListItem> </asp:RadioButtonList> </strong></td> </tr> </table> <asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder> </ContentTemplate> <Triggers> <asp:AsyncPostBackTrigger ControlID="RadioButtonList1" EventName="SelectedIndexChanged" /> </Triggers> </asp:UpdatePanel> </div> <br /> <br /> <br /> <div class="right_txt_space_accm"> <asp:UpdatePanel ID="UpdatePanel3" runat="server" UpdateMode=conditional> <ContentTemplate> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="50%" align="left"><strong> Would attend the conference </strong></td> <td width="50%" align="left"><strong></strong> <asp:RadioButtonList EnableViewState=true RepeatDirection=Horizontal ID="spous_atend_Conference" runat="server" AutoPostBack="True"> <asp:ListItem Value="0">Yes</asp:ListItem> <asp:ListItem Selected="True" Value="1">No</asp:ListItem> </asp:RadioButtonList> </td> </tr> </table> <br /> <asp:PlaceHolder ID=placeholder2 runat=server > </asp:PlaceHolder> </ContentTemplate> <Triggers> <asp:AsyncPostBackTrigger ControlID="spous_atend_Conference" EventName="SelectedIndexChanged" /> </Triggers> </asp:UpdatePanel> </div> <br /> <br />




Reply With Quote