Web controls no show in codebehind

  • Thread starter Thread starter eric.carmody
  • Start date Start date
E

eric.carmody

Hello,

Using Visual 2003, in the ASPX designer.

I drop a table from the toolbox onto the form. Then I want to add a
radio button(s) into cells of the table; it won't let me Why does the
toolbox not let me drag/drop a radio button onto the table cells?

So I resorted to hand coding "<asp:RadioButton ...."
into the tablecell definitions in the HTML. This works, but, the
radiobutton do not show in the .cs file. I can manually define them in
the .cs file, but then I have to manually subscribe them to an event
method. Does this all have to be done manally?

Is there a sync method to populate the .cs with the controls embedded
in the table in the aspx file?

In the end, yes I can get it to work, radiobuttons fire .cs events, but
its all hand coding. Am I doing something wrong? I could go on and type
more about the issue, but I', trying to keep this brief.

Appreciate comments.
Cheers,
Eric
 
Hello (e-mail address removed),

Just put you control to the form and then in html code copy/past to the required
location
Hello,

Using Visual 2003, in the ASPX designer.

I drop a table from the toolbox onto the form. Then I want to add a
radio button(s) into cells of the table; it won't let me Why does the
toolbox not let me drag/drop a radio button onto the table cells?

So I resorted to hand coding "<asp:RadioButton ...."
into the tablecell definitions in the HTML. This works, but, the
radiobutton do not show in the .cs file. I can manually define them
in
the .cs file, but then I have to manually subscribe them to an event
method. Does this all have to be done manally?
Is there a sync method to populate the .cs with the controls embedded
in the table in the aspx file?

In the end, yes I can get it to work, radiobuttons fire .cs events,
but its all hand coding. Am I doing something wrong? I could go on and
type more about the issue, but I', trying to keep this brief.

Appreciate comments.
Cheers,
Eric
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
You mean drag/drop the radiobuttons to the form outside the table area,
the in the HTML code move the asp:radiobutton into a cell area?

huh ... never thought of that. I'll give it a try, thanks.

Eric
 
Back
Top