Wizard Template Not used if custom DialogTemplate

StatusIDPriorityType
Closed29427MajorBug
ProfileReply
Scott GrossClient

if this is present in the global.ascx file, the Wizard Template is not used.

WebApplication.Instance.Settings.DialogTemplateContentPath = "~/DialogTemplateContent.ascx";

We would also like to know how to use custom wizard templates.

Replies

UserDescriptionPosted On
MariyaVoytovichAgent

Hello!
Thanks for contacting us.

See the DevExpress ticket: https://www.devexpress.com/Support/Center/Question/Details/Q473995/how-to-set-custom-web-template-in-global-asax-from-module-web-project
Set your template context name in property WizardAction.TemplateContext in code. Then handle the XafApplication.CreateCustomTemplate event, check e.Context and assign your control instance to the e.Template parameter.

Feel free to contact us if you have any questions.

Regards,
Mariya
On behalf of Xafari Client Services Team

× This ticket is closed.

Write US