G
Guest
I have an existing page, that works, and I'm trying to enhance it by adding a
dropdown in a datagrid. When I add the dropdown, I expect the code-behind
file to be updated by VS. It should be updated to contain a type declaration
for the new dropdown with a variable name that is the same as the id that I
set in the designer.
Do I expect correctly?
Well, it's not happening. And it doesn't matter whether it's an HTML or a
web control. The type declaration is not being generated automatically. If
I add the declaration manually, it fools the compiler but not the runtime.
I think there may be something important here that I do not understand. Can
anyone tell me what I need to read about in order to debug this situation?
Thanks.
dropdown in a datagrid. When I add the dropdown, I expect the code-behind
file to be updated by VS. It should be updated to contain a type declaration
for the new dropdown with a variable name that is the same as the id that I
set in the designer.
Do I expect correctly?
Well, it's not happening. And it doesn't matter whether it's an HTML or a
web control. The type declaration is not being generated automatically. If
I add the declaration manually, it fools the compiler but not the runtime.
I think there may be something important here that I do not understand. Can
anyone tell me what I need to read about in order to debug this situation?
Thanks.