raddatepicker spacing in firefox problem

5 posts, 0 answers
  1. Joe
    Joe avatar
    49 posts
    Member since:
    May 2008

    Posted 24 Jun 2008 Link to this post

    Hello, i get a giant space between the following 2 controls, only in firefox, in ie7 it works fine:

     <telerik:RadDatePicker id="RadDatePicker1" Runat="server" AutoPostBack="true" OnSelectedDateChanged="rad_DateBegins_SelectedDateChanged" MinDate="2008-01-01" SelectedDate="2008-05-25" Width="1px">
                <datepopupbutton HoverImageUrl="~/RadControls/Calendar/Skins/Web20/Img/datePickerPopupHover.gif" Height="20.5px" ImageUrl="~/RadControls/Calendar/Skins/Web20/Img/datePickerPopup.gif"></datepopupbutton>
                <DateInput ID="DateInput1" style="display: none;" runat="server" ></DateInput>
             </telerik:RadDatePicker>
            
            <telerik:RadTimePicker ID="RadTimePicker1" runat="server" Width="85px" >
                <TimeView ID="TimeView3" runat="server" StartTime="9:0:0" EndTime="22:31:00" Interval="0:30:0" Columns="5" TimeFormat="HH:mm" Culture="en-US"></TimeView>
                <DateInput ID="DateInput2" DateFormat="HH:mm" Culture="en-US" runat="server"></DateInput>
                <DatePopupButton Visible="False"></DatePopupButton>
            </telerik:RadTimePicker>

    i saw a post about editing a css file for the calendar, but i am not using a skin above, correct?  Any help on this one would be great.  I also tried removing the style="display: none;" and still no luck.  Spaces are not fun.

    Joe
  2. Dimo
    Admin
    Dimo avatar
    8472 posts

    Posted 24 Jun 2008 Link to this post

    Hi Joe,

    I used your code to create a simple web page. The only problem I saw is that the image button of the first datepicker was not visible under Internet Explorer (because of the Width="1px"). However, there was no spacing issue in Firefox. Could you send a live URL to look at, or a sample project attached in a formal support ticket? Thanks.

    Greetings,
    Dimo
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Joe
    Joe avatar
    49 posts
    Member since:
    May 2008

    Posted 24 Jun 2008 Link to this post

    Hmm, i have a lot of CSS in my project, maybe it has something to do with that.  Or the fact that i just upgraded to the latest version of radcontrols for asp.net ajax.  I may have done that wrong.  Does this sound right:  i put the new DLLs in my bin folder (Telerik.Web.UI, Telerik.Web.Charting, etc), then got rid of any errors the new code caused.  I have a folder named RadControls with all the old RadControls in it from Q2 2007 (i kept them there for some of the images).  Should i put all the new controls in there?  To get the telerik controls to work all i need is the DLLs in the bin folder though right?  This is getting a little off topic, but still may help me figure out my spacing problem  thank you

    Joe
  4. Dimo
    Admin
    Dimo avatar
    8472 posts

    Posted 25 Jun 2008 Link to this post

    Hello Joe,

    Yes, the only thing you need to run RadControls for ASP.NET AJAX are the two assemblies - Telerik.Web.UI and Telerik.Charting. The new RadControls don't need a "RadControls" folder and they do not look for such folder.

    Please try adding two DatePickers on an empty page to see whether everything looks as expected and afterwards, please try removing some of your application's CSS files to research where the problem comes from.

    If you still have troubles, please send us a URL or a sample project, so that we can help you out.


    Kind regards,
    Dimo
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. Joe
    Joe avatar
    49 posts
    Member since:
    May 2008

    Posted 29 Jun 2008 Link to this post

    Instead of messing with it anymore i switched my 2 separate date and time controls to 1 RadDateTimePicker, i didnt even realize this was a control until i looked at everything in my visual studio toolbox.  This solves the problem on my end.  Thank you
Back to Top