Problem with ValidatorCalloutExtender

Last post 09-27-2007 11:59 AM by jgarro. 3 replies.

Sort Posts:

  • Problem with ValidatorCalloutExtender

    03-30-2007, 8:08 AM
    • Member
      12 point Member
    • KHoffmann
    • Member since 11-21-2005, 8:45 PM
    • Germany
    • Posts 5

    Hello,

    In the screenshot below you see that my ValidatorCalloutExtender displays the error message at a wrong place. I think there is a problem with scrolling.

    When I hide the big textbox there is no scroll bar for scrolling up and down. In this case the error message will display at the right place, next the yellow textbox.

     AJAX Problem

    Do you have any solution for this problem?

    Thanks

    Kevin

  • Re: Problem with ValidatorCalloutExtender

    03-30-2007, 12:19 PM
    • Member
      36 point Member
    • jackbond
    • Member since 03-21-2007, 7:57 PM
    • Posts 9
    Could you post the page's code. As a wild guess, which doctype declaration are you using? The toolkit's controls will sometimes behave very oddly if IE falls back into quirks mode. Does it display correctly in Firefox?
  • Re: Problem with ValidatorCalloutExtender

    04-02-2007, 2:36 AM
    • Member
      12 point Member
    • KHoffmann
    • Member since 11-21-2005, 8:45 PM
    • Germany
    • Posts 5

    Hello,

    I tested it under Firefox and it works fine. I have no doctype declaration in my *.ascx-File. Here is the "ValidatorCallout" part:

    <%@ Control Language="C#" Inherits="YourCompany.Modules.lpBugreports.EditlpBugreports" CodeFile="EditlpBugreports.ascx.cs" AutoEventWireup="true" %>
    <%@ Register TagPrefix="ajax" Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" %>v
    <html>
        <head></head>
        <body>
        <table align="left">
          ...
          <tr>
            <td valign="top">
               <asp:UpdatePanel ID="UpdatePanel5" runat="server">
               <ContentTemplate>
                 <asp:TextBox ID="txbVersionsnummer" runat="server" CssClass="NormalTextbox"></asp:TextBox>
                 <asp:RequiredFieldValidator ID="reqVersionsnummer" runat="server" CssClass="NormalRed"
                   Display="None" resourcekey="reqVersionsnummer.ErrorMessage" ControlToValidate="txbVersionsnummer"></asp:RequiredFieldValidator>
                 <ajax:ValidatorCalloutExtender ID="ValidationExtender1" runat="server" TargetControlID="reqVersionsnummer"
                   Width="150" WarningIconImageUrl="~\images\warning.png" HighlightCssClass="validatorCalloutHighlight">
                 </ajax:ValidatorCalloutExtender>
               </ContentTemplate>
               </asp:UpdatePanel>
             </td>
           </tr>
           ...
         </table>
        </body>
    </html>
    Kevin
  • Re: Problem with ValidatorCalloutExtender

    09-27-2007, 11:59 AM
    • Member
      7 point Member
    • jgarro
    • Member since 07-30-2004, 2:02 PM
    • Posts 3

    Any Updates on this issue?  I'm having the same problem.

Page 1 of 1 (4 items)