Logo 
Search:

Asp.net Forum

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds

Web Form Button does NOT Display in web Browser

  Asked By: Rabiah    Date: Dec 06    Category: Asp.net    Views: 1658
  

I'm creating a new Web Applicatin project with C#,

Adding a Web Form (Textbox Control) as well as a Html Control
(Textfield) with default value in it (changing the text property).

The project compile without error and the IIS receive the page and
display it in my IE browser (V6).

Seen the two control on the web form inside the web browser but the
Web form control is displaying like a label inistead of a textbox and
I can NOT modify the text inside.

For the Html Textfield, everything is fine.

Also when I add a Web Form Button, it does NOT display at all on the
screen, but the Html Button will… What Wrong ???

My IIS is running & I setup the Frontpage server extention like
mention in the doc.

Share: 

 

3 Answers Found

 
Answer #1    Answered By: Josephine Gomez     Answered On: Dec 06

When you declared the textbox  be sure you have a runt=server as follows

<asp:textbox id=myTextBox runat=server />

 
Answer #2    Answered By: Aadi Martin     Answered On: Dec 06

My code include the runat=Server... but it does work...

Any other ideal on wath could cause this problem ?

 
Answer #3    Answered By: Jawwad Akram     Answered On: Dec 06

If you can see HTML and ASP pages ok but not ASP.NET, that means iis  and ASP.NET aren't in sync. Run the following from a command prompt.

aspnet_regiis.exe -i

That re-configures IIS registry settings for ASP.NET

That EXE is under the Windows folder. Might have to search to find exactly which folder it's in, if your PATH doesn't include it.

 
Didn't find what you were looking for? Find more on Web Form Button does NOT Display in web Browser Or get search suggestion and latest updates.




Tagged: