Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rendering Custom Controls under the Personal Web Server
Message
From
26/10/2006 09:37:55
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
To
26/10/2006 09:29:00
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01164689
Message ID:
01164693
Views:
11
Bill in that case why don't you change the properties of the web project to use IIS instead of the Visual Studio Development Server?
Since that will make everything ok right?

>I have a custom DataGrid subclassed from the VS2K3 DataGrid. After recompiling this DataGrid in VS2K5 for use under .NET 2.0 I have some anomalies from running under the local, personal web server in VS2K5.
>
>The grid's OnItemDataBound event is overridden to add some javascript onclick code to the cells. Some tests are performed in this event to determine if the code is written or not. One of the tests is (...!System.Environment.UserInteractive). The purpose for this test is to enable the control to render correctly in the IDE when developing. I.e. the javascript code should not be written when in the development IDE and this test supports this. UserInteractive returns true when in the development IDE but false when running under IIS and has functioned flawlessly under ASP.NET 1.1.
>
>The problem is that when running under the VS2K5 local personal web server, UserInteractive also returns true ( instead of false as running under IIS ). I don't know if this is a bug or by design but under these conditions the control either will not render correctly in the IDE, or will not operate correctly when testing under the VS2K5 local personal web server.
>
>Is there some setting that can be changed or a different property tested to resolve this issue?
>
>Thanks,
>Bill
Alexandre Palma
Senior Application Architect
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform