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

Issue with Rad DatePicker in Chrome ,Safari and Opera

3 Answers 122 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Vishwanath
Top achievements
Rank 1
Vishwanath asked on 12 Jul 2011, 08:02 AM
Hello

I have a created a new thread as i didn't find any suitable issue reported previously. I have having a rad date-picker within a div. The moment i click on the first date-picker . The second moves to the second line below.  I have attached screen shots to get an idea of whats  happening here.

I have a  js method which is triggered on onclick of the DatePopupButton within the rad DatePicker.

function(objName, e)
{
var _left; var _top;
        
_left = document.body.scrollLeft+e.clientX;
_top = document.body.scrollTop+e.clientY;

//a switch statement to differentiate from which client the click occured
 datePicker = <%= txtbox.ClientID %>; 

datePicker.HidePopup()
        var textBox = datePicker.GetTextBox();
        var popupElement = datePicker.GetPopupContainer();
        var dimensions = datePicker.GetElementDimensions(popupElement);
        var position = datePicker.GetElementPosition(textBox);
        datePicker.ShowPopup(_left, _top);

}

Do i need to handle this in a different way for other browser's. I see some additional items in the HTML of the page being created . I feel these are some runtime hiddenfields etc being created by the control.

This is working for IE and Mozilla.

I am using 5.0.4 of safari on windows. Also I am using Telerik.Web.UI.dll of the product version 2010.1.415.20


Thank you in advance.

3 Answers, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 15 Jul 2011, 09:16 AM
Hello Vishwanath,

Could you share the code that you use, because based on the provided information only we are unable to say why you are facing this issue.

All the best,
Vasil
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Vishwanath
Top achievements
Rank 1
answered on 20 Jul 2011, 11:15 AM
Hello

I tried to build an individual application , but could not reproduce the issue.What i realized is all the date controls were within a div and i was putting them in new lines using break(br) . I have now moved them into a table with rows and columns accrodingly. The problem seems to have gone away.

Thank you for the effort.
0
Vasil
Telerik team
answered on 21 Jul 2011, 07:22 AM
Hi Vishwanath,

I am glad that you have solved the issue, thank you for sharing the solution with us.

All the best,
Vasil
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
General Discussions
Asked by
Vishwanath
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Vishwanath
Top achievements
Rank 1
Share this question
or