Where to store custom user data string? VS2010 reportviewer localreport rdlc
I am looking for a good place to store a custom user data string in rdlc reports rendered in local mode with a Visual Studio 2010 reportviewer control. The data string itself will not be rendered in the reports, but would be read externally as an xml value to help in revision control and report distribution. The only place I found so far is localReport.Description, but I think this is used as the title of the report. What about inserting a comment line in the xml definition? The implementation is winforms rather than web. Any suggestions? -BGood
April 30th, 2011 1:59pm

Hi BGood, What's your meaning of custom user data string? is it a static string? If so I think you could make use of a textbox to display it with the hiden visibility, then you could read this XML value externally. This forum focus on Reporting Services, you will receive better support if you post your issue at Visual Studio Report Controls forum at this link http://social.msdn.microsoft.com/Forums/en/vsreportcontrols/threads when you encounter RDLC issue next time. Thanks, Challen FuPlease remember to mark the replies as answers if they help and unmark them if they provide no help.
Free Windows Admin Tool Kit Click here and download it now
May 1st, 2011 10:56pm

Thanks for the suggestions, Challen. I will give the hidden textbox a try, but what do you think about an xml comment as the 1st line of the file? Is this something which is permitted in XML standards?-BGood
May 2nd, 2011 3:10pm

I'm not trying to answer my own question, but maybe I can't comment out the 1st line as a little research reveals: Each XML document should start with the version of XML you are using <?xml version="1.0"?> -BGood
Free Windows Admin Tool Kit Click here and download it now
May 3rd, 2011 5:55am

Thanks for the suggestions, Challen. I will give the hidden textbox a try, but what do you think about an xml comment as the 1st line of the file? Is this something which is permitted in XML standards? -BGood Hi BGood, It is just the RDLC XML Schema standard for namespace, you could refer to this link http://msdn.microsoft.com/en-us/library/ee720565.aspx In addition, see: http://www.jasinskionline.com/technicalwiki/Default.aspx?Page=RDL-Files-XML-Namespaces&NS=&AspxAutoDetectCookieSupport=1 Thanks, Challen Fu Please remember to mark the replies as answers if they help and unmark them if they provide no help.
May 3rd, 2011 9:30pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics