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

DataBinding issue

8 Answers 115 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Rama
Top achievements
Rank 1
Rama asked on 28 May 2008, 04:57 PM
Hi, It might be very simple question but I am confusing.

On scheduler, depends on user selection recurrence we are storing data in Database.
When I do reopen that webpage, on some click event I am reloading that recurrence data from database and trying to bind it to control.

I am using code like this when binding to control.

RadScheduler.DataStartField =

Convert.ToDateTime(partyUnavailability.StartDate).ToString();

RadScheduler.DataEndField =

Convert.ToDateTime(partyUnavailability.EndDate).ToString();

RadScheduler.DataSourceID = partyUnavailability.Id.ToString();

I am giving all necessary fields to bind it control. Even though its not displaying on scheduler.

Please Correct  me if  I am wrong.

-Rama

8 Answers, 1 is accepted

Sort by
0
Rama
Top achievements
Rank 1
answered on 28 May 2008, 10:40 PM
Hey I could able to bind the data. I have got problem with ID. I am assigining unique ID while binding to control then its working.

One more question:

when we do create new recurrence appointment  for Daily every 2 days ,end after 4 occurences.Its giving the string as


"DTSTART:20080501T000000Z\r\nDTEND:20080502T000000Z\r\nRRULE:FREQ=DAILY;COUNT=4;INTERVAL=2;BYDAY=MO,TU,WE,TH,FR,SA,SU\r\n"


Do we need to use like this string only while binding back to control. Or any simple way can we do this.

-Rama
0
Peter
Telerik team
answered on 29 May 2008, 08:42 AM
Hi Rama,

I am not quite sure I understand the exact scenario that you want to impelement. You can review the
Working with Recurring Appointments helpt topic which will help you get a better understanding of the recurrence mechanism of RadScheduler.


Best wishes,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Rama
Top achievements
Rank 1
answered on 29 May 2008, 08:59 PM
Thank you I got the exact answer.I appreciate your help.

I have got one more question.

When we double click  on  any appointment we are getting with a textbox , crossmark,rightmark and more.

And on again clicking more option its going to an recurrence.

Is there anyway directly going to recurrence window on double click of appointment.

As per our requirement we need that way.

Please help me on this ASAP.

-Regards
Rama
0
Peter
Telerik team
answered on 30 May 2008, 01:05 PM
Hi Rama,

Please, set StartEditingInAdvancedForm="true".


Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Rama
Top achievements
Rank 1
answered on 30 May 2008, 07:22 PM
Thank you, your support is greatly helpful to us.

I am facing another issue in my application.

when I insert a new appointment with week recurrence on Every Monday up to 7 occurences.

I am able to see only appointments in current month only (MonthView), when I navigate to next month on clicking right arrow,remaining appointments are not showing.

Can you suggest me what would be the problem.

-Rama
0
Peter
Telerik team
answered on 02 Jun 2008, 01:11 PM
Hello Rama,

We couldn't reproduce this problem. Please, test this scenario against our online example. Everything should work as expected. Please, give us additional information and step-by-step instructions how exactly you get to this problem.



Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Mark
Top achievements
Rank 2
answered on 26 Oct 2009, 01:07 AM
I have the exact same problem.  Not sure what's going one, but events only show up for the current month.  If I navigate to other months, they don't show up.
0
Mark
Top achievements
Rank 2
answered on 26 Oct 2009, 03:57 PM
Never mind, self resolved. :-)  I wasn't databinding in some of my methods where I should have been.
Tags
Scheduler
Asked by
Rama
Top achievements
Rank 1
Answers by
Rama
Top achievements
Rank 1
Peter
Telerik team
Mark
Top achievements
Rank 2
Share this question
or