asp.net - Create link as we navigate inside menu bar? -


We are currently shown below the image as per the requirement.

is too much but I do not have specific key words, so I did not find anything.

We need to display the link in the navigation bar so that the user can select the appropriate page and select the appropriate page without front and back. .

How can I do this in the Asp net, as I have shown in the image below.

Thank you very much ........ Enter image details here < / P>

Here you can put a look at navigation and here site Map of

In the basic form, you can use a list on the pages where you want to show the link. Suppose you have three pages A, B, and C, add a list like on the bottom of each page.

So you go in this way

    

Add the following to your list on page A's code.

  hyperlink navy = new hyperlink (); Nav.NavigateUrl = "A.aspx"; // You can also pass parameters here. HtmlGenericControl Li = New HtmlGenericControl ("
  • "); HtmlGenericControl span = new HtmlGenericControl ("& lt; span & gt;"); Span.InnerText = "& gt; & gt;"; Li.Controls.Add (duration); Li.Controls.Add (NAV); NavList.Controls.Add (Lee);

    Similarly B

      hyperlink NA = new hyperlink (); Nav.NavigateUrl = "A.aspx"; // You can also pass parameters here. HtmlGenericControl Li = New HtmlGenericControl ("
  • "); HtmlGenericControl span = new HtmlGenericControl ("& lt; span & gt;"); Span.InnerText = "& gt; & gt;"; Li.Controls.Add (duration); Li.Controls.Add (NAV); NavList.Controls.Add (Lee); Hyperlink Navy 2 = New Hyperlink (); Nav2.NavigateUrl = "B.aspx"; // You can also pass parameters here. HtmlGenericControl li2 = New HtmlGenericControl ("
  • "); HtmlGenericControl span2 = New HtmlGenericControl ("& lt; span & gt;"); Span2.InnerText = "& gt; & gt;"; Li2.Controls.Add (period); Li2.Controls.Add (NAV); NavList.Controls.Add (li2);

    and so on.

  • Comments

    Popular posts from this blog

    Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

    java - How not to audit a join table and related entities using Hibernate Envers? -

    mongodb - CakePHP paginator ignoring order, but only for certain values -