locked
Links Does not Colored in run time RRS feed

  • Question

  • User2030535747 posted

    Hello

     

    Iam Using ASP.NET 2,0 to create a mobile website

     

    all the problems I found a solution for them but the last one is

     

    when I color th link or the objectlist (radio buton)

    the color appears in designer

     

    but in run time on the browser or the stimulator or even on a phone there is no color for the link

     

    even I used mobile style sheets

     

    I need a solution

     

    thanks alot

    Sunday, March 30, 2008 4:58 PM

All replies

  • User1735976268 posted

    It's going to be pretty impossible to answer this without seeing some code.

    Sunday, March 30, 2008 6:33 PM
  • User2030535747 posted

    Thanks alot

    <mobile:Link ID="Link2" Runat="server" BackColor="#80FF80" ForeColor="#FF8080">Link</mobile:Link>

     

    with style sheet

    <mobile:StyleSheet ID="StyleSheet1" Runat="server">

    <PagerStyle BackColor="#FFC0C0" ForeColor="Blue" Name="PagerStyle1">

    <DeviceSpecific>

    <Choice Xmlns="http://schemas.microsoft.com/mobile/html32template">

    </Choice>

    </DeviceSpecific>

    </PagerStyle>

    <mobile:Style BackColor="#FFC080" ForeColor="Red" Name="Style1">

    <DeviceSpecific>

    <Choice Filter="supportsColor" Xmlns="http://schemas.microsoft.com/mobile/html32template">

    </Choice>

    <Choice Xmlns="http://schemas.microsoft.com/mobile/html32template">

    </Choice>

    </DeviceSpecific>

    </mobile:Style>

    </mobile:StyleSheet>

     

    <mobile:Link ID="Link1" Runat="server" StyleReference="Style1">Link</mobile:Link>

    Sunday, March 30, 2008 11:23 PM