why i can't view a STYLE applied to a <mobile:label>???


J

juavizga

my code is the next:

<%@ Register TagPrefix="mobile" Namespace="System.Web.UI.MobileControls"
Assembly="System.Web.Mobile" %>
<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="MobileWebForm1.aspx.vb" Inherits="pruebas.MobileWebForm1" %>
<HEAD>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
<meta content="http://schemas.microsoft.com/Mobile/Page"
name="vs_targetSchema">
</HEAD>
<body Xmlns:mobile="http://schemas.microsoft.com/Mobile/WebForm">
<mobile:form id="Form1" runat="server">
<mobile:Label id="Label1" runat="server" Alignment="Right"
StyleReference="Style1">hola</mobile:Label>
</mobile:form>
<mobile:stylesheet id="STYLESHET" runat="server">
<mobile:Style BackColor="#C0FFFF" Name="Style1"></mobile:Style>
</mobile:stylesheet>
</body>
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top