This is a migrated thread and some comments may be shown as answers.

Disable Print Preview

3 Answers 109 Views
RichTextEditor
This is a migrated thread and some comments may be shown as answers.
Troy Clemons
Top achievements
Rank 1
Troy Clemons asked on 07 Oct 2015, 07:07 PM

Is there a way to disable the print preview when printing a document.

 

Thanks Troy

3 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 08 Oct 2015, 12:44 PM
Hi Troy,

Thank you for writing.

To print the document without print preview you can just call the Print method:
private void radButton1_Click(object sender, EventArgs e)
{
    radRichTextEditor1.Print(false);
}

Let me know if you have additional questions.
 
Regards,
Dimitar
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Troy Clemons
Top achievements
Rank 1
answered on 08 Oct 2015, 12:54 PM

that works, but it only prints to the default printer.

h9ow can I make it show the printer select screen
without the print view screen appearing.

0
Dimitar
Telerik team
answered on 08 Oct 2015, 01:13 PM
Hello Troy,

Just change the method parameter to true:
private void radButton1_Click(object sender, EventArgs e)
{
    radRichTextEditor1.Print(true);
}

Let me know if you have additional questions.
 
Regards,
Dimitar
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
RichTextEditor
Asked by
Troy Clemons
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Troy Clemons
Top achievements
Rank 1
Share this question
or