asp.net mvc - how to give a instance name? -
i'm using third party scheduler in project here example, http://scheduler-net.com/docs/simple_.net_application_with_scheduler.html
public actionresult index() { var scheduler = new dhxscheduler(this); scheduler.loaddata = true; scheduler.enabledataprocessor = true; return view(scheduler); }
how can replace word "this" instance name ?
if understand question correctly, define constructor way:
public myconstructor() { myinstance = this; }
than can use myinstance
instead of this
.
hope helps.
Comments
Post a Comment