473,388 Members | 1,426 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 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 4845
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.