Showing posts with label navigation. Show all posts
Showing posts with label navigation. Show all posts

Saturday, March 31, 2012

Table? Frameset or User control?

Hi!

I am new with ASP and now developing a web application that having two navigation menu.One is at left and another is at top side. When a user click a hyperlink at left, the top navigation menu will change according the hyperlinks at left. And when the user click the hyperlink at top, it will display the required page at bottom right hand side.

I have no idea whether the navigation menu develop as frame, table or user control. Can anyone sharing your opinion? Thanks.Hello, the menu should be a usercontrol, and you should have a look at this page to know how to setp up your pages:

Master Pages

regards

Monday, March 26, 2012

tabs

I'm creating a "portal" type web app and i want to use a "tab" appearance fo
r
navigation. How can i create a "tab" look navigation system for my portal?Mike,
Funny you ask...I am working on a similar project. Follow my thread
directly below yours at
http://msdn.microsoft.com/newsgroup...t&lang=en&cr=US
"Mike" wrote:

> I'm creating a "portal" type web app and i want to use a "tab" appearance
for
> navigation. How can i create a "tab" look navigation system for my portal
?
>
I too am writing an application with tabs. Wrote mine "by hand" - some HTML
in a user control, and pass a variable to the UC with the current tab. Bit
basic I know but it does the job :o)
"Chris Fink" wrote:
> Mike,
> Funny you ask...I am working on a similar project. Follow my thread
> directly below yours at
> http://msdn.microsoft.com/newsgroup...t&lang=en&cr=US
> "Mike" wrote:
>
One way would be to investigate a prebuilt tab control to see if it
offers the functionality you need (and if it includes source, you can
make modifications).
One place to look would be the IE WebControl gallery on asp.net:
http://www.asp.net/ControlGallery/d...y=38&tabindex=2
HTH,
Scott
http://www.OdeToCode.com/blogs/scott/
On Fri, 15 Oct 2004 07:03:33 -0700, "Chris Fink"
<ChrisFink@.discussions.microsoft.com> wrote:
>Mike,
>Funny you ask...I am working on a similar project. Follow my thread
>directly below yours at
>http://msdn.microsoft.com/newsgroup...t&lang=en&cr=US
>"Mike" wrote:
>
Not exactly tabs per se but I accomplished this by using buttons (!).
I put them all right next to each other in a user control, added a
method that changes the active tab and then used CSS to differentiate
(I basically made the button's bottom border go away and made its
background color the same as the page's and bolded the text so it looks
pretty much like a tab, even though it's just a button). The non-active
'tabs' have a totally different background and have all their borders.
It works, even though it may not be perfect.
James
Mike wrote:

> I'm creating a "portal" type web app and i want to use a "tab"
> appearance for navigation. How can i create a "tab" look navigation
> system for my portal?
Hmm.. never gave that one a thought! Guess that's my ASP roots coming throug
h
:)
Another way of doing the tabs might be to use the Tab control that comes
with the IEControls thingy from ASP.NET - don't know if that's the link that
Steve gave - haven't checked.
"James Thomas" wrote:

> Not exactly tabs per se but I accomplished this by using buttons (!).
> I put them all right next to each other in a user control, added a
> method that changes the active tab and then used CSS to differentiate
> (I basically made the button's bottom border go away and made its
> background color the same as the page's and bolded the text so it looks
> pretty much like a tab, even though it's just a button). The non-active
> 'tabs' have a totally different background and have all their borders.
> It works, even though it may not be perfect.
> James
> Mike wrote:
>
>
The only problem with the IE Tab control is that it's not cross-browser
compatible - of course, if that's not what you're striving for, then it
doesn't matter. :)
James
Dan Nash wrote:
> Hmm.. never gave that one a thought! Guess that's my ASP roots coming
> through :)
> Another way of doing the tabs might be to use the Tab control that
> comes with the IEControls thingy from ASP.NET - don't know if that's
> the link that Steve gave - haven't checked.
>
> "James Thomas" wrote:
>

tabs

I'm creating a "portal" type web app and i want to use a "tab" appearance for
navigation. How can i create a "tab" look navigation system for my portal?Mike,

Funny you ask...I am working on a similar project. Follow my thread
directly below yours at

http://msdn.microsoft.com/newsgroup...t&lang=en&cr=US

"Mike" wrote:

> I'm creating a "portal" type web app and i want to use a "tab" appearance for
> navigation. How can i create a "tab" look navigation system for my portal?
>
I too am writing an application with tabs. Wrote mine "by hand" - some HTML
in a user control, and pass a variable to the UC with the current tab. Bit
basic I know but it does the job :o)

"Chris Fink" wrote:

> Mike,
> Funny you ask...I am working on a similar project. Follow my thread
> directly below yours at
> http://msdn.microsoft.com/newsgroup...t&lang=en&cr=US
> "Mike" wrote:
> > I'm creating a "portal" type web app and i want to use a "tab" appearance for
> > navigation. How can i create a "tab" look navigation system for my portal?
One way would be to investigate a prebuilt tab control to see if it
offers the functionality you need (and if it includes source, you can
make modifications).

One place to look would be the IE WebControl gallery on asp.net:
http://www.asp.net/ControlGallery/d...y=38&tabindex=2

HTH,

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Fri, 15 Oct 2004 07:03:33 -0700, "Chris Fink"
<ChrisFink@.discussions.microsoft.com> wrote:

>Mike,
>Funny you ask...I am working on a similar project. Follow my thread
>directly below yours at
>http://msdn.microsoft.com/newsgroup...t&lang=en&cr=US
>"Mike" wrote:
>> I'm creating a "portal" type web app and i want to use a "tab" appearance for
>> navigation. How can i create a "tab" look navigation system for my portal?
>>
>
Not exactly tabs per se but I accomplished this by using buttons (!).

I put them all right next to each other in a user control, added a
method that changes the active tab and then used CSS to differentiate
(I basically made the button's bottom border go away and made its
background color the same as the page's and bolded the text so it looks
pretty much like a tab, even though it's just a button). The non-active
'tabs' have a totally different background and have all their borders.

It works, even though it may not be perfect.

James

Mike wrote:

> I'm creating a "portal" type web app and i want to use a "tab"
> appearance for navigation. How can i create a "tab" look navigation
> system for my portal?
Hmm.. never gave that one a thought! Guess that's my ASP roots coming through
:)

Another way of doing the tabs might be to use the Tab control that comes
with the IEControls thingy from ASP.NET - don't know if that's the link that
Steve gave - haven't checked.

"James Thomas" wrote:

> Not exactly tabs per se but I accomplished this by using buttons (!).
> I put them all right next to each other in a user control, added a
> method that changes the active tab and then used CSS to differentiate
> (I basically made the button's bottom border go away and made its
> background color the same as the page's and bolded the text so it looks
> pretty much like a tab, even though it's just a button). The non-active
> 'tabs' have a totally different background and have all their borders.
> It works, even though it may not be perfect.
> James
> Mike wrote:
> > I'm creating a "portal" type web app and i want to use a "tab"
> > appearance for navigation. How can i create a "tab" look navigation
> > system for my portal?
>
The only problem with the IE Tab control is that it's not cross-browser
compatible - of course, if that's not what you're striving for, then it
doesn't matter. :)

James

Dan Nash wrote:

> Hmm.. never gave that one a thought! Guess that's my ASP roots coming
> through :)
> Another way of doing the tabs might be to use the Tab control that
> comes with the IEControls thingy from ASP.NET - don't know if that's
> the link that Steve gave - haven't checked.
>
> "James Thomas" wrote:
> > Not exactly tabs per se but I accomplished this by using buttons
> > (!).
> > I put them all right next to each other in a user control, added a
> > method that changes the active tab and then used CSS to
> > differentiate (I basically made the button's bottom border go away
> > and made its background color the same as the page's and bolded the
> > text so it looks pretty much like a tab, even though it's just a
> > button). The non-active 'tabs' have a totally different background
> > and have all their borders.
> > It works, even though it may not be perfect.
> > James
> > Mike wrote:
> > > I'm creating a "portal" type web app and i want to use a "tab"
> > > appearance for navigation. How can i create a "tab" look
> > > navigation system for my portal?

Saturday, March 24, 2012

TabStrip in User Web Control

I am using a TabStrip control in a .ascx file so I can
create a menu navigation system for my ASP.NET
application. The menu never changes, so I have every page
in the app using the .ascx control. I have the TabStrip
set up, and it calls the pages correctly. However, I
can't figure out how to change the SelectedIndex when the
page loads.

For instance, the application loads with Tab0 as the
default. When I click on Tab1, Response.Redirect takes me
to the appropriate page, but Tab0 is still selected. I
need to be able to programatically change the
SelectedIndex as the page loads, based on what tab was
selected on the previous page. How can I do that? Thanks.

FlynnCheck out this article,
http://msdn.microsoft.com/msdnmag/i...ge/default.aspx

--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com

"Flynn Arrowstarr" <flynnarrowstarr@.nowhere.net> wrote in message
news:000601c3b43f$a9c27a60$a401280a@.phx.gbl...
> I am using a TabStrip control in a .ascx file so I can
> create a menu navigation system for my ASP.NET
> application. The menu never changes, so I have every page
> in the app using the .ascx control. I have the TabStrip
> set up, and it calls the pages correctly. However, I
> can't figure out how to change the SelectedIndex when the
> page loads.
> For instance, the application loads with Tab0 as the
> default. When I click on Tab1, Response.Redirect takes me
> to the appropriate page, but Tab0 is still selected. I
> need to be able to programatically change the
> SelectedIndex as the page loads, based on what tab was
> selected on the previous page. How can I do that? Thanks.
> Flynn

Tabstrip WebControl Question

I'm planning to use TABSTRIP as my Navigation menu for a HR Sysytem.
As anybody used something similar and how did it go ? Any limitations etc..?
Or a proposed MENU for a HR system?
Advices are welcomes
ThanksPatrick,

Although I do not have an extensive knowledge of the TabStrip control,
I have used it in a few applications and find its use quite nice.
I'm assuming you would be using it in conjunction with the multipage
control, which goes hand in hand. I'm sure there are several uses
for the control, however, using it with the multipage has been my only
experience.

If you decide not to go the tab route, but rather a different menu
route, I'd suggest taking a look at the following third party control
(free):

http://skmmenu.com/menu/

Hope this helps,
Aaron
Thx Aaron for the advice.And for sure i'll be using it in conjunction
with Multipage.When you used it with Multipage did you use
frames/iframes with it?I know about the http://skmmenu.com/menu/ and i
really like the Roles menu stuff which i believe is handy.
The thing is since it would be a HR system and lets say there are tabs
on the top Menu what i am thinking of doing is to have list of employees
on the left and when selected populate the data in the Tabstrip
multipage.
Will such scenario work using it?

*** Sent via Developersdex http://www.developersdex.com ***
Patrick,

I do believe that the Tabstrip will offer such functionality. I really
enjoy the look and feel of the tabs and users really seem to love them
as well.

Keep us informed of your progress and I will try to offer any advice
that I can in the future. Again, I have only used the tabstrip /
multipage in a few smaller applications, so I haven't really unlocked
its full potential.

Aaron