|
|
Browse by Tags
All Tags » C# » Web Controls
-
Originally I was not planning to post this subject until I spent hours for hunting some ghost JavaScript code. Problem was in generating custom JavaScript inside of WebControl.
Basically this is not about ''How'' to generate JavaScript code but ''When''. Unfortunately I faced to this problem several times and all the time it was a cause for some ...
-
Most of programmers who are dealing with ASP.NET know how to access files on the server. The common way how to do this is to use HttpContext.Current.Server.MapPath static method and get physical path of the file by passing virtual. But what if we need for instance to read some data from text file which located in our project in Design Time ...
-
During creating of Custom Controls sometimes programmers are dealing with implementation of code which should run only in Design Time mode. And the main question is, how to determine in ASP.NET whether your code is running in Design Time mode or not? I can offer several approaches for checking that. DesignMode ...
|
|
|