Using ASP.NET server control visual desgners in FP2003

G

Geoff Taylor

Hi,

I've just started trying to use FP2003 (I normally stick to VS.NET), so
this might seem like a naive question:

How do I get server controls I have written to appear design-time in
FrontPage?

MS trumpeted the use of control designers when .NET was introduced, and
it's nice being able to see the design-time rendering of controls when
laying out pages. Surely FP supports this somehow? If it does, how do
I get it work?

I have my ASP.NET pages in FrontPage. I have the <form
runat="server">... tags. I have my custom DLL in the /bin directory and
listed on the ASP.NET tab of the options dialog. But design-time, it
just seems to output the tag's code:

<opgeek:repeater runat="server" pagesize="5">
<view recordtype="news" orderby="datecreated" sortascending="false"/>
...
</opgeek:repeater>

Needless to say, neither the designer nor the preview browser can
understand this, since it's not HTML - it's ASP.NET to generate HTML.

Have I missed something?

Geoff
 
T

Thomas A. Rowe

You have to use Preview in Browser and view the site via http://

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
G

Geoff Taylor

Thomas said:
You have to use Preview in Browser and view the site via http://

So there's no design-time support for ASP.NET controls, the way there is
in VS.NET?

Really?

Wow. That's pretty bad.

Geoff
 
T

Thomas A. Rowe

You can not access any server-side functions in FP.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
G

Geoff Taylor

Thomas said:
You can not access any server-side functions in FP.
Yeah, but I'm not really trying to access server-side functions. All I
was trying to do was find a way to display design-time versions of
controls. Expensive tools like VS.NET from MS can do it. Free tools
like WebMatrix from MS' developers can do it.

FrontPage, it appears, can't.

Which is a shame.

Geoff
 
J

Jim Cheshire

The designer in FrontPage only allows design-time support of some server
controls (such as the DataGrid.) Other controls will show up much the same
as templated controls (like the Repeater) do in VS.NET.

--
Jim Cheshire
Jimco
http://www.jimcoaddins.com
================================
Author of Special Edition
Using Microsoft Office FrontPage 2003
================================
The opinions expressed by me in the
newsgroups are my own opinions and
are in no way associated with my
employer or any other party. Jimco is
not associated in any way with any other
entity.
 

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