Events are not raised for HTML controls that you run as server controls in Windows Server 2003 (835390)
The information in this article applies to:
- Microsoft ASP.NET (included with the .NET Framework 1.1)
- Microsoft ASP.NET (included with the .NET Framework) 1.0
- Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2003), Professional Edition
- Microsoft Visual Studio .NET (2003), Academic Edition
- Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2002), Professional Edition
- Microsoft Visual Studio .NET (2002), Academic Edition
- the operating system: Microsoft Windows Server 2003
SYMPTOMSIn Microsoft Visual Studio .NET, you can run HTML controls
as server controls in a Microsoft ASP.NET Web Application project. However, when you run
the corresponding Web application in Microsoft Windows Server 2003, you may
notice that the events of the HTML controls are not raised.
Note This behavior only occurs in Windows Server
2003.WORKAROUNDTo work around this behavior, add the server name that you
used to create your ASP.NET Web application to the list of trusted Web sites in
Microsoft Internet Explorer, and then specify the default security settings for
trusted Web sites. To do this, follow these steps:
- Start Internet Explorer.
- On the Tools menu, click Internet
Options. The Internet Options dialog box
appears.
- On the Security tab, click Trusted
sites, and then click Sites. The Trusted
sites dialog box appears.
- In the Add this Web site to the zone box,
type the server name that you used to create your ASP.NET Web application, and
then click Add. For example, depending on the server name that
you specified when you created the project, you may type either
localhost or
Server_Name.
- Click Close, click Default
Level, and then click OK.
- Run your ASP.NET Web application. The problem that is
mentioned in the "Symptoms" section of this article does not occur.
STATUS This
behavior is by design.REFERENCESFor more information, visit the following Microsoft
Developer Network (MSDN) Web sites:
Modification Type: | Minor | Last Reviewed: | 3/2/2004 |
---|
Keywords: | kbWebServer kbHTMLObj kbhtml kbServerControls kbEvent kbprb KB835390 kbAudDeveloper |
---|
|