Configuration issue???

reDdremnKek

New Member
This is our first attempt at a .net application. The .aspx page displays fine, but when we add the references for a .ascx page, the code for the .ascx page is displayed, rather than the generated HTML. I have reinstalled teh server piece from the .net cd.<BR><BR>Is this a configuration issue with the IIS server.<BR><BR>We are using the beta 2 version of .net<BR><BR>Thanks in advance<BR><BR>Michael Knoxit's hard to say, we'd have to see the code, but try to make sure that you're doing it something like this<BR>----ascx page----<BR><script language="vb" runat="server"> <BR>Public name as string<BR><BR>Sub Page_Load(Src As Object, E As EventArgs) <BR> showit.text = "my name is " & name<BR>End Sub <BR></script> <BR><ASP:label id="showit" runat="server" /><BR>---------------------<BR><BR>---aspx page---------<BR><%@ register tagprefix="my" tagname="tag" src=http://aspmessageboard.com/archive/index.php/"mycontrol.ascx" %><BR><BR><my:tag name="ed" runat="server" /><BR>---------------------<BR><BR>the output would be:<BR><BR>my name is ed<BR><BR>hope that helped<BR>Joel Martinez
 
Back
Top