liyon Posted December 15, 2003 Posted December 15, 2003 ASP.net: web form controls not visible during run time ,but HTML controls are visible Quote
Moderators Robby Posted December 15, 2003 Moderators Posted December 15, 2003 This board is for Suggestions pertaining to the forum not your code. Is this what you ment? Quote Visit...Bassic Software
liyon Posted December 15, 2003 Author Posted December 15, 2003 doubts where Can I post the doubts ? Quote
Moderators Robby Posted December 15, 2003 Moderators Posted December 15, 2003 Since it's a question on ASP.NET I moved it to said board. By the way, most posts on this site are 'doubts'. Good luck. Quote Visit...Bassic Software
Moderators Robby Posted December 15, 2003 Moderators Posted December 15, 2003 Back to your question, is this a custom control that you created? Quote Visit...Bassic Software
liyon Posted December 15, 2003 Author Posted December 15, 2003 web form control Its just a COmmand button from tool box..I am not sure if any installation problem...or we need to enable some options...? Quote
Moderators Robby Posted December 15, 2003 Moderators Posted December 15, 2003 Ok, I understand what you mean now. I've seen this happen before, I can't remember the cause though. Does this occur with any web control? Quote Visit...Bassic Software
liyon Posted December 15, 2003 Author Posted December 15, 2003 web control Yes All web controls ....are invisible during run time HTML controls are visible Below is the code <%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb" Inherits="WebApplication6.WebForm1"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <title>WebForm1</title> <meta name="GENERATOR" content="Microsoft Visual Studio.NET 7.0"> <meta name="CODE_LANGUAGE" content="Visual Basic 7.0"> <meta name="vs_defaultClientScript" content="JavaScript"> <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"> </HEAD> <body MS_POSITIONING="GridLayout"> <form id="Form1" method="post" runat="server"> <asp:Label id="Label1" style="Z-INDEX: 101; LEFT: 209px; POSITION: absolute; TOP: 102px" runat="server" Width="112px" Height="22px">Label</asp:Label> <asp:TextBox id="TextBox1" style="Z-INDEX: 102; LEFT: 354px; POSITION: absolute; TOP: 99px" runat="server" Width="250px" Height="31px"></asp:TextBox> <INPUT id="Button1" style="Z-INDEX: 103; LEFT: 424px; WIDTH: 169px; POSITION: absolute; TOP: 258px; HEIGHT: 31px" type="button" value="Button" name="Button1" runat="server"> <asp:Button id="Button2" style="Z-INDEX: 104; LEFT: 204px; POSITION: absolute; TOP: 261px" runat="server" Width="161px" Height="30px" Text="Button"></asp:Button> <INPUT id="Text1" style="Z-INDEX: 105; LEFT: 355px; WIDTH: 251px; POSITION: absolute; TOP: 148px; HEIGHT: 28px" type="text" size="36" name="Text1" runat="server"> </form> </body> </HTML> Quote
Administrators PlausiblyDamp Posted December 15, 2003 Administrators Posted December 15, 2003 You may need to re-register aspnet with iis from a command prompt run aspnet_regiis.exe /i Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
liyon Posted December 15, 2003 Author Posted December 15, 2003 asp.net web control Whats the cause of the problem..why we need a re registration from command prompt ? Thanks Liyon Quote
Moderators Robby Posted December 15, 2003 Moderators Posted December 15, 2003 Usually if aspnet is not registered you get a server error, it's worth a shot anyway. Quote Visit...Bassic Software
liyon Posted December 15, 2003 Author Posted December 15, 2003 asp.net web form control The problem solved after re-registration Thanks Liyon Quote
Administrators PlausiblyDamp Posted December 15, 2003 Administrators Posted December 15, 2003 Seen that before, IIS seems to treat aspx pages as if they were html. If you view the page source all the Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.