I am using c# and VS.NET 2005 Beta.
Sorry for not using the VS.NET 2005 Forum, but I am unsure if anyone is subscribed to it and this is fairly urgent.
Using a datagrid in the ASP.NET 1.1 I pased a value to the code behind from the item created event using the commandArgument attribute of the conrol I was using.
<asp:ImageButton ID="DownloadImageButton" SkinID="IconButton_Download" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "Name")%>' Runat="Server" />
Now in ASP.NET 2 the attrubute does not seem to like taking the databound value.
If I hard code all is fine
<asp:ImageButton ID="DownloadImageButton" SkinID="IconButton_Download" CommandArgument="c:/MyFile.txt" Runat="Server" />
I have also tried
Which I beleive to be a valid shortcut now.
The IDE does not even seem to recognise the server script tags.
Can anyone tell me if the process of binding data to gridview/datagrid attributes has changes in ASP.NET 2?
Any assistance would be greatly appreciated.
They say, best men are molded out of faults,
And, for the most, become much more the better
For being a little bad.