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


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