DataList ItemCommand CommandArgument returning old (cached?) value
Posted on 2006-06-27
In ASP.NET v1.1 using VB.NET, I have a DataList, with a column they can click to view details of the row. Here is the html that creates the linkbutton:
<asp:LinkButton id=lnkView runat="server"
CommandArgument='<%# DataBinder.Eval(Container, "DataItem.pmwrkord_code") %>'
Then in my VB code in the ItemCommand handler for the datalist, I get the value out with the command:
sWO_code = e.CommandArgument
This has been working for over a year, and still works for most users. Today, a user emailed me, and when he clicks on View the first time, it works right. If he then clicks on View for a second row, it shows him the same first row, not the new row. If I have him delete his temporary internet files (clear his cache), then click on a new row it works right, but if he then clicks on a new row, he gets the row he got right after clearing his cache.
Because this is working for everyone else, I assume this must be something with the setup of his computer. Rebooting his computer did not fix the problem. He is not aware of any changes to his system.
Does anyone have any ideas what could be causing this, or have ideas to help me track it down?