11 Answers, 1 is accepted
You are right that currently our RadInput controls do not work with the ValidatorCalloutExtender from the Ajax Toolkit. I will inform our developers about this issue and they will hopefully fix it soon. Your Telerik points are updated for bringing this problem to our attention.
As another solution I can suggest you to use our RadInputManager. I have prepared a small sample to illustrate the functionality. You can modify it so that it meets your requirements and ensure everything is working properly. You can also read the following help article for more details about the RadInputManager.
I hope this helps.
Kind regards,
Pavel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.

I am glad to inform you that the issue with the callout extender popup not moving to the focused RadTextBox has been just fixed and changes will take effect in our next release, which would be Q3 2008 SP2. We still haven't scheduled a date for it, but it would be in about a month.
In the meantime, you can use the following workaround:
ASPX
<telerik:RadTextBox runat="server" ID="NameTextBox">
<ClientEvents OnFocus="FireFocusEvent" />
</telerik:RadTextBox>
Javascript
function FireFocusEvent(sender, args)
{
var eventName = "focus";
var eventSource = sender._hiddenElement;
if(!eventName || eventName == "" || !eventSource)
return;
if (eventSource.fireEvent && document.createEventObject)
{
var eventObject = document.createEventObject();
eventSource.fireEvent(String.format("on{0}", eventName), eventObject);
}
else if (eventSource.dispatchEvent)
{
var canBubble = true;
var eventObject = document.createEvent("HTMLEvents");
eventObject.initEvent(eventName, canBubble, true);
eventSource.dispatchEvent(eventObject);
}
}
Sincerely yours,
Dimo
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.

<telerik:RadNumericTextBox ID="rntProceeds" Type="Currency" runat="server" EnabledStyle-HorizontalAlign="Right"
Font-Size="Small" MaxLength="13" Width="150px" MinValue="0" FocusedStyle-PaddingRight="1px"
NumberFormat-AllowRounding="false" DecimalDigits="2">
<ClientEvents OnFocus="FireFocusEvent" />
</telerik:RadNumericTextBox>
<asp:RequiredFieldValidator ID="rfvProceeds" runat="server" ErrorMessage="Proceeds must have a valid value to calculate"
ControlToValidate="rntProceeds" Display="None">
</asp:RequiredFieldValidator>
<ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="rfvProceedsE" TargetControlID="rfvProceeds"
Width="350px" />
function FireFocusEvent(sender, args) {
//alert(["This Worked"]);
var eventName = "focus";
var eventSource = sender._hiddenElement;
if (!eventName || eventName == "" || !eventSource)
return
if (eventSource.fireEvent && document.createEventObject) {
var eventObject = document.createEventObject();
eventSource.fireEvent(String.format("on{0}", eventName), eventObject);
}
else if (eventSource.dispatchEvent) {
var canBubble = true;
var eventObject = document.createEvent("HTMLEvents");
eventObject.initEvent(eventName, canBubble, true);
eventSource.dispatchEvent(eventObject);
}
}
The Javascript code should be wrapped in a <script type="text/javascript"> tag. Please find attached a working example.
Kind regards,
Dimo
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.


Did you review the attached sample page? It can give you some clues what is the problem, if you compare it with your project.
I am afraid I can't think of another reason why the focus event is not fired. If the problem persists, please send us a complete sample web page, so that we can investigate locally. Thanks.
Greetings,
Dimo
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.

You are right. Please change the previously provided Javascript as follows:
old
var eventSource = sender._hiddenElement;
new
var eventSource = $get(sender._clientID);
All the best,
Dimo
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
