Quote:
|
I thought basing the form on the BasePage Template wrote this line.
|
Yes, it should. Looks like your template is not OK. You may want to consider recreating it. Here's a run-down of what you need to do:
1. Add a new Web Form to the site using the Add New Item dialog
2. Make any changes you want to appear in new web forms
3. Replace the class placeholders and change System.Web,.UI.Page to BasePage
4. Choose File | Export Template
5. Delete the web form you created in step 1 from the site
6. To base a new page on your template, choose Add New Item and choose your template
The new Web Form based on the template should now have the code you added or modified in steps 2 and 3.
Hope this helps,
Imar