TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
dave
NA
1
0
custom controls and masterpages
Jun 24 2006 6:00 PM
Hi - I'm utilising a MasterPage that contains a custom control (.ascx) that will display an advertisement - either a google ad or custom ad. Now I've got other pages (.aspx) within the website that include the MasterPage, as well as another custom control that displays other content. This other content is what determines the advertisement type to display in the MasterPage code.
Now it seems that when the .aspx pages load, the MasterPage content is loaded first (which includes the .ascx advertisement code), followed by the content on the .aspx (which includes the .ascx for the content that determines the advertisement type). So obviously this means the advertisement .ascx can not determine the content type to properly decide which advertisement type to display.
Any suggestions will be greatly appreciated?
tia.
daz
Reply
Answers (
1
)
Query Strings and Masked Forwarding
Nested Repeater Control Question????