Click here to Skip to main content
15,884,388 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i m using ajax ModalPopupExtender with ValidatorCalloutExtender
problem is the position .I mean ValidatorCalloutExtender open the message box behind the ModalPopupExtender ...
So i could i show it on up the ModalPopupExtender not to let it go behind??
same thing was happening with ajax calender so i have managed it by calling this function "calendarShown"..
How could i manage ValidatorCalloutExtender posisiotn
Help dude ;) ;) ;)
Posted

C#



XML
<td style="width: 150px">
                               <asp:Label ID="lblTagCode" runat="server" CssClass="Form_Label" Text="RFIDTag Code: "></asp:Label>
                           </td>
                           <td>
                               <asp:TextBox ID="txtRfidTagCode" CssClass="Form_TextBox" MaxLength="50" runat="server"></asp:TextBox>
                               <asp:RequiredFieldValidator ControlToValidate="txtRfidTagCode" Display="None" ValidationGroup="Form"
                                   ID="rfvTagCode" runat="server" ErrorMessage="<b>Required Field Missing</b><br />RfidTag code is required."></asp:RequiredFieldValidator>
                               <asp:ValidatorCalloutExtender runat="Server" ID="vceTagCode" TargetControlID="rfvTagCode"
                                   CssClass="CustomValidatorCalloutStyle" HighlightCssClass="validatorCalloutHighlight" />
                               <asp:FilteredTextBoxExtender ID="fteTagCode" TargetControlID="txtRfidTagCode" FilterType="LowercaseLetters,Numbers,UppercaseLetters"
                                   runat="server">
                               </asp:FilteredTextBoxExtender>
                           </td>



And How i will display my message in behind Textbox when i scrill down the page
 
Share this answer
 
This is because of a bug in the latest AJAXControlTookit.

If you don't mind modifying the code yourself, get the source and open up PopupBehaviour.debug.js.

Cruise down to the function setupPopup.

There is a line something like:

element.style.zIndex = 1000;


Change that number to something larger like 100002 (2 because in a ModalPopup extender the background is set to 100000 and the popup itself is 100001.
 
Share this answer
 
Comments
kt180 9-Jul-10 9:37am    
Reason for my vote of 1
Ca ne fonctionne pas chez moi
navz999 29-Jun-11 7:11am    
Didn't work for me ! :(
kuldeepjanu 5-Oct-11 4:22am    
ghmjhjm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900