Dim
oPdfExporter
As
ExportToPDF =
New
ExportToPDF(
Me
._oSelectedGrid)
oPdfExporter.FileExtension =
"pdf"
oPdfExporter.PageTitle =
"Dealer Inventory"
oPdfExporter.Scale = 0.5F
oPdfExporter.PdfExportSettings.PageHeight = 210
oPdfExporter.PdfExportSettings.PageWidth = 297
oPdfExporter.ExportVisualSettings =
False
oPdfExporter.HiddenColumnOption = HiddenOption.DoNotExport
oPdfExporter.HiddenRowOption = HiddenOption.DoNotExport
oPdfExporter.SummariesExportOption = SummariesOption.DoNotExport
oPdfExporter.FitToPageWidth =
True
oPdfExporter.PdfExportSettings.FontType = Telerik.Apoc.Render.Pdf.FontType.Embed
Dim
sTempPath
As
String
= My.Computer.FileSystem.SpecialDirectories.CurrentUserApplicationData &
"\Dealer_Inventory.pdf"
oPdfExporter.RunExport(sTempPath)
oPdfExporter =
Nothing
Private
Sub
oPdfExporter_HTMLCellFormatting(
ByVal
sender
As
Object
,
ByVal
e
As
Telerik.WinControls.UI.Export.HTML.HTMLCellFormattingEventArgs)
If
e.GridColumnIndex = 1
AndAlso
e.GridRowInfoType.Equals(
GetType
(GridViewDataRowInfo))
Then
e.HTMLCellElement.Value =
"Test value"
e.HTMLCellElement.Styles.Add(
"background-color"
, ColorTranslator.ToHtml(Color.Orange))
End
If
End
Sub
Hi,
We are not able to find out a event for mouse over on auto hide docking panel and it get displayed and it get hide. Can you please help here?
What are we actually trying accomplish is as follows:
We added a RadDock on MDI form. RadDock contains two dockable tool windows. Property ‘MainDocumentContainerVisible’ of RadDock is set to false. Initally size of RadDock is set to very small in width, when panel gets docked size of RadDock is reset , with this we were able to show all tool window in appropiate size in case of docking. But on mouse over tool window is showing with its default size. We tried to set size of tool window using AutoHideSize property but it is not working. If we able to get any event for auto hide occurance then we will be able to add logic to show tool panel appropiately. Can you please help here?
private
void
calSchedule_ElementRender(
object
sender, RenderElementEventArgs e)
{
if
(myDates.Contains(e.Day.Date))
{
e.Element.Font =
new
Font(e.Element.Font.FontFamily, 9f, FontStyle.Bold);
e.Element.ForeColor = Color.Green;
e.Element.AutoToolTip =
true
;
}
}