Saturday, 05 July 2008

The products listed above, and their associated names, icons and logos, are the intellectual property of Microsoft Corporation.

Web Gadget Forums
Sending huge amount of data to the ASP Page using HTML hidden control
MSDN Forums: Web Gadget Development -

Hi,

 

I have a requirement like sending huge amount of data (more than 100 MB) from HTML file to the ASP page using javascript. I used HTML hidden control to send this data to ASP page. Initially when I tried to send huge data (> 200kb) to server, I got "Operation not allowed" error. When I explored about this error, I came to know that in IIS 6.0, AspMaxRequestEntityAllowed property value should be increased from its default value of 200kb.

 

After increasing its value to 1 GB, I again tried to send huge data to ASP page.

 

Using IE, when I set small amount of data to hidden control and try to send it to ASP page, I am not facing any problem. Upto 53 MB of data there is no problem in setting its value to hidden control and sending this to ASP page.

 

But when I am trying to set a data of more than 53 MB, javascript error has occured saying "There is no enough space to complete this operation".

 

Please let me know is there any solution for this issue. Or is there any configuration settings available in IE to set more than 53 MB of data to an hidden control and sending this to ASP page.

 

Machine details:

Server:

Windows Server 2003 EE R2 OS

1 GB RAM

Virtual memery - 1.5GB to 3 GB

Hard disk space available - 180 GB

 

Client:

Windows XP Professional

Browser : IE 6.0

2 GB RAM

Vitual memory - 2 GB to 4 GB

Hard disk space available - 12 GB

 

Any help in this issue will be appreciated. Any alternative approach is also invited.

 

Thanks in Advance

 

-Gokul

 


View article..

Hello why my javascript doesnt work???
MSDN Forums: Web Gadget Development -

I try again and again ,it dont work???

 

 

 

Thanks


View article..

How to Get User Control Value in the Webform By Using Javascript
MSDN Forums: Web Gadget Development -

 

How to Get User Control Value in the Webform By Using Javascript.I created User control and placed in the Webform.The control consists of one Textbox.I have to validate the textbox by using javascript in Webform.While User Entering the words we have to catch the textbox value in Javascript.
View article..

open multiple windows with javascript??
MSDN Forums: Web Gadget Development -
hi all..

I was trying to open up multiple windows using javascript, the problem is after the first window is popped up, all the windows taking the same  pop up window, actually i want to pop up all windows seperately( the popped up windows are same URLs and only difference is parameters).

Alternatively i cam use html hyperlinks, but the properties i set with javascript cannot be done, like resize, menubars, scrolling etc. I am missing one of these, anyway.

In the first case, i used 'onClick' of link  and second case, onLoad of body. I am developing an application for web based chat, that's why these multiple windows.

Any help is highly appreciated...thaanks in advance.


View article..

ActiveX automatic update
MSDN Forums: Web Gadget Development -

Hello!

 

I append #version to codebase attribute in object tag to control version of my activex control. However it DOES NOT make browser to update activex. Browse does not download new actvex version! I tried to use both cab and not cab variants. Here is code I use:

 

         style='width:100%;height:100%'

         ID='video_image'

         CODEBASE='cab/activex.CAB#Version=4,2,2,153'

         CLASSID='CLSID:C4DBCA9D-B786-44F0-848B-E1E036CCFAC1'

         VIEWASTEXT>

         

   some_text

 

 

I would appreciate your help. Thanks in advance.


View article..

Interface specification of posting widget to Windows Live Gallery
MSDN Forums: Web Gadget Development -

Hi,

According to our research about Windows Live Gallery, all the materials/documents are telling us how to make gadget or how to submit the gadget to gallery using web interface. But we are looking for interface specification which means how to submit gadget to gallery automatically using program.  So, how can I get the interface specification of posting widget to Windows Live Gallery?  Is there any business issue?



Thanks,

James


View article..

2 Questions: Cookie and Adding things to "Edit"
MSDN Forums: Web Gadget Development -

Hello there,

 

I'm having a little problem with setting a cookie with my Gadget. I thought it should work like document.cookie = ...

but when I do it that way it seems that the gadget itself saves some cookie and i can only add a little content to it.

So how can I set and read a cookie with only information I want to have in it?

 

My second question is:

How can I add stuff to the "Edit" button that comes along with every Gadget?

 

I hope anyone can help me

 

thanks alot


 


View article..

table via DOM in IE
MSDN Forums: Web Gadget Development - Hi all,

I have a problem using a table on my webgadget. The following code works fine with Firefox and Opera, but IE shows nothing. The only way I can draw a table in IE is via

m_options.innerHTML = "
bla bla
bla bla
";

which is afaik pretty bad style. The original code:

var m_options;
var m_optiontable; 
var m_line1;
var m_line2;
var m_cell11;
var m_cell12;
var m_cell21;
var m_cell22;

this.initialize = function(p_objScope)
{
MikeE0815.thisProject.Bindings.Options.getBaseMethod(this, "initialize", "Web.Bindings.Base").call(this, p_objScope);

m_options = document.createElement("div");
p_elSource.appendChild(m_options);
m_options.className = "options";

m_optiontable = document.createElement("table");
m_options.appendChild(m_optiontable);
m_optiontable.className = "optiontable";

m_line1 = document.createElement("tr");
m_optiontable.appendChild(m_line1);

m_cell11 = document.createElement("td");
m_line1.appendChild(m_cell11);
m_cell11.innerHTML = "bla bla";

m_cell12 = document.createElement("td");
m_line1.appendChild(m_cell12);

m_line2 = document.createElement("tr");
m_optiontable.appendChild(m_line2);

m_cell21 = document.createElement("td");
m_line2.appendChild(m_cell21);
m_cell21.innerHTML = "bla bla";

m_cell22 = document.createElement("td");
m_line2.appendChild(m_cell22);

}


Does anybody know this issue?
To prevent some questions. I later want to change the content of the table dynamically, so the DOM approach seems to be the first choice.

Thanks in advance,

MikeE0815

View article..

DOM management update view
MSDN Forums: Web Gadget Development - Hi,
I develop a javascript editor.

I add on it some Element by update the DOM after a click on a "add" button. This editor run perfectly under Firefox (as always) but have bug with IE (as always).

In deed, after a click on "add button", when I look at the DOM with Dom inspector I see my new element (after click to refresh button of the inspector), but I don't see it in my HTML page, I see only the space of the container growth but all the content disappear.

ex :
DOM first

     



IE content view

     



DOM after click add button

     

  •  



IE content view after click add button

    growth with the size of the new element but doesn't display both, just white screen


So my question is : how IE manage DOM display after update of it...? And why the DOM is update but the html page doesn't display the result?

Thanks

Hervé

View article..

Example installation on local PC
MSDN Forums: Web Gadget Development - I can’t to install and view the gadget examples in live.com

My steps are:

Click on Add Gadgets
Click on Advanced
In the URL I've inserted http://localhost/HelloWorldGadget/HelloWorldGadget.xml
I click on the "install" button
but in the gadget area I obtain: There was an error loading the Gadget's resources.

Where is the problem??

Thanks


View article..

PreviousNext
Copyright 2008. Sponsored by Aptovita   |  Terms Of Use  |  Privacy Statement
Content on this site is generated from the developer community and shared freely for your enjoyment and benifit. This site is run independantly of Microsoft and does not express Microsoft's views in any way.