If you write a custom ASP.NET control you need to register the control either on the Page level or globally in your web.config so you can use the control on forms in your web application.
ASP.NET Page Level Custom Control Declaration
If you want to register your control per page that you use it on, you can use the following declaration at the top of your web form:
<%@ Register TagPrefix="myWebControls" Namespace="My.Website.Controls" Assembly="My.Website" %>
ASP.NET Site Level Custom Control Declaration
If you want to register your asp.net control(s) for you entire website you can use the following declaration in your web.config file:
<add tagPrefix="myWebControls" namespace="My.Website.Controls" assembly="My.Website"/>
Parser Error Message: Unknown server tag
If you pre-compile our web application and do not specify the assembly in your control declaration you will get the following error when trying to use your ASP.NET custom control:
Parser Error Message: Unknown server tag 'myWebControls:ViewEditTextControl'.
Aaron Schnieder
http://www.churchofficeonline.com
5 comments:
Buy Cialis, Viagra, Levitra, Tamiflu. Get Cheap Medication online. Buy Pills Central.
[url=http://buypillscentral.com/buy-generic-tamiflu-online.html]Discount Viagra, Cialis, Levitra, Tamiflu Pharmacy without prescription[/url]. Indian generic pills. Cheap drugs pharmacy
Today it's instead particular to group different medical companies discount Cialis now, singularly those who proximate their meds online.
eh. love this style ))
miley cyrus nude [url=http://www.ipetitions.com/petition/mileycyrus]miley cyrus nude[/url] paris hilton nude [url=http://www.ipetitions.com/petition/parishilt]paris hilton nude[/url] kim kardashian nude [url=http://www.ipetitions.com/petition/kimkardashian45]kim kardashian nude[/url] kim kardashian nude [url=http://www.ipetitions.com/petition/celebst]kim kardashian nude[/url]
Great information, thanks a lot.
Post a Comment