Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dafydd Owen 33 posts 173 karma points
    May 12, 2014 @ 14:15
    Dafydd Owen
    0

    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 

    @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.  

  • Dafydd Owen 33 posts 173 karma points
    May 12, 2014 @ 15:16
  • Craig Cronin 275 posts 432 karma points
    May 26, 2014 @ 16:17
    Craig Cronin
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft