Does the new Infragistics report in version 12 support unbound printing? I'd like to just print the contents of a textbox on a form. Is that possible?
Hi fasttrack,The Infragistics Reporting product does not have a TextBox control that can be used in a report (*.igr file). If you're referring to printing the contents of your application then using a WriteableBitmap to create an image of the control and then printing that image is something you could do.Could you explain a bit more what you mean by unbound printing? I'm not sure I completely understand.
H fasttrack,
Let me know if you still require assistance on this.
Hello Rob,
Often times I have a textbox on a form that contains ongoing notes concerning actions taken to resolve a problem. I just want to print the contents of this textbox without having using any binding controls, etc. When using other reporting products I can just simply use some code that says, to the effect, that a certain textbox.text property for a textbox control on the report equals the contents of the textbox on the form:
rpt.textbox1.text = form1.textbox1.text
I don't see that I can do that with your reporting tools. It looks to me like I have to create some dataset or another to accomplish this. Is that true or can I do something similar to the above?
Hi fasttrack,
Let me know if you have any further questions on this.
Sorry about the confusion. I wasn't sure completely what you had meant by unbound printing but now I understand. What Andres pointed out about report parameters is exactly what you are looking for. You would create a parameter in the report using the report designer and then in code you can access the report parameters from the report viewer and assign the value to the corresponding parameter. This value would be set to your form1.textbox1.Text property.
More information about report parameters can be found here: http://help.infragistics.com/NetAdvantage/reporting/2012.1/CLR4.0?page=How_to_Work_with_Parameters.html
Hi,
You could do it by defining a parameter in the Report. You can pass the form1.textbox.text value as a parameter, and then use the parameter value in the Report.
Let me know if that helps!
Thanks,
Andres