Click or drag to resize

WebViewerControlCreateUniquePageName Event

Used to override the default page name used by the control to generate file names in the cache. The default is the full pathname to the page hosting the control.

Namespace:  Atalasoft.Imaging.WebControls
Assembly:  Atalasoft.dotImage.WebControls (in Atalasoft.dotImage.WebControls.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public event CreateUniquePageNameEventHandler CreateUniquePageName

Value

Type: Atalasoft.Imaging.WebControlsCreateUniquePageNameEventHandler
Remarks
Caution note Caution
WebViewerControl control is not available for .NET Core.
Examples
Setting the Page Name C#
protected void Page_Load(object sender, EventArgs e)
{
    WebImageViewer1.CreateUniquePageName += new CreateUniquePageNameEventHandler(iv_CreateUniquePageName);
}

void iv_CreateUniquePageName(object sender, CreateUniquePageNameEventArgs e)
{
    e.PageName = "PageName";
}
See Also