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

Time Picker not taking any manual edit value

3 Answers 112 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
ARUN
Top achievements
Rank 1
ARUN asked on 23 Mar 2010, 10:52 AM
In my timepicker whenever I edit values manually and try to save the changes and check it on the client side,  it does not take the changed value and adheres to the previous value...
Am I missing some property here? 

I am currently using this time picker:

<

 

Rad:RadTimePicker ID="RadTimeClaimReported" EnableViewState="false" runat="server"

 

 

Width="85px" TabIndex="8" MinDate="1000-01-01" OnValueChanged="onDateTimeSelected" >

 

 

<DateInput runat="server" DateFormat="hh:mm tt" TabIndex="8" Width="80px" />

 

 

<ClientEvents OnPopupClosing="onDateTimeSelected" />

 

 

<TimeView runat="server" TimeFormat="hh:mm tt" TabIndex="8" />

 

 

<TimePopupButton TabIndex="8" />

 

 

</Rad:RadTimePicker>

onDateTimeSelected(sender, e)
{

 

 

var textbox = sender.get_dateInput();

 

 

if(textbox.get_enabled())

 

textbox.focus();

}


Regards
Arun


 

3 Answers, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 26 Mar 2010, 11:10 AM
Hi Arun,

I tried to replicate the described problem but to no avail. Could you please let us know how to reproduce the issue? A simple example or short instructions would be really helpful.  
Additionally I am sending you a simple example based on your code, please check it out and let me know what differs in your case.

Kind regards,
Radoslav
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
ARUN
Top achievements
Rank 1
answered on 26 Mar 2010, 02:01 PM
Hi Radoslav,

The problem is that the issue emerging out very inconsistently. But most of the time what happens is when I load a screen comprising RadDateTIme control with some values and then try to change the time value manually, and then  clicking with the mouse on some other control and getting back on the changed control via mouse click in the textbox(of same time field), the previous value pops out.

In addition, if you could help me to capture the mouse click in the textfield(of time) in RadDateTime or the event of, whenever I change the manually change the values in either of the fields' text (Date or Time fields).
Or any other idea to counter this issue.

Thanks
Arun
0
Radoslav
Telerik team
answered on 31 Mar 2010, 12:00 PM
Hello Arun,

The described problem is  very strange. We have not encountered it so far and we are not sure what could be the reason for experiencing the problem. Therefore we are looking forward to receiving a working project / live URL where we can reproduce the described issue.

With respect to your second question concerning capturing the mouse click in the text field:
You could not handle the mouse click on the text field, instead of that you could handle the onFocus client side event on the DateInput text field:
<DateInput ClientEvents-OnFocus="OnFocus" runat="server" DateFormat="hh:mm tt" TabIndex="8" Width="80px" />
<script type="text/javascript">
  function OnFocus(sender, eventArgs) {
     //...
  }
</script>


Sincerely yours,
Radoslav
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
ARUN
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
ARUN
Top achievements
Rank 1
Share this question
or