Problem with Silverlight/wpf in scrolling html div.

Posted by Mat on Stack Overflow See other posts from Stack Overflow or by Mat
Published on 2010-06-17T13:51:44Z Indexed on 2010/06/17 13:53 UTC
Read the original article Hit count: 254

Filed under:
|
|

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.

© Stack Overflow or respective owner

Related posts about html

Related posts about wcf