Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > BOOK: Beginning JavaScript
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #11 (permalink)  
Old June 20th, 2008, 04:56 PM
Registered User
 
Join Date: Jun 2008
Location: Phoenix, Az, USA.
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
Reply With Quote
  #12 (permalink)  
Old June 20th, 2008, 06:36 PM
Friend of Wrox
 
Join Date: Jun 2008
Location: Snohomish, WA, USA
Posts: 1,652
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.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 09: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 10:47 AM
Using setTimeout PortGuy Javascript 7 March 25th, 2004 02:06 PM



All times are GMT -4. The time now is 01:46 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.