ASP.NET with HTML+TIME

  • Thread starter Thread starter Troy Jerkins
  • Start date Start date
T

Troy Jerkins

Can I use html+time DHTML in an ASPX page?
Writing in VB.NET
Following some examples I have the following code in HTML view:

<STYLE>
.time { behavior: url(#default#time2) }
.looks {border: 4px solid black; width:250px;height:250px;
filter:progid:DXImageTransform.Microsoft.Gradient();
color:white;font-size:28; font-family:trebuceht; font-weight:bold;
text-align:center}
</STYLE>
</HEAD>
<BODY>
<?import namespace = t urn = 'urn:schemas-microsoft-com:time' implementation
= '#default#time2' />

.........

</body>

When I try to switch to design, I receive the following dialog box message,

The page cannot be displayed in design view. The page contains one or more
<?import> directives, which is not supported in design view.

Is there another way to do this or do I have to use a page with an .htm
extension?

Regards,

-Troy
 
The page cannot be displayed in design view. The page contains one or more
<?import> directives, which is not supported in design view.

Is there another way to do this or do I have to use a page with an .htm
extension?

Ther is no requirement for developing an ASP.Net application that you must
be able to view your template code in Design View. While it may be
inconvenient, and indeed may be fixed in a future version of the dev
software, again, you can certainly get along without it.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 

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

Back
Top