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

RadDatePicker Asp.Net ajax Q3 3.5

5 Answers 71 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Vineet
Top achievements
Rank 1
Vineet asked on 16 Nov 2010, 12:08 AM
Hi,

I am manually loading custom user controls, same one few times. the user control has raddatepicker. the page contains few tabs and is set on lazy loading. the first time these controls load it shows the calender image. if clicked on any other tab, the image disappears and open popup calender text appears. even clicking on the link doesnt work. what is the work around for this.

Thanks
Vin

5 Answers, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 18 Nov 2010, 04:50 PM
Hi Vineet,

Is the problematic page ajax-enabled? If so try setting the RadDatePicker EnableAjaxSkinRendering property to true in the Page_Load event handler of the user control where it resides.
If the issue persists, sharing a bit more information on your scenario or code might help us get to the source of the problem.

Greetings,
Iana
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Vineet
Top achievements
Rank 1
answered on 19 Nov 2010, 02:37 AM
Hi,

I have a user control (Employer) and it has two radDatepicker. I am loading this control dynamically from page load in a placeHolder.

The first time it loads i the image of the datepicker is shown and works correctly. If I fire save event, open the pop up calendar shows up and the calendars skin is not applied. I have tried putthing this in the page load event (What you suggested above)  but it doesnt work.

EmployerDetails

 

empDetails;

foreach

 

(PSAEmployer emp in CurrentEmployerData)

 

{

empDetails = (

EmployerDetails)LoadControl("EmployerDetails.ascx");

 

empDetails.HeaderText =

"Employer " + employerCount.ToString() + " Details";

 

empDetails.Present(emp);

//Add controls to Place holder
plhEmpDetails.Controls.Add(empDetails);

employerCount++;

}

0
SamJ
Top achievements
Rank 1
answered on 23 Nov 2010, 08:15 AM
Didn't setting the EnableAjaxSkinRendering property work for you?

Thanks,
SamJ
0
Vineet
Top achievements
Rank 1
answered on 23 Nov 2010, 08:17 AM
No it didnt.

thanks
Vin
0
Vineet
Top achievements
Rank 1
answered on 25 Nov 2010, 02:13 AM
Well we have decided not to use telerik controls and opted to use Ajaxtoolkit. it works fine without any problem.

Thanks
Vin
Tags
Calendar
Asked by
Vineet
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Vineet
Top achievements
Rank 1
SamJ
Top achievements
Rank 1
Share this question
or