Migrate DataGrid .NEt 1.1 to .NEt 2.0

Hi

I has just convert my ASP.NET web application from .NET 1.1 to .NEt 2.0

so far there is no problem but my datagrid seems to be acting really weird

my datagrid has 3 columns and have paging enabled.

When there is one/two row of data.

The paging(which shows us the number of page) seems to have a column span of 1)

 If i click on the second row of data.... the paging will have the column span of 3

This does not happen if there is more than 2 data 

 please go to the link for better clarification

http://yingleekit.multiply.com/photos/album/1/work#1

http://yingleekit.multiply.com/photos/album/1/work#2

anyone has any idea whts wrong?

cheers

 

0 startanew 4/7/2008 9:22:49 AM

Have you look at the html source for each circumstance? It might help to explain it. Also have you considered converting your datagrid to a gridview now that you have moved to asp.net 2. It's far more preferable to the datagrid.


Brian O'Connell (MCAD) - http://www.systemdotweb.com
0 BrianOConnell 4/7/2008 10:24:41 AM

hi

thanks for the reply.

Actually , truth be told , i cant change the datagrid to gridview due to certain reason. ;p

yep, i have look into the html generated, it seems that for the first screenshot , the tag does not have span=3 on it

but on the second screenshot, there is span=3 on the tag..

but the funny part is that, if there is more than 2 records, this situation does not happen..

Is this one of datagrid bugs which we r not aware of ..

Thank in advance

cheers

 

 

0 startanew 4/8/2008 1:31:31 AM

It could be a bug. It's a very long time since I used a datagrid.


Brian O'Connell (MCAD) - http://www.systemdotweb.com
0 BrianOConnell 4/8/2008 4:26:03 PM

I can only see the color is different.

 

0 ywds2222 4/10/2008 10:26:24 AM

-->It could be a bug. It's a very long time since I used a datagrid.

 If it is ..does M'soft nkow about this?

 -->I can only see the color is different.

if u noticed :p...the color difference is in the page display...

 

0 startanew 4/10/2008 11:24:44 AM
Reply:

(Thread closed)