Click here to Skip to main content


QuestionWCF REST hosted inside ASP.NET WebForms app - 400 on production server PinmemberRichardGrimmer3-Feb-13 22:35 
QuestionTwitter connect rest api v1.1 PinmemberRockerr Black3-Feb-13 21:55 
AnswerRe: Twitter connect rest api v1.1 PinmvpSandeep Mewara3-Feb-13 22:42 
QuestionProblem with popup confirmation page using ModalExtender PinmemberNafiseh Salmani2-Feb-13 20:05 
Hey, can anybody help me with this? I have the following code, I put the pop-up related part into an empty webform and that works fine, but in the form that I really want to have that, it doesn't work! there is no error showing what is wrong with this! (the script manager is on the master page). Any note or comments to help me to figure out what is wrong with it?!
here is the code:

/*for user code pop-up */
.confirm-dialog .base
    BORDER-TOP: #ddd 1px solid;BACKGROUND: url(img/base.png) no-repeat left bottom;
    PADDING-TOP: 4px;TEXT-ALIGN: center;

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<asp:Content ID="Content2" ContentPlaceHolderID="headerContent" runat="server">
<script type="text/javascript">
    function Popup()
    var modalPopupBehavior = $find('ModalPopupBehavior1');;
    <style type="text/css">
            margin-bottom: 0px;
<asp:Content ID="Content1" ContentPlaceHolderID="phBody" runat="server">
    <div class="PageDesc">
        <asp:Localize ID="userCodesPageDescr" runat="server" EnableViewState="False"
            meta:resourcekey="userCodesPageDescrResource1" Text="User Codes enable individual users to arm and
        disarm your security system. Check 'Security Panel Access' to give a user local access so they can arm/disarm
        through the system keypad. Uncheck it to remove local access temporarily - the code will still show
        on the website. (Note that user codes must be 4 digits. Codes 0000 and 0001 are not allowed.)"></asp:Localize>
    <div class="PageDesc" align="right">
    <asp:LinkButton ID="lbtnRequestUserCode" runat="server" OnClientClick="Popup()"
             CausesValidation="False">Request Panel User Codes</asp:LinkButton>
    <asp:Panel ID="confirmPanel" runat="server" BackColor="White" Width="325px"  CssClass="confirm-dialog"
    <div style="background-color: #EEEEEE; font-weight: bold; padding: 5px 5px 5px 5px;">
        <asp:Localize ID="Localize1" runat="server"
            meta:resourceKey="locConfirmDeleteRc1" Text="Request User Codes from Panel"></asp:Localize></div><br />
    <div style="padding: 0px 10px 15px 10px;">
        <asp:Localize ID="Localize2" runat="server"
            Text="Are you sure you would like to replace the website user codes with the user codes from the panel?"></asp:Localize> <br /><br />
        <asp:Localize ID="Localize3" runat="server"
            Text="&lt;b&gt;Note: Codes uploaded from the panel will overwrite those in the website if they are out of sync.&lt;/b&gt; "></asp:Localize> <br /><br />
       <br /><br />
        <table width="100%">
                <td style="text-align: center;">
                    <asp:Button ID="butConfirmYes" runat="server" Text="Countinue" CssClass="styledbutton"
                        meta:resourcekey="butCountinue_userCode1"  OnClientClick="Popup();"/>
                <td style="text-align: center;">
                    <asp:Button ID="butCancel" runat="server" Text=" Cancel " CssClass="styledbutton" meta:resourcekey="butCancel_userCode" />
<asp:Panel ID="pnlModal" runat="server">
<ajax:ModalPopupExtender ID="modalPopup" runat="server" BehaviorID="ModalPopupBehavior1"
    CancelControlID="butConfirmNo" OkControlID="butConfirmYes"
    PopupControlID="confirmPanel" TargetControlID="lbtnRequestUserCode"
    DynamicServicePath="" Enabled="True"  BackgroundCssClass="modalBackground" />

    <uc1:UserCodesControl ID="usercodes" runat="server" />
    <asp:Panel ID="pnlCSNote" runat="server" Visible="False" CssClass="PageDesc"
        style="margin-top: 10px" meta:resourcekey="pnlCSNoteResource1">
        <p><span style="font-weight: bold">
                <asp:Localize ID="labelNote" runat="server" EnableViewState="False"
                meta:resourcekey="labelNoteResource1" Text="Note:"></asp:Localize>
            <asp:Localize ID="userCodesNote" runat="server" EnableViewState="False"
                meta:resourcekey="userCodesNoteResource1" Text="The changes you make on this page will not update the response information
            in the central monitoring station. In order to make changes to the response information
            stored at the central station, which is used to respond to alarm signals from your
            account, you should contact your alarm dealer or the central station directly."></asp:Localize>


AnswerRe: Problem with popup confirmation page using ModalExtender PinmemberBlikkies3-Feb-13 23:14 
GeneralRe: Problem with popup confirmation page using ModalExtender PinmemberNafiseh Salmani4-Feb-13 5:30 
GeneralRe: Problem with popup confirmation page using ModalExtender PinmemberNafiseh Salmani4-Feb-13 5:53 
Questionrelated to itext sharp PinmemberMember 97985411-Feb-13 20:31 
AnswerRe: related to itext sharp PinmemberAbhishek Pant2-Feb-13 0:31 
GeneralRe: related to itext sharp PinmemberMember 97985414-Feb-13 20:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 26 Nov 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid