Click here to Skip to main content
15,900,816 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi all,
I create menu in ASP.Net using sitemap, menu control and CSS.

Link image:

Menu can only link to page in text present but i want to do in region has no text, example in red tangle.

Please help me!
Updated 20-Sep-11 2:18am
AditSheth 20-Sep-11 8:42am    
can you provide code?
Ankur\m/ 20-Sep-11 9:14am    
Do you mean, you want to right align the text?


I wrote some code for your requirement.

<html xmlns="">
<head runat="server">
    <script language ="javascript" >
      function f1() {

          location.href = "default.aspx";

    <form id="form1" runat="server">
      <table width="150" align="center" bgcolor="black">
           <a href="Default.aspx">click here</a>
          <td onclick="f1()">

once check this I hope I reached your expectation.

All the Best
Share this answer
Thanks for help,
But you mis-understood, i create menu in ASP.Net by using sitemap and re-design by CSS. Default ASP.Net page can link to new page in text region of menu but i want it can do that for space region in near text region. Pls see image here to clear[^].

Share this answer
Muralikrishna8811 20-Sep-11 9:26am    
Sry for that.

you want to redirect page when user click on space region also right.
Nguyễn Minh Phúc 20-Sep-11 22:44pm    
Extractly. Pls help me!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900