Wednesday 30 March 2011

How we can go particular part of the page in ASP.NET & HTML


Implementation
To go to the particular part of the  we  uses <a href=”pagename & #anyid(like 5)
(without space)”></a> see below for detail
<a href=”news.aspx#5”>Go to first Example</a>
Where you want to go after click write this code inside the sentence.
<b><a name="5"> first Example</a></b>
Below I’m giving you code with content . This code can help you to go to particular part
Of the page in asp.net and HTML
HTML CODE

    <asp:Panel ID="Panel1" runat="server" Height="1500px" Width="450px">
    
    <b><a name="5">Example First-</a></b>Lorem Ipsum is simply dummy text of the printing and typesetting industry.<br />
     Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an <br />
     unknown printer took a galley of type and scrambled it to make a type specimen book. <br />
     It has survived not only five centuries, but also the leap into electronic typesetting,<br />
      remaining essentially unchanged. It was popularised in the 1960s with the release of<br />
       Letraset sheets containing Lorem Ipsum passages, and more recently with desktop <br />
       publishing software like Aldus PageMaker including versions of Lorem Ipsum.<br />
       There are many variations of passages of Lorem Ipsum<br />
         available, but the majority have suffered alteration in some form, by<br/>
         injected humour, or randomised words which don't look even slightly <br/>
         believable. If you are going to use a passage of Lorem Ipsum, you need <br/>
         to be sure there isn't anything embarrassing hidden in the middle of text. <br/>
         All the Lorem Ipsum generators on the Internet tend to repeat predefined <br/>
         chunks as necessary, making this the first true generator on the Internet. <br/>
         It uses a dictionary of over 200 Latin words, combined with a handful of<br/>
          model sentence structures, to generate Lorem Ipsum which looks reasonable.<br/>
           The generated Lorem Ipsum is therefore always free from repetition,
           injected humour, <br />or non-characteristic words etc.
           There are many variations of passages of Lorem Ipsum<br />
         available, but the majority have suffered alteration in some form, by<br/>
         injected humour, or randomised words which don't look even slightly <br/>
         believable. If you are going to use a passage of Lorem Ipsum, you need <br/>
         to be sure there isn't anything embarrassing hidden in the middle of text. <br/>
         All the Lorem Ipsum generators on the Internet tend to repeat predefined <br/>
         chunks as necessary, making this the first true generator on the Internet. <br/>
         It uses a dictionary of over 200 Latin words, combined with a handful of<br/>
          model sentence structures, to generate Lorem Ipsum which looks reasonable.<br/>
           The generated Lorem Ipsum is therefore always free from repetition,
           injected humour, or non-characteristic words etc.
       <br /><br />
       <b> Example Second-</b> It is a long established fact that a reader will be<br />
        distracted by the readable content of a page when looking at its layout.<br />
         The point of using Lorem Ipsum is that it has a more-or-less normal <br />
         distribution of letters, as opposed to using 'Content here, content<br />
          here', making it look like readable English. Many desktop publishing<br />
           packages and web page editors now use Lorem Ipsum as their default <br />
           model text, and a search for 'lorem ipsum' will uncover many web sites<br />
            still in their infancy. Various versions have evolved over the years,<br />
             sometimes by accident, sometimes on purpose (injected humour and the like).<br /><br /><br />
            
        <b> Example Third-</b>There are many variations of passages of Lorem Ipsum<br />
         available, but the majority have suffered alteration in some form, by<br/>
         injected humour, or randomised words which don't look even slightly <br/>
         believable. If you are going to use a passage of Lorem Ipsum, you need <br/>
         to be sure there isn't anything embarrassing hidden in the middle of text. <br/>
         All the Lorem Ipsum generators on the Internet tend to repeat predefined <br/>
         chunks as necessary, making this the first true generator on the Internet. <br/>
         It uses a dictionary of over 200 Latin words, combined with a handful of<br/>
          model sentence structures, to generate Lorem Ipsum which looks reasonable.<br/>
           The generated Lorem Ipsum is therefore always free from repetition, <br />
           injected humour, or non-characteristic words etc.<br />
           There are many variations of passages of Lorem Ipsum<br />
         available, but the majority have suffered alteration in some form, by<br/>
         injected humour, or randomised words which don't look even slightly <br/>
         believable. If you are going to use a passage of Lorem Ipsum, you need <br/>
         to be sure there isn't anything embarrassing hidden in the middle of text. <br/>
         All the Lorem Ipsum generators on the Internet tend to repeat predefined <br/>
         chunks as necessary, making this the first true generator on the Internet. <br/>
         It uses a dictionary of over 200 Latin words, combined with a handful of<br/>
          model sentence structures, to generate Lorem Ipsum which looks reasonable.<br/>
           The generated Lorem Ipsum is therefore always free from repetition, <br />
           injected humour, or non-characteristic words etc.
        <br />
        <br />
        <a href="Default.aspx#5">
        <asp:Label ID="Label2" runat="server" Text="Go to Example first"></asp:Label>
       
       
       
        </a>
  
    </asp:Panel>




No comments:

Post a Comment