CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 12/18/2007 7:01:12 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 26 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
sudheshna
Asp.Net User
Activating the view from which the treeview node is clicked in a multiview menu12/18/2007 7:01:12 AM

0/0

Hi,

I have a menu with multiview which has three views say view1, view2 and view3 and in each view I have used a treeview to display the menu structure.

Here I have used three sitemap files for each treeview also can navigate through each view with the help of three buttons.

And my problem is when I select the view3 and clicks a link say aboutus.aspx in that view, after redirecting to the aboutus.aspx page the view selected is view1 and I want view3 to be selected if one clicks a link from the view3 and view2 if the link is from view2 and so on.

Please help me to find a solution.

Thanks in advance for your help.

Sudheshna K

Amanda Wang - M
Asp.Net User
Re: Activating the view from which the treeview node is clicked in a multiview menu12/20/2007 3:51:23 AM

0/0

Hi,

sudheshna:

And my problem is when I select the view3 and clicks a link say aboutus.aspx in that view, after redirecting to the aboutus.aspx page the view selected is view1 and I want view3 to be selected if one clicks a link from the view3 and view2 if the link is from view2 and so on.

If  you want to show the view according to the clicked link, you should  set the multiview's ActiveViewIndex that used to get or set the index of the active view control within a multiview control, the ActiveViewIndex property is  zero-based index of the active view control within a multiview control. The default is -1, indicating that no view is set as active.

The more you can check this msdn article: http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.multiview.activeviewindex.aspx

Hope it helps.


Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Yours sincerely,
Amanda Wang
Microsoft Online Community Support
sudheshna
Asp.Net User
Re: Activating the view from which the treeview node is clicked in a multiview menu12/20/2007 11:37:30 AM

0/0

Thank you for your reply. 

Here in this case this can't be done becoz while we select a link from one of the view panel after redirection the view which is given in default that is (view1 in my case) is being selected. We may need to change the view as per the link by checking the current page's view (from which it is called) in the master page but no idea how? Another thing is to set the view from each page's load function but it is not seems to be good idea.

Any help is appreciated.

 

 

 

3 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
Ontology Interface User Guide 2 Amine's ontology/KB GUI is a multi-view editor (a tree view editor, ..... A right-click on a selected node will display a contextual popup menu that ...
.NET ASP Page 28 - Bytes Site Map Home : Bytes IT Community / View Full Version : .NET ASP .... c# menu programming problem · how to get path info in win treeview when I double-click a node ...
You Don't Know Jack About Firefox! [Software Tutorials] Click the icon to activate the Inspect function, then bring to the front the ... The DOM Node view shows the DOM representation of the selected node. ...
C-nario Messenger™ 2.9 Communication Tab Player Node Menu. 2. Select Get Devices to activate the Devices ..... Press the Layout button to open the Multi View Layout window. ...
EditiX Manual Click on this line for selecting fastly the good node. ..... For activating this item from the "View" menu, the user must edit an XHTML document. Note that ...
EditiX Manual For opening your document just double-click on the file node, ...... For activating this item from the "View" menu, the user must edit an XHTML document. ...
SGI TPL View (WorkShop) Activating Your WorkShop License 1.1 Release Identification Information Following ...... However, only one node will appear for Func in the Call Tree View. ...
An MPEG-4 Tool for Composing 3D Scenes Our application implements the Face node using the generic MPEG-4 3D face model, ... The scene tree view (the bottom right box in Figure 6) provides a ...
.NET ASP Page 12 - Bytes Site Map Error message 401.3: You do not have permission to view this directory or page using the ... Treeview, loosing selected node after navigate, need help from ...
testking demo Just another Oggix.org weblog ImageIndex property of each TreeNode, an individual icon will be .... C. Incorrect: The MultiView only shows one View at a time, so this would not be a good ...




Search This Site:










changing the display order of the sqlsitemap

master page and panel

how to disable the sidebarlist buttons in wizard control

loading controls dynamically in content page and firing the js events and codebehind events

wizard control + separate aspx pages

space between 2 table rows

cannot edit masterpage content in vs 2008

global master page

updatable sitemapprovider

menu control - making parent node not clickable

removing specific treeview nodes based on custom attributes using treenodedatabound

master page

problem with masterpage

menu item without explicit url (assuming default.aspx page) does not get selected property

retain theme

creating a tab menu using "menu control and web.sitemap

publicly expose specific controls in masterpage (can it be done?)

[c#] change the session culture

menu control with tab effect

gridview page flip: the file web.sitemap required by xmlsitemapprovider does not exist.

masterpages, form-tags, etc....

masterpage & button event

menu control item selection issue

changing the id attribute of the body tag in a masterpage?

strange formatting problem when using masterpages.

create custom collectionform

sitemap navigation problem

asp.net menu not working in 2003 server.

mailto: in a web.sitemap

adding a "master" page

  Privacy | Contact Us
All Times Are GMT