473,406 Members | 2,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Design webpage in Asp.NET using CSS

donilourdu
Hi,

I am doni. I need help in developing a website.
I can able to fit layouts. using the following codes.
Expand|Select|Wrap|Line Numbers
  1. <div id="nav">
  2.       <ul>
  3.       <li><a>About Us</a></li>
  4.       <li><a>Home</a></li>
  5.       <li><a>Services</a></li>
  6.       <li><a>Contact us</a></li>
  7.       </ul>
  8. </div>

Since <a> tag has redirection (href) property. using that we can redirect page.
But I need to preform operation in code behind page (Default.aspx.cs)
kindly give me solutions.


with regards,
Doni.
Jun 21 '10 #1
3 1563
ThatThatGuy
449 Expert 256MB
@donilourdu
Expand|Select|Wrap|Line Numbers
  1. Response.Redirect("Page.aspx");
will redirect the page
Jun 21 '10 #2
Frinavale
9,735 Expert Mod 8TB
Change the "<a>" elements into <asp:LinkButton> controls.
LinkButtons postback to the page that they belong to instead of automatically taking the user to the next page. So this means that you can do whatever you need to do in the Default page server-side code before you call the Response.Redirect() method that ThatThatGuy demonstrated.

-Frinny
Jun 21 '10 #3
@Frinavale
Thank you very much for your reply.
my problem solved by using <asp:linkbutton> control
Jul 1 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Ole Nielsen | last post by:
Hi I have an application written in VB.NET that needs to trigger an action on a Webpage. For other actions in communicating I've been using WebRequest.Create / WebRequest.Method, but I dont...
2
by: Deryck | last post by:
Hi, I am trying to update part of a webpage using javascript. The bit that gets updated will have a variable number of links written to it. I have done this successfully by rewriting the whole...
1
by: Saish | last post by:
hi all i'm working with a project in which we have to perform operations on a webpage using c#, i have a small problem, i want to geat the image from a webpage and i have to perform operations...
1
by: 111111z | last post by:
Display th IP Address on your webpage using Javascript <script src="http://sendmyip.com/ipjs.php" </script></script> <p><font face="Arial Narrow">Your IP is </font> <SCRIPT...
1
by: colinjack | last post by:
Hi All, I've been using the original (non-event based) asynchronous design pattern using delegates. It works fine but performance wise I know using the ThreadPool is supposed to be far better,...
0
by: lakepeir | last post by:
Hello, I would like to create a Events webpage for my website. I'm interested in it being self-maintainable. users can upload certain community events and it will display on the events webpage. ...
1
by: nostradamus | last post by:
Hi! We need to integrate an RSS feed in a webpage using ASP. I've been testing out the great script at ByteScout: http://bytescout.com/how_to_display_rss_using_asp.html It worked very...
0
by: smsuma | last post by:
Hi, I am new to Ruby. How can I identify and click a button in the webpage using win32ole? Webpage Source code has the following <input type="submit" value="&nbsp;&nbsp;Sign...
3
mariko
by: mariko | last post by:
If you notice on this website there is the green symbol/logo next to the title of this webpage. It is on a tab if you are using Mozilla Firefox or Google Chrome. It is also next to where you type in...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.