Click here to Skip to main content
15,887,979 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using asp.net,C#,VS 2005,sql server 2005..

i am using master page say master1 ....

can anybody help with the following design...

it should be like a master page should contain set of 3 buttons i.e.,add,delete and edit..

now i add addPage.aspx page and select master page as master1.

now my addPage.aspx should also contain add,delete and edit buttons..

when i click add button it should display addPage.aspx , with 3 common buttons of master page...

how to solve this?

please help me

regards

karan
Posted

Dear Karan Joshua

Please clarify your problem. This is not big deal at all to do the thing which you are asking as I understood. Please perform the following and let me know.

Step 1: Put the 3 buttons on Master Page first. Name it Master1.master(Remember .master extension). Put codes for the buttons. Like for Add button (e.g., Response.Redirect("addPage.aspx");)
Step 2: Add a new page named Default.aspx, do not forget to select master page as Master1.master
Step 3: Add addPage.aspx on the project, again do not forget to select master page as Master1.master
Step 4: Perform the for other pages.
 
Share this answer
 
Comments
karan joshua 2-Jun-11 12:24pm    
thank you sir,,,,I followed all your steps... but still not working,

my issue is that when i put 3 buttons on master page that should be available in addPage.aspx so that i need not put the 3 buttons once again in addpage.aspx,,,

It should be like left side will be having buttons(content1) and when user clicks button,, right side corresponding page should be displayed(content2)... same design should be there in all other pages..
Mr.Sourav.Maitra 3-Jun-11 5:59am    
That will be done automatically. No need to put the buttons on addPage.aspx

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