C
cclements1384
Gurus,
I am trying to add a Drop Down List web control to the footer template
of a grid view. The problem is that once the control is created
(using markup) the name of the control is not accessible from the
page's code behind.
References to ddlmyControl in code fail to compile because the name is
not defined.
If I simply move the control out of the grid view, the control's
properties become accessible from the code behind and the application
compiles just fine.
I can't even find the partial class file to see if the controls are
getting added by the IDE (I suspect that is the problem) can anyone
provide me some advice?
Chris Clements
I am trying to add a Drop Down List web control to the footer template
of a grid view. The problem is that once the control is created
(using markup) the name of the control is not accessible from the
page's code behind.
References to ddlmyControl in code fail to compile because the name is
not defined.
If I simply move the control out of the grid view, the control's
properties become accessible from the code behind and the application
compiles just fine.
I can't even find the partial class file to see if the controls are
getting added by the IDE (I suspect that is the problem) can anyone
provide me some advice?
Chris Clements