none
Accessing SP List in Silverlight RRS feed

  • Question

  • Hi Folks,

    It would be appreciated for the answer to my query.

    I am able to access SP List Data from the code given in:

    http://msdn.microsoft.com/en-us/library/ff728647.aspx

    But this works fine if the column doesn't contain any space in between.

    For Ex : I am able to acces "Status", "AssignedTo" but I am not able to access "Action Description".

    Any info:

     


    Regards, Surya
    Tuesday, June 7, 2011 4:20 PM

Answers

  • Try replacing the space with "_x0020_" when you access the columns with spaces in the name. As in "li["Action_x0020_Description"].ToString()" instead of "li["Action Description"].ToString()"
    • Marked as answer by JSNSoft Thursday, June 9, 2011 9:41 AM
    Wednesday, June 8, 2011 2:36 AM

All replies

  • Try replacing the space with "_x0020_" when you access the columns with spaces in the name. As in "li["Action_x0020_Description"].ToString()" instead of "li["Action Description"].ToString()"
    • Marked as answer by JSNSoft Thursday, June 9, 2011 9:41 AM
    Wednesday, June 8, 2011 2:36 AM
  • Thanks Chifu,

    Its working.....


    Regards, Surya
    Thursday, June 9, 2011 9:41 AM