Every attempt to edit a gridcell containing a dropdownbox shows the following errormessage:
cStyle is undefinedhttp://dev:8081/WebResource.axd?d=y5sNjaUn08fM5vmbZh5LFsUDYpllPOqC6PSRSKBTrKwcp4_8oRj0xkBSgbKNMmHaHk7e8VKMIu7sAOZ4X_y8L1zqLZa5schBTAQ3PohiS7SMDNFyKmHHNj7qO15Lfmb_u6MbdYtLc3FNDDKWL9HekVAOeYhD8wjS3wRNDEjJqoE1&t=633700440041007424Line 845
We too are getting this error? Did you have any look solving it?
Unfortunately, no.
The only hope at this time is a workaround. I did not know a version / release of WebGrid that does not contain such a Killerbug. So a rollback is not possible.
Thanks for the follow-up. While I will do my best at my side to continue working on this item and to reproduce the issue, I still believe the best / fastest and most reliable way to solve this is to contact Developer Support directly at:
http://ko.infragistics.com/Support/#Overview
It is just the problems like that are typically hard to resolve over peer-to-peer forums.
Thanks.
Hi again,
I cannot reproduce so far, but the problem is in the Javascript function
function igtbl_editList(g,v,r,col,cElem) in Line 764;
In the working testproject the variable g.IsXHTML is true.In the not working Project it is false.
So if g.IsXHTML is false cStyle will never be initialised.
What is g.IsXHTML?
How to set this value to true?
Are there changes in behavior to previous versions?
svsde said:What is g.IsXHTML?
if(ig_csom.IsIE) { cStyle=cElem.currentStyle; } else { cStyle=igtbl_getComputedStyle(cElem); }
before the line:s.height=(cElem.offsetHeight - igtbl_parseInt(cStyle.borderTopWidth) - igtbl_parseInt(cStyle.borderBottomWidth)) + "px";(only this line was changed in this function in the hotfix 2039)
s.height=(cElem.offsetHeight - igtbl_parseInt(cStyle.borderTopWidth) - igtbl_parseInt(cStyle.borderBottomWidth)) + "px";
Tobi_O said:What is g.IsXHTML? This checks if the document is a xhtml file.You can simply add the xhtml DOCTYPE declaration to avoid the error. [/quote] Thank you for your suggestion. Just adding the DOCTYPE to the master page (it was in one, but missing from another) solved the issue for us. <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Thank you for your suggestion. Just adding the DOCTYPE to the master page (it was in one, but missing from another) solved the issue for us.
<!
Any other solution?
I have the same error in ultrawebgrids with columns of columntype "DropDownList" after upgrading to Version 8.3.20083.2039. It seems that on any upgrading i have new problems/bugs in my pages with infragistics controls :-((
Please download and install v 8.3.20083.2059. This issue is fixed there.