Hi I have creating WebCombo and UltraWebGrid dynamically. But in IE 7 an error ocurr when a post back is fired.
oCombo._unloadCombo();
Thank you for your help.André
Assembly = Infragistics35.WebUI.WebCombo.v8.2, Version=8.2.20082.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
I tried the scenario you mention and did not have any issues. Are you using our WARP or a MS Update Panel? Is this Sharepoint? What control is initiating the postback and through what action? Are you recreating these controls everytime?
Tanks, i have Sharepoint -> WebPart -> UpdatePanel -> UltraWebGrid -> WebCombo.
The entire tree of controls is recreated in every postback on CreateChildControls.
A have two columns in grid with WebCombo, if a use only one everything is ok. But if a open more than one, an javascript error occur after any postback.
Ajax -> WebCombo -> WebCombo Advanced AJAX
Creating a sample based on that scenario would take some time. Could you paste the code or supply the sample you are working with? You can also log a suppor request with that sample and they will be able to assist you with this issue:
http://devcenter.infragistics.com/Protected/SubmitSupportIssue.aspx
Hi, i have a sample created but how a send to you? 6 files in 16kb (zip).
When you are replying, there is an "options" tab in addition to "related" and "preview" tabs that allows you to upload attachments.
Tanks, to recreate the error:
We are having this same issue and had to put in spaghetti code to get around it. We are using Infragistics 8.2. Will it be fixed in 9?
In researching ASP.NET dynamic control creation, it is necessary to recreate any dynamically created controls during the postback process. This allows the viewstate to be attached to those controls (asp.net's second try). I've tested this and got it working in Visual Studio 2008 ASP.NET using an asp.net textbox. When using an infragistics webmaskedit control, the viewstate is not attached to the control and the values are lost. Do you have any example of this or can you suggest how I can accomplish this? I'm dynamically creating the controls based on a selected report. The user enters values in those controls and clicks a button to preview the report. I'm unable to access the values the user entered because the viewstate doesn't get pushed back into the controls (again, I rebuild the dynamic controls at postback as required by asp.net)
Here's what i found:
http://forums.asp.net/t/1060800.aspx
What version of our controls are you using?
I performed the procedure to describe it:
------------------------------------------------
http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=6158
This will tell the control to use the local copies of the scripts and not the embedded ones. This will allow you to modify the script to work in your scenario. Go to function igcmbo_initCombo in the ig_webcombo3_1.js file and wrap the oCombo._unloadCombo() method call with an if statement like so:
{
}
When I run the program leaves me this error:
Run-time error in Microsoft BLOCKED SCRIPT Sys.ScriptLoadFailedException: The script 'scripts/inf/ig_webcombo3_1.js' failed to load. Check for:
Based on what you have told me, I would recommend you try to redirect your scripts using that knowledge base article. You either want to copy the script over local to your website and redirect to there or you can redirect it to the virtual directory ig_common in your iis.