DataBinding issue

9 posts, 0 answers
  1. Rama
    Rama avatar
    20 posts
    Member since:
    Apr 2008

    Posted 28 May 2008 Link to this post

    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

  2. Rama
    Rama avatar
    20 posts
    Member since:
    Apr 2008

    Posted 28 May 2008 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 29 May 2008 Link to this post

    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
  5. Rama
    Rama avatar
    20 posts
    Member since:
    Apr 2008

    Posted 29 May 2008 Link to this post

    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
  6. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 30 May 2008 Link to this post

    Hi Rama,

    Please, set StartEditingInAdvancedForm="true".


    Peter
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  7. Rama
    Rama avatar
    20 posts
    Member since:
    Apr 2008

    Posted 30 May 2008 Link to this post

    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
  8. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 02 Jun 2008 Link to this post

    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
  9. Mark
    Mark avatar
    79 posts
    Member since:
    Apr 2007

    Posted 25 Oct 2009 Link to this post

    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.
  10. Mark
    Mark avatar
    79 posts
    Member since:
    Apr 2007

    Posted 26 Oct 2009 Link to this post

    Never mind, self resolved. :-)  I wasn't databinding in some of my methods where I should have been.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017