jumbojs
jumbojs

Reputation: 4868

Adding to a ASP.NET user control constructor

I've created an asp.net user control and I am trying to add logic to the user control's constructor. When I added the constructor to the user control I received an error telling me there were duplicate constructors. I'm assuming asp.net is creating one for me and then creating mine separately. How do I add logic to my User control constructor?

Upvotes: 1

Views: 1096

Answers (1)

Bhaskar
Bhaskar

Reputation: 10681

Try overloading the constructor....

Upvotes: 2

Related Questions