Cayzee
Guest
|
Posted:
Thu Aug 25, 2005 12:52 am Post subject:
Duplicate links in the Select a View list in left nav bar |
|
|
Here is what I am doing:
- Created two lists called ListA and ListB
- They both have the All Items view
- Now I edited the DispForm.aspx for ListA to include dataviews for ListA
and ListB (I am setting up a parent-child relationship)
- When I go the ListA list's main page, there is an additional view in the
left nav bar in addition to the All Items view. The new view is called ListA
and is actually a link to the DispForm.aspx file of ListA
- In addition when I go to the ListB's main page, there is an additional
view in the left nav bar called ListB and it is also a link to the ListA's
DispForm.aspx file
It doesn't matter what I do with the dataviews and how I configure them. As
soon as a dataview of a list in added on any page, a link to that page
appears in the "Select a View" list which is rendered by the viewselector
control.
It would seem like the viewselector is dynamically going through all the
pages and building the list based on whether the page contains a dataview for
that list.
How can I prevent that behavior. It would be OK except for the fact that
when someone visits this DispForm.aspx from the Select a View list, no data
is displayed in the view because there is no list item selected for which to
display the listform.
Any help would be appreciated.
Cayzee |
|