Hi Telerik,
I have found a bug in the RadDock. It was working in a previous version of the telerik controls but not the new version.
See my two example projects in the solution I have uploaded to my webspace. (I have deleted the telerik DLLs from the bin folder so you will need to re-reference them)
http://www.revilloc.com/FocusProofSln.zip
The project FocusProof uses telerik version 2013.1.319.40
The project FocusWorks uses telerik version 2011.1.519.40
However, as 2011 doesn't work properly in IE 10, we need the later version.
I have proved that the project using 2013 fails and the one using 2011 works in Chrome, so please use chrome as the test browser.
How to prove the problem.
Run FocusWorks.
Edit the textbox on the left side. IMPORTANT... Leave the cursor in the textbox. Do not move, click or tab out of it. Now, grab the dock item from the right hand side and drag below the dock on the left.
You will then see a change on the screen in the case of the label showing what is in the text box.
Now... repeat with FocusProof.
You will NOT see the label.
The text changed event does not fire.
You will note that both projects are identical except for the namespaces and the referenced versions of telerik.
(Incidentally, I did also have the issue with the earlier version of telerik released this quarter).
I look forward to hearing from you. I really need a way to make this work as it was working in the previous version of telerik.
I have found a bug in the RadDock. It was working in a previous version of the telerik controls but not the new version.
See my two example projects in the solution I have uploaded to my webspace. (I have deleted the telerik DLLs from the bin folder so you will need to re-reference them)
http://www.revilloc.com/FocusProofSln.zip
The project FocusProof uses telerik version 2013.1.319.40
The project FocusWorks uses telerik version 2011.1.519.40
However, as 2011 doesn't work properly in IE 10, we need the later version.
I have proved that the project using 2013 fails and the one using 2011 works in Chrome, so please use chrome as the test browser.
How to prove the problem.
Run FocusWorks.
Edit the textbox on the left side. IMPORTANT... Leave the cursor in the textbox. Do not move, click or tab out of it. Now, grab the dock item from the right hand side and drag below the dock on the left.
You will then see a change on the screen in the case of the label showing what is in the text box.
Now... repeat with FocusProof.
You will NOT see the label.
The text changed event does not fire.
You will note that both projects are identical except for the namespaces and the referenced versions of telerik.
(Incidentally, I did also have the issue with the earlier version of telerik released this quarter).
I look forward to hearing from you. I really need a way to make this work as it was working in the previous version of telerik.
7 Answers, 1 is accepted
0
David
Top achievements
Rank 1
answered on 27 Mar 2013, 11:32 AM
I have also checked that it fails in latest build... 2013.1.326.40 (and it does fail).
0
Hello David,
The behavior you described is a known limitation which occurs when a RadTextBox is used within RadDock. You can avoid it by ensuring that the text box is blurred when the dock initiates postback. The following code sample shows how to do this.
1. A handler for the OnClientDragStart event of the dragged dock is set:
2. In the event handler the active text box is blurred:
Regards,
Slav
the Telerik team
The behavior you described is a known limitation which occurs when a RadTextBox is used within RadDock. You can avoid it by ensuring that the text box is blurred when the dock initiates postback. The following code sample shows how to do this.
1. A handler for the OnClientDragStart event of the dragged dock is set:
<
telerik:RadDock
ID
=
"uxRadDockC"
runat
=
"server"
Title
=
"Stuff"
AutoPostBack
=
"true"
CommandsAutoPostBack
=
"true"
OnClientDragStart
=
"DragStart"
>
<
ContentTemplate
>
<
telerik:RadTextBox
ID
=
"uxRtb"
runat
=
"server"
Text
=
"This is the text"
OnTextChanged
=
"uxRtb_TextChanged"
>
</
telerik:RadTextBox
>
</
ContentTemplate
>
</
telerik:RadDock
>
2. In the event handler the active text box is blurred:
<script type=
"text/javascript"
>
function
DragStart(sender, args) {
var
activeEl = document.activeElement;
if
(activeEl && activeEl.control && Telerik.Web.UI.RadTextBox.isInstanceOfType(activeEl.control))
activeEl.control.blur();
}
</script>
Regards,
Slav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
David
Top achievements
Rank 1
answered on 29 Mar 2013, 06:50 PM
Forgive me for asking, but how can it be a "known limitation" when it was clearly working with the previous version of telerik as demonstrated in my two examples?
This to me is either a bug or a removal of a feature.
This to me is either a bug or a removal of a feature.
0
Hi David,
Indeed, the value of the RadTextBox should be passed to the server-side when a RadDock initiates the postback. This issue is fixed and the solution is included in the Q1 2013 SP1 release of RadControls for ASP.NET AJAX which is now available.
Regards,
Slav
the Telerik team
Indeed, the value of the RadTextBox should be passed to the server-side when a RadDock initiates the postback. This issue is fixed and the solution is included in the Q1 2013 SP1 release of RadControls for ASP.NET AJAX which is now available.
Regards,
Slav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
David
Top achievements
Rank 1
answered on 03 Apr 2013, 03:34 PM
Hi Telerik,
So it is acknowledged as a bug?
Do I earn any points for this?
I will get the latest version and let you know if it now works for me.
So it is acknowledged as a bug?
Do I earn any points for this?
I will get the latest version and let you know if it now works for me.
0
David
Top achievements
Rank 1
answered on 04 Apr 2013, 12:53 PM
Just to let you know, this is working now.
0
Hello David,
I am very happy that your problem is now resolved.
Telerik points are provided for reporting new issues, while in this case the behavior with the RadTextBox was already known.
Regards,
Slav
the Telerik team
I am very happy that your problem is now resolved.
Telerik points are provided for reporting new issues, while in this case the behavior with the RadTextBox was already known.
Regards,
Slav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.