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.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public event CreateUniquePageNameEventHandler CreateUniquePageName

Value

Type: Atalasoft.Imaging.WebControlsCreateUniquePageNameEventHandler
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