DView to DView connection

  • Thread starter Thread starter Graham Stevenson
  • Start date Start date
G

Graham Stevenson

I have a dataview with a simple dropdown box, populated from a web
service DataSource.

I connected this to a second dataview with more detailed data (second
DataSource).

When I select an item in the dropdown, it does not send the connection
to the second dataview.

Any advice on how to do this please ??.

OR - I would use a simple Form Webpart - if I knew how to populate a
dropdown on it from a datasource ??.

Thanks

Graham
 
This seems to be a .NET question, and not a FrontPage
question.

What you need to do, however, is set the first dropdown's
AutoPostBack property to True, then write a Selected Index
Changed event handler that repopulates the second dropdown
box.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
|| Microsoft FrontPage Version 2002 Inside Out
|| Web Database Development Step by Step .NET Edition
|| Troubleshooting Microsoft FrontPage 2002
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
Hi,

I believe this is a FrontPage 2003 question, not a .NET question.

You can't use the Simple Form Web Part because that web part cannot bind to
the data the way you need it to.

What you need to do is setup the connection BEFORE converting the view to a
drop-down (because this will create the web part connection ID that is
needed to pass the data correctly). Then you need to copy the connection
information (built as the hyperlink when you create the connection) from
Code view. Then change the view style to be a drop-down view and put the
connection information back as an onchange event for the drop-down.

There is going to be a KB article on this, and I am currently checking its
status, but the above should get you started.
 
Jim,

Thanks for the response. I was hoping that this could be done without
extra coding ;-)). It works fine if the first Dataview displays as a
list, cos then we get a list of hyperlinks - just looks messy with
200+ items to select from - even paged.

This is a Sharepoint site, and I was trying to see how far I can go
with no custom code. Looks like I have to do it the hard way then
(although ASP.NET and WebParts is not hard !!)..

Great book BTW (FP2003 Inside Out) - bought yesterday - makes my arms
ache though ;-).

Thanks

Graham
 
Hi

I've been trying to follow this but to be honest as a total newbie, I
haven't got a clue :-(
When you say copy the connection information do you mean the info
between the <connections></connections> or the lines that start with
<a target="_self">?
How do I define the relevant info in the onchange event?

A pointer to a good KB, preferably in total dimbo terms so I can
follow it step by step, would also be appreciated!!

Thanks in advance
Bernie
 
Back
Top