filterParam parameter empty ?

U

Ugur KARATAS

Hi all,

In Frontpage, I dragged two sharepoint List DataView, and connect them
together.

In Detail list, i try to access filterParam while detail is filtered by
Master List DataView but the filterParam parameter looking is empty.

How can i access filter value ?
 
J

John Jansen \(MSFT\)

Can you explain what it is you are trying to do exactly?

How did you connect the data views? How are you trying to access the
filterParam? What value do you expect the filterParam to contain?
 
U

Ugur KARATAS

Ok.

I create a new Web Part Page on SharePoint Site.

I have Two List on SharaPoint Site, Master and Detail.

I add two list to the web part page.

I create a connection with "Provide DataRow To" style from master to detail
dataview.

I open code side in frontpage and start to edit xsl definition of detail
dataview webpart: for accessing filter value for adding a javascript.

for example:
when i try to access with
<xsl:value-of select="@ID"/> or <xsl:value-of select="@Title"/> its ok.
but when using
<xsl:value-of select="$filterParam"/> or <xsl:value-of
select="$dvt_filterval"/> are empty ?

But there is connection and also a filter value ?
 
J

John Jansen \(MSFT\)

Those values are set at browse time via the server side code that runs.
They should be empty at design time.

You shouldn't have to edit the XSL by hand, though. You can just use the
Data..Filter dialog to set this up.

You don't want to use the dvt_* parameters for any of your own coding
because they are all reserved for in browser paging, filtering, sorting and
grouping...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top