Hi there,
I am trying to create a custom class which inherits radtimepicker class, and overrides the SelectedDate property of the class. but i am stuck at how to use this class with the radtimepicker control and let that control use the override property.
why i want to do this is because we have lots for classic RadControls in our application now we are migrating them to the new ajax version, previously we were using asp:TextBox with JS to get the time value and to validate the value, with radtimepicker we get all the functionality we want without any extra JS :). the only problem is getting only the time value from the radtimepicker and not the date with that. while searching i found i can do that by using CType(radtimepicker .SelectedDate, DateTime).ToString("tt") but this will take a lot of time to implement :(. if i can just override the SelectedDate property and place the above .ToString("tt") with the GETTER it will be more easy :).
i hope i am able to explain my problem. any example code will be a great help.
Thanks
Nitesh Monga
I am trying to create a custom class which inherits radtimepicker class, and overrides the SelectedDate property of the class. but i am stuck at how to use this class with the radtimepicker control and let that control use the override property.
why i want to do this is because we have lots for classic RadControls in our application now we are migrating them to the new ajax version, previously we were using asp:TextBox with JS to get the time value and to validate the value, with radtimepicker we get all the functionality we want without any extra JS :). the only problem is getting only the time value from the radtimepicker and not the date with that. while searching i found i can do that by using CType(radtimepicker .SelectedDate, DateTime).ToString("tt") but this will take a lot of time to implement :(. if i can just override the SelectedDate property and place the above .ToString("tt") with the GETTER it will be more easy :).
i hope i am able to explain my problem. any example code will be a great help.
Thanks
Nitesh Monga