Which control for presentation

  • Thread starter Thread starter Lloyd Sheen
  • Start date Start date
L

Lloyd Sheen

I need a control which can present data in the following format:

Header
[Button] [Text 1 ] [ Text 2] [Button]

I have looked at the databound controls and cannot readily see a good fit.

Is there a control with an alternative style such that two items can be show
on one line with the format shown above?

Thanks,

Lloyd Sheen
 
Lloyd Sheen said:
I need a control which can present data in the following format:

Header
[Button] [Text 1 ] [ Text 2] [Button]

I have looked at the databound controls and cannot readily see a good fit.

Is there a control with an alternative style such that two items can be
show on one line with the format shown above?

Do you actually need a control for this...?

<table>
<tr>
<td colspan="4"><asp:Label ID="lblHeader" runat="server" /></td>
</tr>
<tr>
<td><asp:Button ID="cmdButton1" runat="server" />
<td><asp:TextBox ID="txtTextBox1" runat="server" />
<td align="right"><asp:TextBox ID="txtTextBox2" runat="server" />
<td><asp:Button ID="cmdButton2" runat="server" />
</tr>
</table>
 
Mark Rae said:
Lloyd Sheen said:
I need a control which can present data in the following format:

Header
[Button] [Text 1 ] [ Text 2] [Button]

I have looked at the databound controls and cannot readily see a good
fit.

Is there a control with an alternative style such that two items can be
show on one line with the format shown above?

Do you actually need a control for this...?

<table>
<tr>
<td colspan="4"><asp:Label ID="lblHeader" runat="server" /></td>
</tr>
<tr>
<td><asp:Button ID="cmdButton1" runat="server" />
<td><asp:TextBox ID="txtTextBox1" runat="server" />
<td align="right"><asp:TextBox ID="txtTextBox2" runat="server" />
<td><asp:Button ID="cmdButton2" runat="server" />
</tr>
</table>

I will need a control for it since it is databound. Of course I don't
really need a control since I could emit the HTML myself but I have been
experimenting with repeater and it has an alternateitem template so I will
use that.

Thanks,

Lloyd Sheen
 
Datalist supports multiple items in the same row. You can make an
ItemTemplate like
[Button][Text][Button]
and show only one button depending on the item number.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net


Lloyd Sheen said:
Mark Rae said:
Lloyd Sheen said:
I need a control which can present data in the following format:

Header
[Button] [Text 1 ] [ Text 2] [Button]

I have looked at the databound controls and cannot readily see a good
fit.

Is there a control with an alternative style such that two items can be
show on one line with the format shown above?

Do you actually need a control for this...?

<table>
<tr>
<td colspan="4"><asp:Label ID="lblHeader" runat="server" /></td>
</tr>
<tr>
<td><asp:Button ID="cmdButton1" runat="server" />
<td><asp:TextBox ID="txtTextBox1" runat="server" />
<td align="right"><asp:TextBox ID="txtTextBox2" runat="server" />
<td><asp:Button ID="cmdButton2" runat="server" />
</tr>
</table>

I will need a control for it since it is databound. Of course I don't
really need a control since I could emit the HTML myself but I have been
experimenting with repeater and it has an alternateitem template so I will
use that.

Thanks,

Lloyd Sheen
 
Back
Top