Click here to Skip to main content
11,648,094 members (69,847 online)
   

ASP.NET

 
QuestionGridview Pin
Murugavel Sadagopan4-Feb-13 18:21
memberMurugavel Sadagopan4-Feb-13 18:21 
AnswerRe: Gridview Pin
Dineshshp4-Feb-13 18:43
memberDineshshp4-Feb-13 18:43 
AnswerRe: Gridview Pin
Sandeep Mewara4-Feb-13 18:44
mvpSandeep Mewara4-Feb-13 18:44 
QuestionAs used in ASP MORRIS.JS. Net? Help me! Pin
Garcia AlfredoS4-Feb-13 13:06
memberGarcia AlfredoS4-Feb-13 13:06 
AnswerRe: As used in ASP MORRIS.JS. Net? Help me! Pin
Sandeep Mewara4-Feb-13 15:56
mvpSandeep Mewara4-Feb-13 15:56 
GeneralRe: As used in ASP MORRIS.JS. Net? Help me! Pin
Garcia AlfredoS5-Feb-13 1:56
memberGarcia AlfredoS5-Feb-13 1:56 
QuestionHow to fetch all unique/distinct values in a GridView Pin
Andy Tek4-Feb-13 13:05
memberAndy Tek4-Feb-13 13:05 
AnswerRe: How to fetch all unique/distinct values in a GridView Pin
Sandeep Mewara4-Feb-13 15:46
mvpSandeep Mewara4-Feb-13 15:46 
QuestionHiding the physical path of a file in downloading Pin
Majid Shahabfar4-Feb-13 10:27
memberMajid Shahabfar4-Feb-13 10:27 
QuestionOne time Login needed.. Pin
ashu20013-Feb-13 21:48
memberashu20013-Feb-13 21:48 
QuestionWCF REST hosted inside ASP.NET WebForms app - 400 on production server Pin
RichardGrimmer3-Feb-13 21:35
memberRichardGrimmer3-Feb-13 21:35 
QuestionTwitter connect rest api v1.1 Pin
Rockerr Black3-Feb-13 20:55
memberRockerr Black3-Feb-13 20:55 
AnswerRe: Twitter connect rest api v1.1 Pin
Sandeep Mewara3-Feb-13 21:42
mvpSandeep Mewara3-Feb-13 21:42 
QuestionProblem with popup confirmation page using ModalExtender Pin
Nafiseh Salmani2-Feb-13 19:05
memberNafiseh Salmani2-Feb-13 19: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-BOTTOM: 4px;MARGIN-LEFT: -11px;MARGIN-RIGHT: -11px;
    PADDING-TOP: 4px;TEXT-ALIGN: center;
}
.modalBackground
{
    background-color:Gray;filter:alpha(opacity=70);opacity:0.7;
}
 

 
<%@ 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');
    modalPopupBehavior.show();
}
</script>
    <style type="text/css">
        .confirm-dialog
        {
            margin-bottom: 0px;
        }
    </style>
 
</asp:Content>
<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>
    <div class="PageDesc" align="right">
    <asp:LinkButton ID="lbtnRequestUserCode" runat="server" OnClientClick="Popup()"
                                meta:resourcekey="lbtnRequestUserCodeResource1"
             CausesValidation="False">Request Panel User Codes</asp:LinkButton>
    </div>
   <div>
 
    <asp:Panel ID="confirmPanel" runat="server" BackColor="White" Width="325px"  CssClass="confirm-dialog"
    meta:resourcekey="confirmPanelResource1">
    <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"
            meta:resourceKey="ConfirmDeleteTextRc1"
            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"
            meta:resourceKey="ConfirmDeleteTextRc1"
            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%">
            <tr>
                <td style="text-align: center;">
                    <asp:Button ID="butConfirmYes" runat="server" Text="Countinue" CssClass="styledbutton"
                        meta:resourcekey="butCountinue_userCode1"  OnClientClick="Popup();"/>
               </td>
                <td>&nbsp;</td>
                <td style="text-align: center;">
                    <asp:Button ID="butCancel" runat="server" Text=" Cancel " CssClass="styledbutton" meta:resourcekey="butCancel_userCode" />
                </td>
            </tr>
        </table>
    </div>
</asp:Panel>
<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" />
 </asp:Panel>
    </div>
 

    <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>
           </span>
            <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>
            </p>
    </asp:Panel>
 

 
</asp:Content>

AnswerRe: Problem with popup confirmation page using ModalExtender Pin
Blikkies3-Feb-13 22:14
memberBlikkies3-Feb-13 22:14 
GeneralRe: Problem with popup confirmation page using ModalExtender Pin
Nafiseh Salmani4-Feb-13 4:30
memberNafiseh Salmani4-Feb-13 4:30 
GeneralRe: Problem with popup confirmation page using ModalExtender Pin
Nafiseh Salmani4-Feb-13 4:53
memberNafiseh Salmani4-Feb-13 4:53 
Questionrelated to itext sharp Pin
Member 97985411-Feb-13 19:31
memberMember 97985411-Feb-13 19:31 
AnswerRe: related to itext sharp Pin
Abhishek Pant1-Feb-13 23:31
memberAbhishek Pant1-Feb-13 23:31 
GeneralRe: related to itext sharp Pin
Member 97985414-Feb-13 19:30
memberMember 97985414-Feb-13 19:30 
GeneralRe: related to itext sharp Pin
Abhishek Pant4-Feb-13 21:36
memberAbhishek Pant4-Feb-13 21:36 
GeneralRe: related to itext sharp Pin
Member 97985416-Feb-13 17:41
memberMember 97985416-Feb-13 17:41 
GeneralRe: related to itext sharp Pin
Abhishek Pant6-Feb-13 18:09
memberAbhishek Pant6-Feb-13 18:09 
GeneralRe: related to itext sharp Pin
Member 97985416-Feb-13 19:21
memberMember 97985416-Feb-13 19:21 
GeneralRe: related to itext sharp Pin
Member 97985416-Feb-13 18:08
memberMember 97985416-Feb-13 18:08 
Answerrelated to itext sharp-iText use for commercial purpose Pin
Abhishek Pant6-Feb-13 19:07
memberAbhishek Pant6-Feb-13 19:07 
AnswerRe: related to itext sharp Pin
Sandeep Mewara2-Feb-13 0:24
mvpSandeep Mewara2-Feb-13 0:24 
QuestionDisplay image using handler.ashx what wrong my code Pin
Michael511931-Jan-13 20:43
memberMichael511931-Jan-13 20:43 
AnswerRe: Display image using handler.ashx what wrong my code Pin
Richard Deeming1-Feb-13 2:17
memberRichard Deeming1-Feb-13 2:17 
GeneralRe: Display image using handler.ashx what wrong my code Pin
Michael51191-Feb-13 4:16
memberMichael51191-Feb-13 4:16 
GeneralRe: Display image using handler.ashx what wrong my code Pin
Richard Deeming1-Feb-13 5:36
memberRichard Deeming1-Feb-13 5:36 
GeneralRe: Display image using handler.ashx what wrong my code Pin
Michael51191-Feb-13 5:58
memberMichael51191-Feb-13 5:58 
GeneralRe: Display image using handler.ashx what wrong my code Pin
Michael51191-Feb-13 7:03
memberMichael51191-Feb-13 7:03 
GeneralRe: Display image using handler.ashx what wrong my code Pin
Richard Deeming1-Feb-13 8:12
memberRichard Deeming1-Feb-13 8:12 
GeneralRe: Display image using handler.ashx what wrong my code Pin
Michael51198-Feb-13 20:10
memberMichael51198-Feb-13 20:10 
GeneralRe: Display image using handler.ashx what wrong my code Pin
Richard Deeming11-Feb-13 1:29
memberRichard Deeming11-Feb-13 1:29 
QuestionImagesIn Gridview Pin
Member 941611331-Jan-13 20:13
memberMember 941611331-Jan-13 20:13 
QuestionImporting Excel into Gridview, doesn't import all rows Pin
Craist31-Jan-13 8:29
memberCraist31-Jan-13 8:29 
AnswerRe: Importing Excel into Gridview, doesn't import all rows Pin
Craist31-Jan-13 9:22
memberCraist31-Jan-13 9:22 
QuestionWeb Pages Authentication Pin
Jassim Rahma30-Jan-13 21:22
memberJassim Rahma30-Jan-13 21:22 
AnswerRe: Web Pages Authentication Pin
Rahul Rajat Singh30-Jan-13 22:14
mvpRahul Rajat Singh30-Jan-13 22:14 
QuestionAuthentication with database MVC4 Pin
AghaKhan30-Jan-13 20:44
memberAghaKhan30-Jan-13 20:44 
QuestionAutocomplete List hides behind Grid's horizontal scrollbar Pin
Ponka_developer30-Jan-13 12:01
memberPonka_developer30-Jan-13 12:01 
AnswerRe: Autocomplete List hides behind Grid's horizontal scrollbar Pin
jkirkerx30-Jan-13 12:50
memberjkirkerx30-Jan-13 12:50 
QuestionMVC 4 & jquery Pin
Collin Jasnoch29-Jan-13 4:39
memberCollin Jasnoch29-Jan-13 4:39 
QuestionHow to create and get the user input in alert message in asp.net webservice Pin
Rocky2327-Jan-13 22:22
memberRocky2327-Jan-13 22:22 
AnswerRe: How to create and get the user input in alert message in asp.net webservice Pin
Sandeep Mewara27-Jan-13 23:28
mvpSandeep Mewara27-Jan-13 23:28 
AnswerRe: How to create and get the user input in alert message in asp.net webservice Pin
Ali Al Omairi(Abu AlHassan)28-Jan-13 3:41
memberAli Al Omairi(Abu AlHassan)28-Jan-13 3:41 
GeneralRe: How to create and get the user input in alert message in asp.net webservice Pin
Rocky2328-Jan-13 22:13
memberRocky2328-Jan-13 22:13 
GeneralRe: How to create and get the user input in alert message in asp.net webservice Pin
Ali Al Omairi(Abu AlHassan)28-Jan-13 22:54
memberAli Al Omairi(Abu AlHassan)28-Jan-13 22:54 

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.150804.4 | Last Updated 3 Aug 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid