No, when editing in HTML view, you have to declare control manually in the
code behind file.
Thanks
Mikhail Arkhipov (MSFT)
-- This post is provided "AS IS" with no warranties, and confer no rights.
"z. f." <> wrote in message
news:...
> Hi,
>
> adding a control with runat=server to an aspx page (using code - not
> designer view) - don't cause the control to be added to the code behind
(.cs
> ot .vb file)
>
> only if i change the aspx view to designer and then to the HTML view
again,
> the code behing is changed to add the controls with runat=server property.
>
> is there a way using the IDE commands to run this command that the IDE is
> making "behind the scenes" when switching to designer and then to HTML
view
> again?
>
> TIA, z.
>
>
|