Open GoogleCodeExporter opened 9 years ago
Please run the Setup page from /Setup/Default.aspx and see if the configuration
is correct.
Original comment by omaralzabir@gmail.com
on 24 Jul 2012 at 11:07
That was the first thing tried, no problems detected.
Original comment by war...@warrent.co.nz
on 24 Jul 2012 at 11:37
Can you show me the exact error message?
One thing, your error message says DropThings, but the class name is
Dropthings. No capital T.
Original comment by omaralzabir@gmail.com
on 24 Jul 2012 at 11:41
Screen capture with error attached.
Original comment by war...@warrent.co.nz
on 25 Jul 2012 at 1:52
Attachments:
Can you please check if this script block is appearing before the <script> tag
that loads MyFramework.js?
Original comment by omaralzabir@gmail.com
on 26 Jul 2012 at 12:43
I looked at the page source and the __doPostBack is before the <script> tag to
load myframework.js, same as all the other __doPostBack calls.
I've attached the TestWidget files.
Original comment by war...@warrent.co.nz
on 26 Jul 2012 at 4:10
Attachments:
Most likely the timer is firing before the MyFramework.js gets loaded and thus
it fails.
I suggest you put a check to ensure DropthingsUI is defined before calling
__doPostBack.
also there's no ref to DropthingsUI in the script. I am surprised it is
happening because of this block of script. Maybe it is happening for something
else?
Original comment by omaralzabir@gmail.com
on 26 Jul 2012 at 9:14
I've simplified the demo by creating a blank widget and adding a single control:
<input type="button" value="Display timed alertbox!"
onclick="__doPostBack(this.controlID, '')" />
The post back etc all works fine, TestWidget.Page_Load is called as expected,
the undefined error happens somewhere when the page is being redisplayed. I
can't see where DropthingUI becomes undefined during the process. DropthingsUI
doesn't become undefined when 'Add Stuff', widget 'Edit' and the like are used.
Original comment by war...@warrent.co.nz
on 27 Jul 2012 at 2:05
Original issue reported on code.google.com by
war...@warrent.co.nz
on 11 Apr 2012 at 5:52