Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi, so i'm continually having issues trying to retrieve values out of the Datatype Grid. It's beginning to worry me. I have the following XML result created by the .Value method @row.courseDetails.Value;
<url-picker mode="Content"> <new-window>False</new-window> <node-id>1231</node-id> <url>/courses/taking-the-fear-out-of-excel-2007,-2010,-2013.aspx</url> <link-title></link-title> </url-picker> <url-picker mode="Content"> <new-window>False</new-window> <node-id>1231</node-id> <url>/courses/taking-the-fear-out-of-excel-2007,-2010,-2013.aspx</url> <link-title></link-title> </url-picker> 1231
This is awesome as it's producing the correct data but I cannot for the life of me get the Url out of this.
If I use this
@row.courseDetails.url;
I get the following error
'uComponents.DataTypes.DataTypeGrid.Model.GridCell' does not contain a definition for 'url'
How do I access the information? every approach ends up with the exact same error of .GridCell or .GridRow having no definition.
Solution found in here > http://our.umbraco.org/projects/backoffice-extensions/ucomponents/questionssuggestions/37964-Datagrid-with-Urlpicker in here posted by Fransico
Have either of you come across an XSLT version of this? I have the exact same problem, and looking at the xslt copy-to result looks like the information is available but I just can't seem to access it.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Retrieving URL-Picker value in datatype grid
Hi, so i'm continually having issues trying to retrieve values out of the Datatype Grid. It's beginning to worry me.
I have the following XML result created by the .Value method @row.courseDetails.Value;
<url-picker mode="Content"> <new-window>False</new-window> <node-id>1231</node-id> <url>/courses/taking-the-fear-out-of-excel-2007,-2010,-2013.aspx</url> <link-title></link-title> </url-picker> <url-picker mode="Content"> <new-window>False</new-window> <node-id>1231</node-id> <url>/courses/taking-the-fear-out-of-excel-2007,-2010,-2013.aspx</url> <link-title></link-title> </url-picker> 1231
This is awesome as it's producing the correct data but I cannot for the life of me get the Url out of this.
If I use this
I get the following error
'uComponents.DataTypes.DataTypeGrid.Model.GridCell' does not contain a definition for 'url'
How do I access the information? every approach ends up with the exact same error of .GridCell or .GridRow having no definition.
Solution found in here > http://our.umbraco.org/projects/backoffice-extensions/ucomponents/questionssuggestions/37964-Datagrid-with-Urlpicker in here posted by Fransico
Have either of you come across an XSLT version of this? I have the exact same problem, and looking at the xslt copy-to result looks like the information is available but I just can't seem to access it.
is working on a reply...