Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9180187
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T17:59:03+00:00 2026-06-17T17:59:03+00:00

I am asking myself why this is showing the TextBox and the Label horizontally:

  • 0

I am asking myself why this is showing the TextBox and the Label horizontally:

<tr>
    <td>
        <asp:TextBox ID="txtDateFrom" onkeypress="return CheckValid();"  runat="server"></asp:TextBox>
        <asp:Label ID="lblErrorBirthDay" runat="server" ForeColor="Red" Text="(***)" Visible="false"></asp:Label><asp:RequiredFieldValidator
            ID="RequiredFieldValidator3" runat="server" ErrorMessage="(*)" ControlToValidate="txtDateFrom"></asp:RequiredFieldValidator>
    </td>
</tr>

It gives the result:

|__________________|(***)

And this

<tr>
    <td>
        <dx:ASPxDateEdit ID="txtDateFrom" runat="server" CssClass="txtLongerBlack12" ></dx:ASPxDateEdit>
        <asp:Label ID="lblErrorBirthDay" runat="server" ForeColor="Red" Text="(***)" Visible="false"></asp:Label><asp:RequiredFieldValidator
            ID="RequiredFieldValidator3" runat="server" ErrorMessage="(*)" ControlToValidate="txtDateFrom"></asp:RequiredFieldValidator>
    </td>
</tr>

gives

|__________________|
(***)

What do I have to do so that the second snipped will also be shown both controls (DateEdit and Label) horizontally?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T17:59:05+00:00Added an answer on June 17, 2026 at 5:59 pm

    I would guess that the ASPxDateEdit control is outputting a block level HTML element, such as a <div>, which means that the <span> output by the Label will go underneath. You can control this with CSS, such as floating both the elements left.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am asking for help, after hours of trying to figure this out myself.
I tried to test this myself before asking on the forum but my simple
I was just asking myself, if this makes sense: I have a query that
I have been asking this myself for a while. Debugging in visual studio goes
this question I've been asking myself since the day I started programming in MVC
This is not specifid to backbone but it's how I got to asking myself
http://img683.imageshack.us/img683/645/weatherscreenmockupoutl.png I am asking myself whats the best way to code this layout. Basicly
I've been asking myself this question for quite some time and I haven't found
I'm currently reading this presentation about Augmented Reality and I'm asking myself why the
I have been asking myself this question for a long time now. Thought of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.