Data View linking to another Data View
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Data View linking to another Data View

 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development
Author Message
webjedi
Guest





Posted: Sat Jan 29, 2005 6:48 am    Post subject: Data View linking to another Data View Reply with quote

I have a Data View on one page with a column with a hyperlink. When I
click on the link another page is called with a value in the query
string. That value is to be used as a parameter for a webservice call
that will populate another dataview.

How can this be done? I can not seem to get the value in the query
string into my 2nd data view

Chris
Back to top
Hollis D. Paul
Guest





Posted: Sat Jan 29, 2005 6:48 am    Post subject: Re: Data View linking to another Data View Reply with quote

In article <1106976997.925301.46870@c13g2000cwb.googlegroups.com>,
Webjedi wrote:
Quote:
I have a Data View on one page with a column with a hyperlink. When I
click on the link another page is called with a value in the query
string. That value is to be used as a parameter for a webservice call
that will populate another dataview.

How can this be done? I can not seem to get the value in the query
string into my 2nd data view

Chris

When you set up the connection of DataView1 to DataView1, on the first

screen of the Web connection wizard, you have a choice of three actions:
1) Filter Views using Data Values From, 2) Modify views using
parameters from, and 3) Provide Data Values to. Choose 2). This puts a
parameter named [Input Parameter] which you will find when you go to set
up a filter in DataView2.

This is all very straight forward (Well, as far as using a strange
wizard goes), and you have probably already found that. What you really
need to know is how to fire DataView1 when you make your selection from
its column. For that you need to insert a little bit of code into the
code that the DataView1 generates. See the following URL for this:

http://blogs.msdn.com/frontpoint/archive/2004/05/21/136873.aspx

Hollis D. Paul [MVP - Outlook]
Hollis@outhousebythesound.com
Mukilteo, WA USA
Back to top
webjedi
Guest





Posted: Sat Jan 29, 2005 6:48 am    Post subject: Re: Data View linking to another Data View Reply with quote

The two data views are not on the same page. This is a Dashboard type
app where one page shows an overview of many things and then the user
can click on one of the lines of the dataview. This will then take
them to another web page which has a data view that needs some data
from the query string.

I guess my real question is what is the trick to get query string data
into the web service call for the data view? We are trying to do it
when you define the data connection and place our querystring item in
the parameter dropdown,
Back to top
Hollis D. Paul
Guest





Posted: Sat Jan 29, 2005 7:50 pm    Post subject: Re: Data View linking to another Data View Reply with quote

In article <1107018375.741617.169990@f14g2000cwb.googlegroups.com>,
Webjedi wrote:
Quote:
The two data views are not on the same page.

They just have to be in the same site, AFAIK. But I take your point,

and its beyond my experience or knowledge. Perhaps someone else will
reply to the refined question. If not, post it in a new thread.

Hollis D. Paul [MVP - Outlook]
Hollis@outhousebythesound.com
Mukilteo, WA USA
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB