You are herewithEvents variable Header conflicts with property ... Error
withEvents variable Header conflicts with property ... Error
Today, as I was converting some web applications from .Net 1.1 to .Net 2.0 I received the following error on the source pages of most of my ASPX pages -
withEvents variable 'Header' conflicts with property 'Header' in the base class 'Page' and should be declared 'Shadows'
Huh? That's what I said. However, the fix is relatively easy. What the error message is saying is that you probably have some element in your HTML code/script that has a value of "ID=Header". By giving this element a new ID name, the error message will be resolved.
description is very nice and i solved my problem.
thank you verymuch