Hi,
I am using silver light 3 and vs2008.Here how to get stream of word dcoument.
I have tried below code to get stream.It not getting stream.its always returning null value.
var str = Application.GetResourceStream(new System.Uri("/RadControlsSilverlightApplication1;component/document.docx", System.UriKind.RelativeOrAbsolute));
Loading

Dinesh BeniwalPosted Jun 22, 2011, 2:19 AM
Anil KumarPosted Jun 22, 2011, 2:17 AM
Posted Jun 22, 2011, 2:05 AM
Gomathi PalaniswamyPosted Jun 22, 2011, 12:30 AM
I got the stream after changing build action property to Resource.
Posted Jun 21, 2011, 9:42 AM
1) If you're not hosted the silverlight application then , don't use /RadControlSilverlightApplication1.
2) Select the document.docx file from Solution Explorer. Right Click-->Properties. Select the Build Action to Content.
When do the above things, I'm getting the stream values.
Hope this helps you.