3
Answers

How to set Two Controls in one row?

Dawood Abbas

Dawood Abbas

9y
406
1
<table>
<tr><td>
<div id="divMessages">
<input type="checkbox" />
<label data-expanded="Close Chatbox" data-collapsed="Open Chatbox"></label>
<div class="chat-box-content" style="background-color: White; height:300px;width:592px; overflow-y:scroll; font-size: 11px; ">
<asp:Literal Id="litMessages" runat="server" />
<asp:Label ID="lblUserIds" runat="server" Visible="false" Font-Bold="true" ForeColor="Blue"></asp:Label>
<asp:TextBox Id="txtMessage" onkeyup="ReplaceChars()" onfocus="SetToEnd(this)" runat="server" MaxLength="100" Width="500px" />
<asp:UpdatePanel ID="upbtnSend" runat="server"><ContentTemplate>
<asp:Button ID="btnSend" runat="server" Text="Send"/>
</ContentTemplate></asp:UpdatePanel>
</td><td>
<div onload="javascript:register_popup('narayan-prusty', 'Narayan Prusty');" id="divUsers" style="background-color: White; border-color:Black;border-width:1px;border-style:solid;height:337px;width:150px;overflow-y:scroll; font-size: 11px; padding: 4px 4px 4px 4px;">
<asp:Literal Id="litUsers" runat="server">
<a href="javascript:register_popup('narayan-prusty', 'Narayan Prusty');">
</asp:Literal>
</div></td>
</tr></table>
 
Asp button going to new line but i have to display it in one line? so how? 
Answers (3)
1
Sam Hobbs

Sam Hobbs

NA 28.7k 1.3m 15y

I don't know how you are doing it so I don't know if there is an easier way. My guess is that there is not an easier way.
 
Note that often the "secret" to making a program that is easy to use is complex development. In other words, sometimes we must write complicated program to make one that is easy to use. Windows and .Net and database software such as SQL Server does a lot for us, but sometimes we must do some programming outselves.
 
My guess is that the code necessary for the search page is not difficult except for many details that need to be done.
 
Probably what I would do is to create a List<String> for each filter (selection criteria) then concatenate them all together as needed.
0
Vikas Ahlawat

Vikas Ahlawat

NA 577 661.6k 15y
Ya code is not difficult.
Thanks for your reply.