c# - How to display Text in Tabpane created in Product-Edit page in NopCommerce? -


i creating own plug-in in want add tab product-edit page , in want display 1 list.

for have written following code in handleevent:

 public void handleevent(admintabstripcreated eventmessage)         {             if (eventmessage.tabstripname == "product-edit")             {                 var controller = new productvideocontroller();                 var html = controller.configure();                 eventmessage.itemfactory.add().text ("my list").contenthtmlattributes(html);             }         } 

but, gives me error object reference not set instance of object in var html = controller.configure(); statement;

can has idea?

all answers accepted.

thanks in anticipation.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -

php - Accessing static methods using newly created $obj or using class Name -