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
Hi Tobi,
the xhtml DOCTYPE declaration was already added.
But your tip does the trick.
I' ve furthermore coded a dynamic solution to implement your workaround.
Dim _page As System.Web.UI.Page = DirectCast(HttpContext.Current.Handler, System.Web.UI.Page) Dim _placeholder As New Literal _placeholder.ID = "INFRAGISTICS_WORKAROUND_BUILD_2039" _placeholder.Text = "<script type=""text/javascript"" src=""./../jscript/infragistics_workaround_build_2039.js""></script>" _page.Form.Controls.AddAt(0, _placeholder)
Thanks very much for your Help!
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";
Sorry, I really cannot help any further -- please contact Developer Support directly, sinice this is the fastest way to get this resolved. I tried multiple times too, could not reproduce that and no matter what I tried and search, I could not find these types of error.
Contacting Developer Support is the way to go.
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?
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.