| 1234567891011121314151617181920212223242526 |
- @model GreenTree.Nachtragsmanagement.Web.Models.Misc.MailNotificationDataModel
- @if (Model == null)
- {
- @Html.DevExpress().ComboBoxFor(m => m.NotificationJobSystemName, t =>
- {
- t.Width = new Unit(100, UnitType.Percentage);
- t.Properties.ValueField = "SystemName";
- t.Properties.ValueType = typeof(string);
- t.Properties.TextField = "Name";
- t.CallbackRouteValues = new { Controller = "Misc", View = "PartialNotificationPluginJobs" };
- t.Properties.ClientSideEvents.BeginCallback = "function (s, e) { e.customArgs['pluginSystemName'] = [ pluginSystemName ]; }";
- }).GetHtml()
- }
- else
- {
- @Html.DevExpress().ComboBoxFor(m => m.NotificationJobSystemName, t =>
- {
- t.Width = new Unit(100, UnitType.Percentage);
- t.Properties.ValueField = "SystemName";
- t.Properties.ValueType = typeof(string);
- t.Properties.TextField = "Name";
- t.CallbackRouteValues = new { Controller = "Misc", View = "PartialNotificationPluginJobs" };
- t.Properties.ClientSideEvents.BeginCallback = "function (s, e) { e.customArgs['pluginSystemName'] = [ pluginSystemName ]; }";
- }).BindList(Model.NotificationPlugin.AvailableNotificationJobs).Bind(Model.NotificationJobSystemName).GetHtml()
- }
|