http://www.telerik.com/forums/water-mark-text
I have found and am a little confused by the way these examples work. This is the way my code is setup:
Now I am trying to add a Text Watermark as shown in this example: http://www.telerik.com/help/reporting/designing-reports-watermarks.html
So I am trying to do it 3 different ways and only 1 way needs to work listed in order by the way I prefer to do it most:
1. Code Behind. As you see I am just setting the Content to be an html string in my RadEditor. Do I need to create a System.Drawing.Image object?
2. asp side. Running asp code but it seems that it needs to create some sort of document object that I'm not doing here.
3. Designing Reports Watermarks link seems to be creating a type of Report that is not the same as what I'm trying to do here.
But it doesn't seem the Reports talked about here are an actual printed report but some sort of computer report. What I'm trying to accomplish is to add a watermark to files that we print in pdf format. The PDF files are already created. I just need to add watermarks now. How do I exactly add watermarks here? In the previous link therei s an example doing it in the asp side using OnClientLoad but we don't create an actual document here. What is the document that needs to be created to make this work? Or to do it from the code behind, I need to somehow make the html string into this object: System.Drawing.Image ???
I have found and am a little confused by the way these examples work. This is the way my code is setup:
C# side
string reportResult = report.GetReport(**all parameters needed to make a dynamic html**);
RadEditorReportView.Content = reportResult;
.asp side
<
telerik:RadEditor
ID
=
"RadEditorReportView"
Runat
=
"server"
Width
=
"100%"
EditModes
=
"Preview"
Height
=
"100%"
ToolsWidth
=
"0"
Enabled
=
"false"
>
<
Tools
>
<
telerik:EditorToolGroup
></
telerik:EditorToolGroup
>
</
Tools
>
</
telerik:RadEditor
>
Now I am trying to add a Text Watermark as shown in this example: http://www.telerik.com/help/reporting/designing-reports-watermarks.html
So I am trying to do it 3 different ways and only 1 way needs to work listed in order by the way I prefer to do it most:
1. Code Behind. As you see I am just setting the Content to be an html string in my RadEditor. Do I need to create a System.Drawing.Image object?
2. asp side. Running asp code but it seems that it needs to create some sort of document object that I'm not doing here.
3. Designing Reports Watermarks link seems to be creating a type of Report that is not the same as what I'm trying to do here.
But it doesn't seem the Reports talked about here are an actual printed report but some sort of computer report. What I'm trying to accomplish is to add a watermark to files that we print in pdf format. The PDF files are already created. I just need to add watermarks now. How do I exactly add watermarks here? In the previous link therei s an example doing it in the asp side using OnClientLoad but we don't create an actual document here. What is the document that needs to be created to make this work? Or to do it from the code behind, I need to somehow make the html string into this object: System.Drawing.Image ???