Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Newbie question: Panel with User control trying to access web page

Reply
Thread Tools

Newbie question: Panel with User control trying to access web page

 
 
Ian J.
Guest
Posts: n/a
 
      08-17-2006
Hi, I'm a bit of a newbie to C# and ASP.Net, so I'm having problems getting
even simple things done.

Firstly, I'm developing on WinXP, local IIS instance, using VS 2003 with
ASP.Net 1.1. What I'm currently trying to do may be completely wrong
conceptually, but I'm not sure...

I've got a 'master' asp page with single table, two rows, top row is like a
'static' header bar, bottom row in two columns. First column contains a
'static' set of navigation buttons, to load user control items into a panel
in the second column. Once a user control is added to the panel (that works)
I need to be able to click buttons on the user control to switch to other
functionality for the user (currently just me) within that same panel
control. I have several buttons on the first of the user controls, but am
having trouble getting them to switch from the user control they're on, to
load up another user control.

Am I even on the right planet with what I'm trying to do? (I kinda think I'm
trying to replicate frames functionality like where you might click on a
link and have the page linked to load up into the current frame, only I'm
trying to do it without the frames...)

Any help, much appreciated...

Ian J.


 
Reply With Quote
 
 
 
 
r2thej151
Guest
Posts: n/a
 
      08-17-2006
What most people do in your situation is define a page for each link on
your master page. Next you just place the user controls on the desired
pages. Finally, for each button on your master page, go into the
button click event and response.redirect them to the correct content
page.

I hope that helps...

 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing Java Control Panel in START menu->Control Panel: Diff javacpl.cpl and javacpl.exe? Robin Wenger Java 0 08-18-2011 06:38 AM
ASP 2.0: How to access Master Page from Web User Control on Page? ivanpais@gmail.com ASP .Net 5 06-18-2010 08:33 AM
Why is there no "Java Control Panel" for J2EE v5upd14 ? Reinstall Java Control Panel possible? Ulf Meinhardt Java 0 07-07-2009 08:38 AM
Web User Control with GridView can derive new Web User Control? ABC ASP .Net 1 10-04-2005 12:29 PM
accessing the web user control's control from a web page and set a value from another web page Reny J Joseph Thuthikattu ASP .Net 1 12-30-2004 12:21 PM



Advertisments