Rounded rectangle does not show up in my page?

Discussion in 'Silverlight' started by The_Coder, Apr 25, 2008.

  1. I have just hosted some test file which has a rounded and gradient rectangle, it shows perfect in my local machine (Visual Studio 2008) but it does not have any round in the running site? Any idea?

    This is my xaml code;




    <Rectangle Margin="10,0,0,0" RenderTransformOrigin="0.5,0.5" Stroke="#FF000000" StrokeThickness="0" RadiusX="10" RadiusY="10" HorizontalAlignment="Left" Width="316">


    <Rectangle.RenderTransform>


    <TransformGroup>


    <ScaleTransform ScaleX="1" ScaleY="1"/>


    <SkewTransform AngleX="0" AngleY="0"/>


    <RotateTransform Angle="90"/>


    <TranslateTransform X="0" Y="0"/>


    </TransformGroup>


    </Rectangle.RenderTransform>


    <Rectangle.Fill>


    <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">


    <GradientStop Color="#FF000000" Offset="0"/>


    <GradientStop Color="#FFFFFFFF" Offset="1"/>


    </LinearGradientBrush>


    </Rectangle.Fill>


    </Rectangle>


    Thanks in adcance
     
  2. Did you upload all of the files?
    Also, if you have created an ASP.NET page for this use the HTML page also, to test remotely.


    I'll help get this working, no problem.
    Salute,
    Mark
     
  3. Using the HTML page to test is just for testing purposes but you can use either page as needed.
    It's really amazing me some of the guys on the Microsoft Silverlight team are focusing so much on HTML for the scripts.
    Honestly I'm hoping we can get away from that as Silverlight evolves. [​IMG]
    Salute,
    Mark
     
  4. Thank for yr reply Mark, i uploaded all filez. But i don't use HTML page i use an Test.aspx page, do i need to use HTML page?
     

Share This Page