Connecting Tech Pros Worldwide Forums | Help | Site Map

Master pages Qust.

Newbie
 
Join Date: Mar 2007
Posts: 1
#1: Aug 25 '07
Good day every one...

I am new to ASP. I created a master page with many content pages. My master page has a lot of ImageButtons. I would like to use those image buttons to change between the content pages.

I did it by using the PostBackUrl but I face some problems regard the arrangements of buttons, since my buttons change their positions.

My qusation is, Can I start the content page using the ASP code?
In another word, who can I call a content page using the ASP code not hyperlink ?
In fact hyperlinks are not working with image buttons...

I hope I will find an answer from you...

Thanks and regards...

jhardman's Avatar
Moderator
 
Join Date: Jan 2007
Location: logan, utah
Posts: 2,690
#2: Aug 27 '07

re: Master pages Qust.


Quote:

Originally Posted by AliBHP

Good day every one...

I am new to ASP. I created a master page with many content pages. My master page has a lot of ImageButtons. I would like to use those image buttons to change between the content pages.

I did it by using the PostBackUrl but I face some problems regard the arrangements of buttons, since my buttons change their positions.

My qusation is, Can I start the content page using the ASP code?
In another word, who can I call a content page using the ASP code not hyperlink ?
In fact hyperlinks are not working with image buttons...

I hope I will find an answer from you...

Thanks and regards...

Ali,

ASP code is only executed when the page is being loaded, so it is most easy to put code for certain behaviors (such as response to a particular user action) in the code for a page opened when the user takes this action. Does this make sense to you? Link to another page as you would normally in HTML, and then in the code in the top of the next page perform the action that you need.

Jared
Reply