Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics 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
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old September 3rd, 2007, 12:39 PM
Authorized User
 
Join Date: Jun 2003
Location: New Bedford, ma, USA.
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default move next rows in DataGrid < > prop. not correct

Hi

In a DataGrid using Professional1,
to make the < > moving to new rows, at the bottom of the grid, I nead the list of properties and values to make it move.
It is not working, because I don't know which properties to make it work in this case vs2003. (or any would be fine)

I keep guessing but no luck, if I could set properites one by one till it made sense that would be nice.
I think it should be about five properties, guessing.
Please help.

Thanks in advance
  #2 (permalink)  
Old September 4th, 2007, 03:57 AM
Friend of Wrox
Points: 1,935, Level: 17
Points: 1,935, Level: 17 Points: 1,935, Level: 17 Points: 1,935, Level: 17
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2004
Location: United Kingdom
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
Default

To do paging in datagrid, follow the steps below:

1. Set AllowPaging = true;
2. Set Pagesize to your desired one.
3. Now on grid's PageIndexChanged event, write the below (sample code I have written)

protected void dg_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
        {
            dg.CurrentPageIndex = e.NewPageIndex;

            //Method to bind the datagrid
            BindGrid();
        }

Regards
Mike

To the world you might be one person,
but for someone you might be the whole world.
  #3 (permalink)  
Old September 4th, 2007, 06:23 PM
Authorized User
 
Join Date: Jun 2003
Location: New Bedford, ma, USA.
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you.
  #4 (permalink)  
Old September 5th, 2007, 10:17 AM
Friend of Wrox
Points: 1,935, Level: 17
Points: 1,935, Level: 17 Points: 1,935, Level: 17 Points: 1,935, Level: 17
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2004
Location: United Kingdom
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
Default

no need to say thanks, knowledge sharing is the best part of development (according to me).

Regards
Mike
===================================
 To the world you might be one person,
 but for someone you may be the whole world.
===================================
^^Though the above is non-technical, but there is no harm thinking emotionally.
 


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
Ch 8: <asp:image> inside <a> & ext.CSS (pg. 274) epc BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 1 July 12th, 2008 04:37 AM
Move Datagrid rows michael29 ASP.NET 1.0 and 1.1 Professional 1 April 24th, 2007 05:31 PM
<style> tags in a <body> vs. <div> bcat BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 1 March 27th, 2005 07:50 AM
<marquee><b>About CHAT App. in PHP4</b></marquee> Ramkrishna PHP How-To 1 September 11th, 2004 07:01 AM
<STRONG> vs <B> and <EM> vs <I> anshul HTML Code Clinic 12 September 1st, 2004 05:22 PM



All times are GMT -4. The time now is 11:39 AM.


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