Hello everybody!
I would like to make my helper. In UI for MVC It looked like this
public static WindowBuilder KendoWindow(this HtmlHelper helper, string name, string titleResKey, string dataRequestUrl = null, int? minWidth = null, int? minHeight = null, int? maxWidth = null, int? maxHeight = null, string onRefreshEvent = null)
{
var attrib = new Dictionary<string, object>();
var window = helper.Kendo()
.Window()
.Name(name)
.Title(titleResKey)
.Draggable()
.Actions(action => action.Close())
.Animation(true)
.Events(x => x.Activate("onKendoWindowActivate").Close("onKendoWindowClose"))
.Modal(true)
.Visible(false).AutoFocus(true);
return window;
}
But in the version for Net Core I do not have a reference helper.Kendo()
How can I do this now? Thank you