Hello,
I have recurrence editor only in one of my Custom Control. I am passing start and end date and retrieving recurrence rule.
and storing it into Database.
Now I am trying to add this rule to Scheduler from database.
I can see only first appointment.
In watch, at recurrence state I am getting Exception.
Please Help me out.
Thank You!
Ashish Sapkale
<ItemTemplate><asp:LinkButton ID="lnkRetrieve" runat="server" CausesValidation="false" CommandArgument='<%# cstr(Eval("id"))%>' CommandName="Retrieve" Text="Retrieve"></asp:LinkButton>
</ItemTemplate>
</telerik:GridTemplateColumn>
Private Sub grd_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles grd.ItemDataBound If TypeOf e.Item Is GridDataItem Then
Dim llnkRetrieve As New LinkButton
llnkRetrieve = CType(e.Item.FindControl("lnkRetrieve"), LinkButton)
llnkRetrieve.Attributes.Add("onclick", "return confirm('Are you sure you want to retrieve?');")
End If
End Sub
Protected
Sub grd_ItemCommand(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles grd.ItemCommand
If e.CommandName = "Retrieve" Then
dim CommandArgument As String() = e.CommandArgument.ToString().Split(",")
Session("ID") = CInt(CommandArgument(0))
Respose.Redirect(
"Page.aspx", True) End If
End Sub
<telerik:GridButtonColumn CommandArgument="{0}" CommandName="SendEmail" ConfirmText="Do you want to send an email to all residents about this service?" DataTextField="ID" DataTextFormatString="Send Email" Text="SendEmail" UniqueName="column2"></telerik:GridButtonColumn>