R
Rainer Hahnekamp
Hi,
i tried to create my own custom controls and met following problems:
-according to the book "Programming ASP.NET" i created two projects
within my solution. one is the main and the other holds the custom
controls. as output path i set the binary directory of the inetpub path.
all works fine except that the custom controls also needs access to the
classes within the main project. after compiling i get the error
message, that the binary file could not have been copied, because it was
in use by another process. what should i do in this case?
-is there a way, that the custom control hast direct access to the
request object of a page where it is used?
-when i add a custom control via the command "controls.add(oControl)" to
a web page it disappears after a postback. what must i do to make it
"constant"?
greetings,
-rainer hahnekamp
i tried to create my own custom controls and met following problems:
-according to the book "Programming ASP.NET" i created two projects
within my solution. one is the main and the other holds the custom
controls. as output path i set the binary directory of the inetpub path.
all works fine except that the custom controls also needs access to the
classes within the main project. after compiling i get the error
message, that the binary file could not have been copied, because it was
in use by another process. what should i do in this case?
-is there a way, that the custom control hast direct access to the
request object of a page where it is used?
-when i add a custom control via the command "controls.add(oControl)" to
a web page it disappears after a postback. what must i do to make it
"constant"?
greetings,
-rainer hahnekamp