Results 1 to 23 of 23

Thread: [RESOLVED] put div into another

Hybrid View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2007
    Location
    Karachi
    Posts
    551

    Re: put div into another

    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>
                                               &nbsp; &nbsp;     &nbsp; &nbsp;  &nbsp; &nbsp;   
                                                </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 />
    Attached Images Attached Images  
    There is no achievement without goals

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width