Link to home
Start Free TrialLog in
Avatar of VirtueTech
VirtueTech

asked on

2.0 MultiView without Postback

Hello everyone,

I want to create tabs on my home page that can be clicked on and open without a postback. Like multiview but without postbacks.

An example of this is the current Yahoo.com home page. The search box at the top allows the user to click a tab for "Web", "Images", "Video", "Audio", etc. with no postback.

Can I do this with multiview? If not can someone point me in the right direction on what other control I can use? thanks.

I'm using Visual Studio 2005 in a C#.NET web site.
Avatar of anv
anv

you can use following:

Create link buttons on the home page for navigating.

<asp:Linkbutton id='moveToPage1' runat=server>Page1</asp:LinkButton>

On Page Load add this code..

moveToPage1.Attributes.Add("onclick", "return MoveToPage('Page1.Aspx');");

In ASPX file create

Following JavaScript

function MoveToPage(PageName)
{
   window.open(PageName);
  return false;
}

try it and let me knw
ASKER CERTIFIED SOLUTION
Avatar of igor_alpha
igor_alpha

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of VirtueTech

ASKER

Awesome! Thanks.