Wrox Programmer Forums
|
BOOK: Beginning JavaScript
This is the forum to discuss the Wrox book Beginning JavaScript by Paul Wilton; ISBN: 9780764544057
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning JavaScript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 20th, 2008, 03:56 PM
Registered User
 
Join Date: Jun 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is the Panel the modalPopup is in:

Code:
                    <asp:Button ID="btnHiddenSearch" runat="Server" Style="display:none" />


                    <ajaxtoolkit:modalpopupextender id="mpeSearch" runat="server" backgroundcssclass="modalBackground" popupcontrolid="pnlSearch" targetcontrolid="btnHiddenSearch"></ajaxtoolkit:modalpopupextender>

                    <asp:Panel ID="pnlSearch" runat="server" CssClass="modalBox" Style="display:none;" Width="500px">
                        <asp:Panel ID="pnlSearchCaption" runat="server" CssClass="caption" Style="margin-bottom: 10px; cursor: hand;">
                            Search
                        </asp:Panel>
                       <div class="divCol">
                            Last Name</div>
                        <div class="divColLast">
                            <asp:TextBox ID="txtLName" runat="server"></asp:TextBox>
                        </div>
                        <div class="clearer">
                        </div>
                        <div class="divCol">
                            First Name</div>
                        <div class="divColLast">
                            <asp:TextBox ID="txtFName" runat="server"></asp:TextBox>
                        </div>
                        <div class="clearer">
                        </div>
                        <div class="divCenter">
                            <asp:Button ID="btnFind" runat="server" Text="Search" UseSubmitBehavior="false" onClientClick = "this.disabled=true; this.value = 'Searching...';" OnClick = "btnFind_Click"/> &nbsp; <asp:Button ID = "btnSearchCancel" runat = "server" Text = "Cancel" OnClick = "btnSearchCancel_Click" />
                        </div>
                        <div class = "divCenter">
                            <asp:DataGrid Width = "75%" ID="dgv" runat="server" AutoGenerateColumns="false" PagerStyle-HorizontalAlign="center" PagerStyle-PrevPageText="Prev" OnPageIndexChanged="dgv_Paging" PagerStyle-NextPageText="Next"  AllowPaging="True" AllowSorting="True" OnItemCommand="ReportSession"  CssClass="Header">
                               <Columns>
                                     <asp:ButtonColumn DataTextField="Name" ItemStyle-Width="30%" HeaderText="Name" HeaderStyle-HorizontalAlign="center" ItemStyle-VerticalAlign="middle" CommandName="SetSession" ></asp:ButtonColumn>
                               </Columns>
                           </asp:DataGrid><asp:Label ID="lblPages" runat="server" Visible="False"/>
                           <br />
                           <asp:Label ID="lblMsg" runat="server" Font-Bold="True" Font-Size="Larger" Text="No Students Found.  Please Search Again." Visible="False"/>

                        </div>
                    </asp:Panel>
This is the Code-Behind:

Code:
    public void ibtnSearch_Click(object sender, EventArgs e)
    {
        upFilter.Update();
        mpeSearch.Show();
    }
I hope this helps.

~Candi
 
Old June 20th, 2008, 05:36 PM
Friend of Wrox
 
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts
Default

Sorry, can't help you further.

I'm *NOT* an ASP.NET person. And certainly have no experience with ASP.NET's Ajax stuff.

That's why I asked you for the *HTML* (from VIEW-->>SOURCE).

You may want to post this to an ASP.NET forum, if you need help with the .NET-ish aspects.





Similar Threads
Thread Thread Starter Forum Replies Last Post
getting a return value from setTimeout() peirix Javascript 9 November 28th, 2008 06:22 PM
setTimeOut with a zero parameter? calgarychinese ASP.NET 1.0 and 1.1 Basics 3 April 5th, 2007 08:44 PM
setTimeout second to Minute mateenmohd Javascript 6 November 28th, 2004 02:12 AM
Implementing setTimeout causing problems sherbir Javascript 1 August 12th, 2004 09:47 AM
Using setTimeout PortGuy Javascript 7 March 25th, 2004 02:06 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.