Normal 0 false false false EN-US X-NONE X-NONE
WOW.. After a long time writing a post here.. Previously I was working in Infragistics 2006 Vol3. In-between I was working in some other projects.. Now I am back. Recently we have purchased 2011. We wanted to give support to IE9. What I did was that I upgraded my existing project by changing doing the following
a) Deleted the Old dll and added new dlls.
b) Changed the appropriate values in Web.config
c) Changed the version no in all the pages
d) Added the new scripts and defined that path in web.config
I am using the same controls that I used previously; now after doing that I experienced some minor issue which I fixed. Now I am having a major issue... In my page I have 2 controls, Left-side and Right-side control. In the left-side, I have a treeview and in the right-side, I load controls depending on the node that I click. The controls are loaded in a WARP panel and inside that WARP panel, i have an <asp:Panel> to which i am loading the control to and also it is loaded dynamically.
The problem that I face is that sometimes when I click on the same node more than once, the control get loaded but no JavaScript code that was in the <script> tag get loaded. For eg., if there are 3 nodes in the treeview, when i click on the 1st node and that control get loaded and then i click on the 3rd node and a new control is loaded. After that i again click on the 1st node, and after loading the control when I click on a button, client-side events does not happen, but the server side code gets executed properly. I am perplexed with the issue, not able to find a solution for it and what could be the problem? Can someone pls help me out?
Thanks,
Jollyguy77
Hi Jollyguy77,
I am attaching a sample which I hope reflects your scenario accurately. The treeview I'm using loads a button, textbox upon label upon change in the selected node. The button fires a client-side javascript function.
However, I am still unable to replicate the issue you describe. My tests were done using Firefox 5, IE8 and IE9.
Could you provide the markup of your WARP panel as this may help to isolate the issue ?
Best Regards,
Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://es.infragistics.com/support
Hi Petar,
Thanks for the sample & SORRY for the Late reply..I tried u r sample and it was working fine.. i could not find any problems.. Then i found out the problem.. Previously when select an client-side event for the button click, it automatically creates an <script> tag like <script id="Infragistics" type="text/javascript"> When i did the same in the Latest infragistics, i noticed that the id is changed from "Infragistics" to "igClientScript". Once i made the necessary id change, it started working fine for me.. I don't know why but it's working fine and there are no more problems...
I have a question.. Is ID for the <script> tag important? Are we using it to identify the client-side events? It's strange that by changing the ID alone, all the scripts are loaded. Is there an answer to why it is working?.. BTW i didn't use any <asp:ScriptManager> in my website at all...
Jollyguy