Skip to content

Can the DataList access the "current node" for the use of the custom data source? #123

Closed Answered by leekelleher
hfloyd asked this question in Question
Discussion options

You must be logged in to vote

Hi @hfloyd.

It is possible to access the querystring parameters from custom data-source code. (See my reply on #76 (comment).)

This is how I do it on the Umbraco Content data-source:
https://github.com/leekelleher/umbraco-contentment/blob/2.1.0/src/Umbraco.Community.Contentment/DataEditors/DataList/DataSources/UmbracoContentDataListSource.cs#L65

Hope this helps?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hfloyd
Comment options

Answer selected by hfloyd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants