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

OnSelectedDateChanged event not firing

1 Answer 93 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Saravanan
Top achievements
Rank 1
Saravanan asked on 20 Mar 2010, 07:23 AM

I have a RadTimePicker as one of the template columns in RadGrid. When i call the OnSelectedDateChanged event of the RadTimePicker it is not fired. I have set AutoPostBack also to true. But its not fired.

I have added the event handler to the control's declaration. Still it doesn't work. The control is inside the grid. So is there any other way to handle this?

My code:

        <EditItemTemplate >
            <telerik:RadTimePicker ID="txtStartTime" runat="server" OnSelectedDateChanged ="CheckDuration" AutoPostBack ="true" >
            </telerik:RadTimePicker>
        </EditItemTemplate>

    Protected Sub CheckDuration(ByVal sender As Object, ByVal e As Telerik.Web.UI.Calendar.SelectedDateChangedEventArgs)

    End Sub

 

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 25 Mar 2010, 07:19 AM
Hello Raghuraman,

I tested the setup, and the controls behaved as expected. Attached to this message, you will find the code, which I used for testing. I hope this gets you started properly.

Best wishes,
Yavor
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.
Tags
General Discussions
Asked by
Saravanan
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or