You must Sign In to post a response.
  • Category: ASP.NET

    ModalPopupExtender not working?

    hi guys i'm facing problem when i have 615,642 etc value in my QueryString my ModalPopup is working fine but when i have 7648 in my querystring mdlResetPwd.Show(); is not working
    Any help will be appreciated thnx in advance

    here is my modal popup code
    <div class="grid_12">
    <asp:ModalPopupExtender ID="mdlResetPwd" TargetControlID="btnTrigger" runat="server"
    PopupControlID="pnlResetPwd" DropShadow="false" CancelControlID="btnClose"
    <asp:Button ID="btnTrigger" runat="server" Style="display: none" />
    <!-- Do not remove; triggers the modal popup -->

    <asp:Panel ID="pnlResetPwd" runat="server" Width="550px" Style="display: none">
    <!---------Popup Start----------------->
    <div style="float: right;">

    <div class="popup-bg">

    <div class="grid_12 profile-headingColor" runat="server">
    <h4>Reset Password
    <div style="text-align: right"></div>
    <table width="100%">
    <td colspan="2">
    <asp:Label ID="lbluserMsg" runat="server"></asp:Label>

    <asp:TextBox ID="txtpwdR" TextMode="Password" MaxLength="255" AutoCompleteType="Disabled" runat="server"></asp:TextBox>
    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txtpwdR"
    ToolTip="Password must be at least 8 characters containing at least 1 special, 1 upper case and 1 numeric value"
    ErrorMessage="Invalid Format" ValidationExpression="^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*(_|[^\w])).+$"
    Display="Dynamic">Invalid Format</asp:RegularExpressionValidator>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="txtpwdR"
    CssClass="Mandatory" ErrorMessage="*" ValidationGroup="user"></asp:RequiredFieldValidator>

    <td>Confirm Password:
    <asp:TextBox ID="txtConfPassword" TextMode="Password" MaxLength="255" AutoCompleteType="Disabled" runat="server"></asp:TextBox>
    <asp:CompareValidator ID="CompareValidator2" runat="server" ControlToCompare="txtPassword"
    ControlToValidate="txtConfPassword" ErrorMessage="Not Matched" ForeColor="Red"></asp:CompareValidator>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="txtConfPassword"
    CssClass="Mandatory" ErrorMessage="*" ValidationGroup="user"></asp:RequiredFieldValidator>
    <td colspan="2">

    <asp:Button ID="btnResetSave" runat="server" Text="Reset" OnClick="btnResetSave_OnClick"
    CssClass="ornageBtn" />
    <asp:Button ID="btnClose" runat="server" Text="Close" CssClass="ornageBtn" />
    here is my aspx.Cs Code
    protected void btnResetGo_Click(object wsender, EventArgs e)
    lbluserMsg.Text = string.Empty;
  • #765901

    for one querystring it is working, and for one querystring it is not working means the problem might be different, I suggest you to debug the code and check what is the exact issue and let us know with exact error details, so that we can help you better.

    Give respect to your work, Instead of trying to impress your boss.

    Blog :

Sign In to post your comments