M
Madison
I had created custom textbox server control and try to use in the web
application by placeing DLL in bin folder and add DLL in the reference. Then
in the web.config I added the following:
<controls>
<add namespace="pscControl.psc" assembly="pscControl" tagPrefix="psc"/>
</controls>
In the web form I can call <psc:requiredTextbox id="test" runat="server" />
I do not get any errors but when I switch to design mode I got the following
message:
Error Rendering Control - test
An unhandled execptions has occurred.
Object reference not set to an instance of an object.
What is the correct way to call customer server control?
Thank you.
application by placeing DLL in bin folder and add DLL in the reference. Then
in the web.config I added the following:
<controls>
<add namespace="pscControl.psc" assembly="pscControl" tagPrefix="psc"/>
</controls>
In the web form I can call <psc:requiredTextbox id="test" runat="server" />
I do not get any errors but when I switch to design mode I got the following
message:
Error Rendering Control - test
An unhandled execptions has occurred.
Object reference not set to an instance of an object.
What is the correct way to call customer server control?
Thank you.