2 silverlight 1.0 controls on one html page RRS feed

  • Question

  • Dear all gurus,

    I have been working on 2 silverlight1.0 applications on 1 html page.  They run perfect fine individually on different html page.  Problem rises when i put them on the same html page.  The problem is the following:

    One is a list of hyperlinks of news in a box with scroll bar and the other one is a rotating adverts.  but when i turn the wheel on the mouse, it returns a javascript error - s is null. 

    var s=main.findName("myScroller1_TrackBar") - myScroller1_TrackBar is a name of a Rectangle.  The javascript couldn't find this Rectangle.

     However, when the scroll bar box is running by itself on the html page, everything is fine. 

    Why is that happening?

    Friday, October 17, 2008 6:29 AM


  • Hi, try:-

    var s=main.content.findName("myScroller1_TrackBar")


    Friday, October 17, 2008 9:20 AM