Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
865
WARP Panel problem after upgrading to latest version?
posted

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

Parents
No Data
Reply
  • 49378
    posted

    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 Ivanov
    Developer Support Engineer
    Infragistics, Inc.
    http://ko.infragistics.com/support

    WarpPanelProblemSample.zip
Children