views:

13

answers:

0

Hi all,

I have a Silverlight object sitting at the bottom of a scrollable div. This object is submitted to a wcf backend via a javascript button.

The problem is, as the silverlight is at the bottom of the scrollable div it is not viewable until you have scrolled down. This is generating an error when the javascript button is clicked ( if i havent scrolled down ) awfully strange, or am i just an idiot :/

if i scroll down so the silverlight object, so it is in view it submits just fine.

The error i got is an alert type error which says :

The parameter value must be greater than zero.

Parameter name: pixelWidth

This seems to be returned from the wcf service.

What could cause this? Can anyone help me rectify.

Kind regards Mat.