Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adjusting controls on the page
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01338176
Message ID:
01338309
Vues:
12
>>Hi everybody,
>>
>>Is there some trick that let me place the controls the way I want in a page?
>>
>
>You can either use CSS and div tags, or just use an HTML table. The table is probably easier to get set-up.
>
>>I want to have
>
>>Search where dropdown
>>
>>by name by description by date on the same line
>>
>>DropDown for Events and GO button next to it.
>>
>
>Something like:
>
>
><table border="0">
>  <tr>
>     <td colspan="3">Search where dropdown</td>
>     <td></td>
>     <td></td>
>  </tr>
>  <tr>
>     <td>by name</td>
>     <td>by description</td>
>     <td>by date on the same line</td>
>  </tr>
>  <tr>
>     <td>DropDown for Events</td>
>     <td>GO button next to it.</td>
>     <td></td>
>  </tr>
></table>
>
>
>Each TR tag is a new row, each TD is a new column.

Hi Paul,

Thanks again for trying to help. After few my own useless attempts I turned to my colleague for help and he sorted it all out in few minutes.
I have it now like this
<div id="search"  style="border:3px double #5D7B9D;padding:5px;margin:10px auto 10px 20px;background-color:#fff">
<asp:Panel ID ="pnlSearch" runat ="server" DefaultButton ="btnSearch" width ="100%" BorderStyle ="None">
    <div style="padding-bottom:5px"><span class="HomeTITLE">Search </span>  
            where 
        <asp:DropDownList ID="ddlOperator"  runat="server"> 
            <asp:ListItem>Greater or Equals</asp:ListItem>
            <asp:ListItem>Less Than or Equals</asp:ListItem>
            <asp:ListItem   Selected="True">Like or Equals</asp:ListItem>
        </asp:DropDownList>
        <asp:Button ID="btnSearch" OnClick="btnSearch_Click" BorderColor="Aqua"  BorderWidth="2"  runat="server" Text="GO"/>       
        </div>       


    <asp:Label ID="lblByName" text="By Name" runat="server"  >  </asp:Label> 
    <asp:Textbox ID="txtSearchName"  runat="server"  > </asp:Textbox>  
    
    <asp:Label ID="lblByDescription" text="By Description" runat="server"  >  </asp:Label> 
    <asp:Textbox ID="txtSearchDesc"  runat="server" > </asp:Textbox> 
    
    <asp:Label   ID="lblByDate" text="By Date" runat="server"  >  </asp:Label> 
    <asp:Textbox ID="txtSearchStartTime"  runat="server"  > </asp:Textbox>
    
    <rjs:PopCalendar ID="popcal_SearchStartTime" 
    runat="server" BorderWidth="" Control="txtSearchStartTime"
    Fade="1" Language="" SelectedDate="" StartAt="Sunday" Format="m d yyyy" Separator="/" 
    ToolTip="Click to select a date"  Move="True"></rjs:PopCalendar>
His idea was to put GO button right next to the operator drop down and I like this new arrangement.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform