Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASP Web Controls wont display
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00609452
Message ID:
00609471
Views:
24
This message has been marked as the solution to the initial question of the thread.
Before you begin, try putting this code inside an aspx page on your web server and browse it to make sure ASP.NET is working. (Take out the spaces)


< %@ Page Language="C#" % >
< %
Response.Write("Test C#");
Response.Write(System.DateTime.Now);
% >
< %=System.DateTime.Now% >


Here is some actual code that I am using for a button:
<asp:button runat="server" width="100%" cssclass="DirButton" 
	id="btnFolder" OnClick="OnFolderSelected"
  	Text='<%# DataBinder.Eval(Container.DataItem, "FolderName") %>' />
You don't need to use all the attributes. Assuming you put the spaces in your code intentionally, it looks ok. How does the page render? Look at the html generated by looking at view source.

-Dave







>I am using .Net Beta II and created an .aspx page according to the "Walkthrough: Creating a Basic Web Forms Page" documentation.
>
>After dragging a Web Server Control (Button) on to the page as described, the following code was added to the page:
>
>< asp:button id="Button" runat="server" >< /asp:button >
>
>This is correct according to the documentation but after 'build and browse' the button does not appear on the page.
>
>Covering new ground... Wondering if its a Beta II problem.
>
>Todd
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform