Displaying RecurrenceRule in RecurrenceEditor

6 posts, 0 answers
  1. John Hadjioannou
    John Hadjioannou avatar
    30 posts
    Member since:
    Dec 2005

    Posted 04 Aug 2010 Link to this post

    I seem to have trouble using the recurrence editor to show an existing rule ready for editing.

    For testing I am using:

     

    Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click

     

    RecurrenceEditor2.RecurrenceRuleText = TextBox1.Text

    TextBox2.Text =

    "Done"

     

     

    End Sub

     


    to copy the text from TextBox1 which holds the rule produced by another RecurrenceEditor (RecurrenceEditor1).  I expect RecurrenceEditor2 to show the same settings as RecurrenceEditor1, but it just shows it's initial "empty" state.

    Should I be doing anything else?

    Thanks
    John

  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 09 Aug 2010 Link to this post

    Hi John,

    This should work. I was able to get the desired functionality in a local test. Please, find it attached and let me know if there is more to your case that we should be aware of.


    Greetings,
    Peter
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. John Hadjioannou
    John Hadjioannou avatar
    30 posts
    Member since:
    Dec 2005

    Posted 17 Aug 2010 Link to this post

    Hi Peter

    I am struggling with this,  Code similar to yours works OK.  When I set a Textbox with one button click  and use another to set the RecurrenceEditor from the saved value, it doesn't, even though the saved value seems to be set as expected:

    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click 
        RecurrenceEditor1.StartDate = StartDate.SelectedDate.Value 
        TextBox1.Text = RecurrenceEditor1.RecurrenceRuleText
    End Sub

    Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click 
        ' This works:
        ' RecurrenceEditor2.RecurrenceRuleText = RecurrenceEditor1.RecurrenceRuleText 

        ' This also works: 
        ' TextBox1.Text = RecurrenceEditor1.RecurrenceRuleText 
        ' RecurrenceEditor2.RecurrenceRuleText = TextBox1.Text 

        ' This doesn't work, even though the value of TextBox1.Text displays the same as in the case above
        RecurrenceEditor2.RecurrenceRuleText = TextBox1.Text
    End Sub

    Any suggestions gratefully received

    John
  4. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 19 Aug 2010 Link to this post

    Hello John,

    Can you modify the sample that I sent you so that the error occurs and send it back to us via a support ticket?

    Thanks.
      Peter
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Mallikharjun Mulagundla
    Mallikharjun Mulagundla avatar
    28 posts
    Member since:
    Nov 2009

    Posted 09 Feb 2011 Link to this post

    Hi,

    I want to use only RadSchedulerRecurrenceEditor control. Where as in codebehind, I am unable to get that control. Let me know, If I miss anything. I am using  2010.1.309.35 version Telerik assembly.  

    Thanks, mulagundla
  6. Mallikharjun Mulagundla
    Mallikharjun Mulagundla avatar
    28 posts
    Member since:
    Nov 2009

    Posted 09 Feb 2011 Link to this post

    Hi,

    I took the latest version of Telerik. Now, I am able to get the RecurrenceEditor.

    Thanks, Mulagundla
Back to Top