Showing posts with label menu. Show all posts
Showing posts with label menu. 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

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 like behavior of Menu

I have a Horizontal menu with menu items like Contacts, Health, etc. I also have web pages called Contacts.aspx, Health.aspx, etc.

I want the menu to behave like a tabstrip so I am trying NavigateURL along with Target property of the MenuItem Collection.

What I want is, when the user clicks on a "Tab", that tab should become active. How would I do that?Maybe you can use the DynamicSelectedStyle or StaticSelectedStyle property of the Menu control to change the style of the selected item
I don't want to launch another window. I can do a Target=_self to launch it in the same window but the problem with that is I loose the menu. Maybe I can define nested Master Page so that the menu is retained across pages.
Is there any other (easier) way to implement this?

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

Tuesday, March 13, 2012

TASK MENU

I see on some text a task menu pop up next to a dropdownlist or a grid view for choosing a datasource and setting certain properties. I try but fail to make the task menu appear. Please explain how. Thanks.

In design mode, hover over a control that has quicktasks (datasource,dropdown,etc..)
a small triangle appears above the control - click it to open quicktasks

td tag generating faulty code

I have created a user control using asp:table control. The control generates
a single column menu controls with 5 rows. each row is supposed to have a
image in link tag. The problem is that ASP.Net framework generates closing
"td" tags on new line. This causes to show extra white pixels at the bottom
of each image. This is because of a known bug in "IE" where it has issues
with closing "td" tag on new line.
Question .... is there a way to control the HTML tags generated by ASP.Net
controls so that I can get the UI the way I want it?
Thanks
Naveen K Kohli
http://www.netomatix.comYou would have to override the Render method of the server control, or
possible create a custom control where you specify the HTML to rendered.
David Lloyd
MCSD .NET
http://LemingtonConsulting.com
This response is supplied "as is" without any representations or warranties.
"Naveen K Kohli" <naveenkohli@.hotmail.com> wrote in message
news:#xNFQq#VFHA.1384@.TK2MSFTNGP09.phx.gbl...
I have created a user control using asp:table control. The control generates
a single column menu controls with 5 rows. each row is supposed to have a
image in link tag. The problem is that ASP.Net framework generates closing
"td" tags on new line. This causes to show extra white pixels at the bottom
of each image. This is because of a known bug in "IE" where it has issues
with closing "td" tag on new line.
Question .... is there a way to control the HTML tags generated by ASP.Net
controls so that I can get the UI the way I want it?
Thanks
Naveen K Kohli
http://www.netomatix.com