I need to get the ModelItem from an instance of a User Control.
ex:
myUserControl uc = new myUserControl()
ModelItem mItem = ?? //something like new ModelItem(uc);
Is there a way to achieve this result?
I need to get the ModelItem from an instance of a User Control.
ex:
myUserControl uc = new myUserControl()
ModelItem mItem = ?? //something like new ModelItem(uc);
Is there a way to achieve this result?