...

View Full Version : UI design ? (Master Page or Frames)



lmod
04-06-2006, 07:40 PM
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
04-07-2006, 05:13 AM
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.

Exnor
04-11-2006, 03:50 PM
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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum