Hello,
Im havign problems with my ig_common VD not accessing my javascript files. Im using VS 2005 and the 7.3 version on your controls. I created my VD pointing to 'C:\Inetpub\wwwroot\aspnet_client\Infragistics\' this is where my versions of the controls are and subfolders (Forms, Scripts, etc). I have added the assemblies in the web.config.
I made a sample page by dragging the UltraWebTab to the page and put a simple label and textbox in there. All I want to do is grab the text of the textbox by using the javascript function ' igedit_getById()' but when debugging it says its not defined, so its not being found. I did no more than that, so if Im missing a step (referencing the js files in the web.config?) This is just a simple example I put together to grab the value of the label, so that I can then add it to my larger project when I get this all figured out. And the javascript function I created is inline with the page, using the ' igedit_getById()' function
Thanks.
Hi,
I'm having the problem described in this thread, using 20082 for.Net 3.5. I see that the links are coming through as WebResource.axd, but the images and scripts aren't being loaded.
Any ideas? I have the Infragistics assemblies in the GAC. I just copied them there.
Andy
I think I know what is going on - the grid has several javascript files (for performance reasons) and loads them depending on property settings. If you have not enabled AllowAddNewDefault property on the DisplayLayout setting, the javascript file containing igtbl_addNew will not be included. The solution is to set the property, for example:
gridName.DisplayLayout.AllowAddNewDefault = AllowAddNew.Yes;
For more information, you can also check out the discussion in this forum thread:
http://forums.infragistics.com/forums/t/11112.aspx
I'm having the same problem except that the call to igtbl_getGridById is working and the call to igtbl_addNew is not being recognized. What's even more crazy is that this works fine on another page on the same website.
I have to jump in here as well. I have a web page in which I need to capture the title value of the clicked item from a ListBar control. I have the client side script event to fire after the item is selected but when I attempt to run the following code:
var editor = igedit_getById("ResponseText");
editor.setText(oItem.Element.title);
}
I get an exception on the igedit_getById call that an object is expected.
I found what to me is a workaround - though doable. Perhaps this will work for csharpsean as well (one can hope.) I found an article (now I can;t find it again) talking about a javascript problem when you have LoadOnDemand="XML". Even though I don't have LoadOnDemand="XML" set, I decided the solution was worth a shot. It tells how to place into web.config, a section that tells infragistics where to look for javascript files.
<section name="infragistics.web"
type="System.Configuration.SingleTagSectionHandler,System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<infragistics.web imageDirectory="~/images/Images" javaScriptDirectory="~/scripts"/>
Doing this, my script errors went away and now I can continue with my eval. Of course, ultimately, I would like to know why this should be necessary, and getting an answer on this that resolves it would go a long way towards convincing me that support for the product is better than what I have read in some postings (always better to learn from my own experience than just other people's rantings.)
Ed Hinton