Click here to Skip to main content
15,910,877 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:
http://nc7.upanh.com/b4.s4.d3/682d547e73ae127312f0efc06d2c8edd_35412337.help.png

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!
Posted
Updated 20-Sep-11 2:18am
v2
Comments
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?

Hi,

I wrote some code for your requirement.

HTML
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script language ="javascript" >
      function f1() {

          location.href = "default.aspx";


      }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
      <table width="150" align="center" bgcolor="black">
        <tr>
          <td>
           <a href="Default.aspx">click here</a>
          </td>
        </tr>
          <tr>
          <td onclick="f1()">
           clickhere
          </td>
        </tr>
      </table>
    </div>
    </form>
</body>
</html>


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 http://nc7.upanh.com/b4.s4.d3/682d547e73ae127312f0efc06d2c8edd_35412337.help.png[^].

Thanks!
 
Share this answer
 
Comments
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