Hi ,
I want to create a standard menus (icons ) in master page, on clicking the menus the
page should be redirected to that particular page. Please help me on this .
Thanks in Advance,
A.Durga Prasad
09962415669
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Scott LyslePosted Nov 16, 2008, 12:50 AM
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>title>
<asp:ContentPlaceHolder id="head" runat="server">
asp:ContentPlaceHolder>
<style type="text/css">
.style1
{
width: 100%;
height: 350px;
}
.style2
{
height: 89px;
}
.style3
{
width: 187px;
}
style>
head>
<body>
<form id="form1" runat="server">
<table class="style1">
<tr>
<td bgcolor="#CCFFFF" class="style2" colspan="2">
Put a banner heretd>
tr>
<tr>
<td align="center" bgcolor="#CCFFFF" class="style3" valign="top">
<br />
<br />
<asp:ImageButton ID="ImageButton1" runat="server"
ImageUrl="~/images/accept.png" PostBackUrl="~/Default.aspx" />
<br />
<br />
<asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/images/add.png"
PostBackUrl="~/Default2.aspx" />
<br />
<br />
<asp:ImageButton ID="ImageButton3" runat="server"
ImageUrl="~/images/anchor.png" PostBackUrl="~/Default3.aspx" />
td>
<td align="left" valign="top">
<asp:ContentPlaceHolder ID="cphMainContent" runat="server">
asp:ContentPlaceHolder>
td>
tr>
table>
form>
body>
html>