John Hadjioannou
Top achievements
Rank 1
John Hadjioannou
asked on 04 Aug 2010, 09:53 PM
I seem to have trouble using the recurrence editor to show an existing rule ready for editing.
For testing I am using:
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
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
5 Answers, 1 is accepted
0
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
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
0
John Hadjioannou
Top achievements
Rank 1
answered on 17 Aug 2010, 08:25 PM
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
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
0
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
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
0
Mallikharjun Mulagundla
Top achievements
Rank 1
answered on 09 Feb 2011, 08:55 AM
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
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
0
Mallikharjun Mulagundla
Top achievements
Rank 1
answered on 09 Feb 2011, 02:45 PM
Hi,
I took the latest version of Telerik. Now, I am able to get the RecurrenceEditor.
Thanks, Mulagundla
I took the latest version of Telerik. Now, I am able to get the RecurrenceEditor.
Thanks, Mulagundla