yakecan / dropthings

Automatically exported from code.google.com/p/dropthings
0 stars 0 forks source link

ensure.js (v.2.7.6) still not working in IE9 #224

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Code in Default.aspx page (OnPreRender Event)
protected override void OnPreRender(EventArgs e)
    {
        base.OnPreRender(e);
        WidgetHelper.RegisterWidgetScript(this, "", "jQuery(document).ready(function(){ ShowMessage(); });");
    }
2. Function RegisterWidgetScript of WidgetHelper class 
(Dropthings.Widget.Framework)

3. This is Javascript Function
function ShowMessage() {
    alert('Dropthing');
}
4. IE8 work fine, alert a message, but IE9 isn't. (I updated ensure.js in 
Script folder to version 2.7.6)

What is the expected output? What do you see instead?
Call ShowMessage javascript function on IE9

What version of the product are you using? On what operating system?
IE9 , Win7

Please provide any additional information below.

Original issue reported on code.google.com by dangvu1...@gmail.com on 11 Aug 2011 at 6:49

GoogleCodeExporter commented 9 years ago
Did you flush cache to confirm updated ensure.js did get loaded?

Original comment by omaralzabir@gmail.com on 11 Aug 2011 at 5:26

GoogleCodeExporter commented 9 years ago
Yes. I clear cache of browser and run again but not working. 
I use IEDeveloper Tool to check and i saw ensure.js was updated.
After that, I try Dropthings-2.7.6-src.zip and add new code to OnPrerender of 
Default.aspx:
WidgetHelper.RegisterWidgetScript(this, "", "jQuery(document).ready(function(){ 
ShowMessage(); });"); 
Can you check it again and feedback to me.
Thank you very much.

Original comment by dangvu1...@gmail.com on 12 Aug 2011 at 2:28

GoogleCodeExporter commented 9 years ago
Please attach the files you have modified here and I will try that on my code.

Original comment by omaralzabir@gmail.com on 12 Aug 2011 at 10:07

GoogleCodeExporter commented 9 years ago
Hi Omaralzabir,
This is two files i have modified: default.aspx.cs and myframework.js
Please try this and feedback to me

Original comment by dangvu1...@gmail.com on 15 Aug 2011 at 1:42

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by omaralzabir@gmail.com on 1 Nov 2011 at 7:05