weixin_33711641 2008-10-31 11:52 采纳率: 0%
浏览 21

标签导航-框架还是AJAX?

I have what I imagine to be a pretty standard web-interface.

There are 4 different ListViews (grid controls) which are accessed by a series of Tabs on the top.

I have implemented this as follows:

alt text http://img402.imageshack.us/img402/1530/pagedu8.jpg

Tab 1 will load Page 1 containing Grid 1 into Frame 2, Tab 2 will load Page 2 containing Grid 2 into Frame 2 etc.

However this then means that if you click on an item in the Grid, and I load DetailsPage1.aspx into Frame 2, then Frame 1 and the tabs are still visible and active.

I've been advised that I should just have one Frame, and load the Pages in dynamically based on the tab click, using HttpRequest (or WebRequest in asp.net).

Is this the correct approach to take? If you have any resources or tips at hand, it would be appreciated!

Thanks

  • 写回答

9条回答 默认 最新

  • weixin_33736048 2008-10-31 11:55
    关注

    Frames are lame: you will get problems, if users want to set a bookmark and if users visit your site via google: Then your navigational frame is not visible. So you need a lot of dirty javascript. to check this. If you need javascript, do it right from the start and use AJAX

    评论

报告相同问题?

悬赏问题

  • ¥15 树莓派与pix飞控通信
  • ¥15 自动转发微信群信息到另外一个微信群
  • ¥15 outlook无法配置成功
  • ¥30 这是哪个作者做的宝宝起名网站
  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题