Go Back   CodingForums.com > :: Server side development > ASP.NET

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-06-2006, 06:40 PM   PM User | #1
lmod
New Coder

 
Join Date: Aug 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
lmod is an unknown quantity at this point
Exclamation UI design ? (Master Page or Frames)

Hi, I am creating a script that will serve flash ads. I am using a XML file as a config for the Ad rotation (to set expiration dates ect.). The problem is that I want the rotation to be continuous and that would not be possible if the entire page refreshes (when a llink is clicked etc). So my question is What is the best way to design the UI to keep this section of the page from refreshing so the AD rotation can continue? I originaly designed this in ASP.NET 1.1 (VB), but this will be in .Net 2.0 (VB)

Thanks
lmod is offline   Reply With Quote
Old 04-07-2006, 04:13 AM   PM User | #2
lmod
New Coder

 
Join Date: Aug 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
lmod is an unknown quantity at this point
Exclamation

I guess the reason I didnt get any replies, I may not have been clear on the question. This is not about a flash ad rotator. I have that working. This is about whether or not to use a master page or frames to keep the section of the page that has my ads from refreshing . Example: If I used a frameset and had a top frame for my header. I could place my ad flash ad window in that top frame and it would run continuously with out restarting every time a post back to the server occurs. However, I am timid about using frames with ASP.NET2.0 because I cant find any info on this except that Frames Are Evil I dont know much about Master Pages (just getting started with 2.0), So I dont know if I can get the same behavior as with a frameset.

So can some one help me now.
lmod is offline   Reply With Quote
Old 04-11-2006, 02:50 PM   PM User | #3
Exnor
New to the CF scene

 
Join Date: Apr 2006
Location: Brazil
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Exnor is an unknown quantity at this point
Hi Imod

I don't think either frames or masterpages is the right solution for you. At least not in connection with your current problem. "Frames are evil" they say - but I dont actually know why, I just took it that way when I started programming websites half a year ago. Masterpages are just some sort of page extention, aka regular OO-extention, so you don't have to update all of your pages individually each time the header of the application needs to be changed.

What I think you need to use it update panels, which is a part of the Atlas framework. Here you can set triggers (like SQL), so that only the panels that needs to be updated, will be updated on a postback. I can't give you are more specific introduction, since I haven't had the time to play with it much, but at least its a hint in the right direction
Exnor is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:25 AM.


Advertisement
Log in to turn off these ads.