472,364 Members | 2,141 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,364 software developers and data experts.

How to move radio buttons into table cells?Help!

I have asked this question before. But it does not work for me. Given radion
buttons in the web form design page. What I did is described as follows.

A panel control is dragged into the design form, and a table control is
dragged into the panel from tooolbox. Add cells for the table through the
properties. Now I cut a radio button, and click the table (note I can not
select a cell), then right click Paste. The button is not in expected cell,
but just over the table or bellow the table on the panel. How to move the
button into a specific cell of the table?

Thanks

David
Apr 27 '06 #1
7 4721
Another question: how to select (highlight) a cell in design?

David

"david" wrote:
I have asked this question before. But it does not work for me. Given radion
buttons in the web form design page. What I did is described as follows.

A panel control is dragged into the design form, and a table control is
dragged into the panel from tooolbox. Add cells for the table through the
properties. Now I cut a radio button, and click the table (note I can not
select a cell), then right click Paste. The button is not in expected cell,
but just over the table or bellow the table on the panel. How to move the
button into a specific cell of the table?

Thanks

David

Apr 27 '06 #2
Simple answer, don't do it in design view do it in source view. If you want
to work on a control in design view that needs to go in a tablecell, just
stick somewhere on the page, set all the properties etc, then paste the
resulting markup into the relevent tablecell.

"david" wrote:
I have asked this question before. But it does not work for me. Given radion
buttons in the web form design page. What I did is described as follows.

A panel control is dragged into the design form, and a table control is
dragged into the panel from tooolbox. Add cells for the table through the
properties. Now I cut a radio button, and click the table (note I can not
select a cell), then right click Paste. The button is not in expected cell,
but just over the table or bellow the table on the panel. How to move the
button into a specific cell of the table?

Thanks

David

Apr 27 '06 #3
Do you mean doing it in HTML source with tag TR and TD, and then working in
design view by select cell and cut/paste?

David

"clickon" wrote:
Simple answer, don't do it in design view do it in source view. If you want
to work on a control in design view that needs to go in a tablecell, just
stick somewhere on the page, set all the properties etc, then paste the
resulting markup into the relevent tablecell.

"david" wrote:
I have asked this question before. But it does not work for me. Given radion
buttons in the web form design page. What I did is described as follows.

A panel control is dragged into the design form, and a table control is
dragged into the panel from tooolbox. Add cells for the table through the
properties. Now I cut a radio button, and click the table (note I can not
select a cell), then right click Paste. The button is not in expected cell,
but just over the table or bellow the table on the panel. How to move the
button into a specific cell of the table?

Thanks

David

Apr 27 '06 #4
If you drag a table control from the toolbox onto the page in Visual
Studio/Visual Web Developer it does not create an HTML table it creates and
ASP table control as below

<asp:Table ID="PageContentTable" runat="server" Width="95%"></asp:Table>

Are you actaully talking apout something else such as FrontPage?

"david" wrote:
Do you mean doing it in HTML source with tag TR and TD, and then working in
design view by select cell and cut/paste?

David

"clickon" wrote:
Simple answer, don't do it in design view do it in source view. If you want
to work on a control in design view that needs to go in a tablecell, just
stick somewhere on the page, set all the properties etc, then paste the
resulting markup into the relevent tablecell.

"david" wrote:
I have asked this question before. But it does not work for me. Given radion
buttons in the web form design page. What I did is described as follows.

A panel control is dragged into the design form, and a table control is
dragged into the panel from tooolbox. Add cells for the table through the
properties. Now I cut a radio button, and click the table (note I can not
select a cell), then right click Paste. The button is not in expected cell,
but just over the table or bellow the table on the panel. How to move the
button into a specific cell of the table?

Thanks

David

Apr 27 '06 #5
I am not talking about FronPage, just talking about Visual Studio .NET.
The asp.net webform design has two tabs, design and html. So you mean it
should work in html tab page other than design tab page, since the table
control in design generates asp tag such as
<asp:Table ID="PageContentTable" runat="server" Width="95%"></asp:Table>

It doesn't work for my purpose. However, it should work by using tags TABLE,
TR, and TD in HTML tab page (which will display in design form page). Am I
right?

David

"clickon" wrote:
If you drag a table control from the toolbox onto the page in Visual
Studio/Visual Web Developer it does not create an HTML table it creates and
ASP table control as below

<asp:Table ID="PageContentTable" runat="server" Width="95%"></asp:Table>

Are you actaully talking apout something else such as FrontPage?

"david" wrote:
Do you mean doing it in HTML source with tag TR and TD, and then working in
design view by select cell and cut/paste?

David

"clickon" wrote:
Simple answer, don't do it in design view do it in source view. If you want
to work on a control in design view that needs to go in a tablecell, just
stick somewhere on the page, set all the properties etc, then paste the
resulting markup into the relevent tablecell.

"david" wrote:

> I have asked this question before. But it does not work for me. Given radion
> buttons in the web form design page. What I did is described as follows.
>
> A panel control is dragged into the design form, and a table control is
> dragged into the panel from tooolbox. Add cells for the table through the
> properties. Now I cut a radio button, and click the table (note I can not
> select a cell), then right click Paste. The button is not in expected cell,
> but just over the table or bellow the table on the panel. How to move the
> button into a specific cell of the table?
>
> Thanks
>
> David

Apr 27 '06 #6
If you drag and drop a table onto the page in design view and then add rowws
and cells through the proerties it creates something like below

<asp:Table id="Table1" style="Z-INDEX: 101; LEFT: 32px; POSITION: absolute;
TOP: 24px" runat="server">
<asp:TableRow>
<asp:TableCell></asp:TableCell>
<asp:TableCell></asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell></asp:TableCell>
<asp:TableCell></asp:TableCell>
</asp:TableRow>
</asp:Table>

If you want to ad controls put them within the relevant
<asp:TabelCel></asp:TableCell> sections within the table in source/HTML view.
If you want to work on the controls in design view and set their properties
etc just stick them anywhere on the page then copy and paster the resultant
markup into the relevent <asp:TabelCel></asp:TableCell> in HTML/Source view.

"david" wrote:
I am not talking about FronPage, just talking about Visual Studio .NET.
The asp.net webform design has two tabs, design and html. So you mean it
should work in html tab page other than design tab page, since the table
control in design generates asp tag such as
<asp:Table ID="PageContentTable" runat="server" Width="95%"></asp:Table>

It doesn't work for my purpose. However, it should work by using tags TABLE,
TR, and TD in HTML tab page (which will display in design form page). Am I
right?

David

"clickon" wrote:
If you drag a table control from the toolbox onto the page in Visual
Studio/Visual Web Developer it does not create an HTML table it creates and
ASP table control as below

<asp:Table ID="PageContentTable" runat="server" Width="95%"></asp:Table>

Are you actaully talking apout something else such as FrontPage?

"david" wrote:
Do you mean doing it in HTML source with tag TR and TD, and then working in
design view by select cell and cut/paste?

David

"clickon" wrote:

> Simple answer, don't do it in design view do it in source view. If you want
> to work on a control in design view that needs to go in a tablecell, just
> stick somewhere on the page, set all the properties etc, then paste the
> resulting markup into the relevent tablecell.
>
> "david" wrote:
>
> > I have asked this question before. But it does not work for me. Given radion
> > buttons in the web form design page. What I did is described as follows.
> >
> > A panel control is dragged into the design form, and a table control is
> > dragged into the panel from tooolbox. Add cells for the table through the
> > properties. Now I cut a radio button, and click the table (note I can not
> > select a cell), then right click Paste. The button is not in expected cell,
> > but just over the table or bellow the table on the panel. How to move the
> > button into a specific cell of the table?
> >
> > Thanks
> >
> > David

Apr 27 '06 #7
Thank you very much.

I will try it. It seems that the copy/paste should happen in HTML view other
than Design view.

David

"clickon" wrote:
If you drag and drop a table onto the page in design view and then add rowws
and cells through the proerties it creates something like below

<asp:Table id="Table1" style="Z-INDEX: 101; LEFT: 32px; POSITION: absolute;
TOP: 24px" runat="server">
<asp:TableRow>
<asp:TableCell></asp:TableCell>
<asp:TableCell></asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell></asp:TableCell>
<asp:TableCell></asp:TableCell>
</asp:TableRow>
</asp:Table>

If you want to ad controls put them within the relevant
<asp:TabelCel></asp:TableCell> sections within the table in source/HTML view.
If you want to work on the controls in design view and set their properties
etc just stick them anywhere on the page then copy and paster the resultant
markup into the relevent <asp:TabelCel></asp:TableCell> in HTML/Source view.

"david" wrote:
I am not talking about FronPage, just talking about Visual Studio .NET.
The asp.net webform design has two tabs, design and html. So you mean it
should work in html tab page other than design tab page, since the table
control in design generates asp tag such as
<asp:Table ID="PageContentTable" runat="server" Width="95%"></asp:Table>

It doesn't work for my purpose. However, it should work by using tags TABLE,
TR, and TD in HTML tab page (which will display in design form page). Am I
right?

David

"clickon" wrote:
If you drag a table control from the toolbox onto the page in Visual
Studio/Visual Web Developer it does not create an HTML table it creates and
ASP table control as below

<asp:Table ID="PageContentTable" runat="server" Width="95%"></asp:Table>

Are you actaully talking apout something else such as FrontPage?

"david" wrote:

> Do you mean doing it in HTML source with tag TR and TD, and then working in
> design view by select cell and cut/paste?
>
> David
>
> "clickon" wrote:
>
> > Simple answer, don't do it in design view do it in source view. If you want
> > to work on a control in design view that needs to go in a tablecell, just
> > stick somewhere on the page, set all the properties etc, then paste the
> > resulting markup into the relevent tablecell.
> >
> > "david" wrote:
> >
> > > I have asked this question before. But it does not work for me. Given radion
> > > buttons in the web form design page. What I did is described as follows.
> > >
> > > A panel control is dragged into the design form, and a table control is
> > > dragged into the panel from tooolbox. Add cells for the table through the
> > > properties. Now I cut a radio button, and click the table (note I can not
> > > select a cell), then right click Paste. The button is not in expected cell,
> > > but just over the table or bellow the table on the panel. How to move the
> > > button into a specific cell of the table?
> > >
> > > Thanks
> > >
> > > David

Apr 27 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Ruskin | last post by:
Is there an easier way to do this (what I am trying to do, is have 3 radio buttons and when the submit button is clicked, easily determine which radio button was selcted). NOTE: the radio buttons...
2
by: jimi_xyz | last post by:
Sorry if this isn't the correct group, i don't think there is a group for straight HTML. I am trying to create a type of search engine. There are two radio buttons at the top, in the middle there...
3
by: Jay | last post by:
I noticed somewhere on the net that a post mentioned that there was a bug in the datagrid, radio buttons and a repeater. Something about the radio buttons are not mutually exclusive. (will this be...
2
by: James P. | last post by:
Help, I need to display radio buttons on a form. The data is from SQL table: each row in each table is displayed as a radio button. I have multiple SQL tables so I understand I need to put...
1
by: Jerry | last post by:
We have a 10-question quiz for kids, each question being a yes or no answer using radio selections. I'd like to keep a current total of yes's and no's at the bottom of the quiz (if the user selects...
5
by: sam | last post by:
Hi all, I am dynamically creating a table rows and inerting radio buttons which are also dynamically created. Everything works fine in Firefox as expected. But I am not able to select radio...
8
by: david | last post by:
I have developed webforms on which there are many radio buttons, textboxes, and labels designed in Visual Studio .NET with GridLayout. Most of them are required to allocate those controls into one...
1
by: kenny8787 | last post by:
Hi, can anyone help here? I have the following code generated from a database, I want to have javascript calculate the costs of the selected items using radio buttons, subtotal the costs and...
7
by: Milo333 | last post by:
Hi Please help, how do i write an if statement to check through 4 radio buttons, if none of the 4 buttons are selected than a message box must popup saying incomplete form, please complete the...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
2
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
1
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.