This is a migrated thread and some comments may be shown as answers.

[Solved] raddatepicker spacing in firefox problem

4 Answers 151 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 1
Joe asked on 24 Jun 2008, 05:46 AM
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

4 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 24 Jun 2008, 12:20 PM
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
0
Joe
Top achievements
Rank 1
answered on 24 Jun 2008, 08:08 PM
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
0
Dimo
Telerik team
answered on 25 Jun 2008, 07:10 AM
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
0
Joe
Top achievements
Rank 1
answered on 29 Jun 2008, 09:26 PM
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
Tags
Calendar
Asked by
Joe
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Joe
Top achievements
Rank 1
Share this question
or