Create multiple view widget designers
Hello,
I wanted to create a designer with multiple views designer. I created two views. First one works perfect but when i add second with this line of code:
descriptor.AddElementProperty(
"includeHeaderTag"
,
this
.IncludeHeaderTag.ClientID);
i am getting an error (if i will comment this line it displays correctly but without any functionality):
Uncaught TypeError: Cannot read property 'constructor' of undefined
Any ideas?
Project contains:
/Views: 2 .ascx files, 2 js files and 2 cs files
/: cs file that override AddViews.
Thanks
Resolved:
I removed line with descriptor.AddElementProperty... and it worked. Script was loaded automatically (maybe at a time when first script was loaded)