https://bugzilla.novell.com/show_bug.cgi?id=417872
User [EMAIL PROTECTED] added comment https://bugzilla.novell.com/show_bug.cgi?id=417872#c2 --- Comment #2 from M Buen <[EMAIL PROTECTED]> 2008-08-17 15:24:06 MDT --- exact cause is, LinkButton(inside of TemplateField)'s CommandArgument doesn't allow string, and.. CommandArgument was mistakenly used by Mono/ASP.NET for highlighting the row of GridView. when i assign it the value of 3, it highlights the fourth row. hope this helps. i really needed to pass column value (primary keys) to CommandArgument, i want to make my ASP.NET program as event-based as possible example (selRecord is LinkButton inside of TemplateField): protected void selRecord_Command(object sender, CommandEventArgs e) { string[] s = ((string)e.CommandArgument).Split(':'); string tlistRecId = s[0]; // primary key of record bool hasApprovedTr = Convert.ToBoolean(s[1]); Session["selected_tlist_rec_id"] = tlistRecId; ShowOptions(true, hasApprovedTr, false); } -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
