Hi, The MSDN is clear that this method should return the index number of the added cell ( http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.tablecellcollection.add.aspx), therefore, this really is a Mono bug, which you should report.
Best regards Jan 2010/6/2 free young <[email protected]> > > When I use the following line of code in asp.net > int tc1 = holiTab.Rows[0].Cells.Add(new TableCell()); (where holiTab is a > asp.net table) > I got tc1=0 where there is no previous cell. but in mono I'm getting tc1=1 > . > Since I'm planning to change an entire web application into mono, it will > be > a set back as I need to re-write the entire code which create dynamic table > cells. > Is there any work around for this problem. If anybody have some idea, > please > let me know. It would be a great help for me. > > Mono version 2.4 on ubuntu 10.04 server , apache2 . original web app in dot > net 2.0 . > -- > View this message in context: > http://mono.1490590.n4.nabble.com/Table-Cell-asp-net-adding-problem-tp2239621p2239621.html > Sent from the Mono - ASP.NET mailing list archive at Nabble.com. > _______________________________________________ > Mono-aspnet-list mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/mono-aspnet-list >
_______________________________________________ Mono-aspnet-list mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
