Hi all,
Hopefully this one is rather simple. I just haven't been able to figure it out.
On my GridView I have some hidden key columns which I've hidden by using tha attribute Visible="false" in the TemplateField declaration. This column is later used as an UpdateParameter field.
Now if I leave the field as Visible="true", everything works fine and down in my C# code, I can easily access the UpdateParameter field with e.Command.Param eters[0].Value. However, when I set Visible to false, the call to e.Command.Param eters[0].Value always returns null.
So how can I hide this column from the users, but still use it as a parameter field?
Thanks for any assistance.
Robert
Hopefully this one is rather simple. I just haven't been able to figure it out.
On my GridView I have some hidden key columns which I've hidden by using tha attribute Visible="false" in the TemplateField declaration. This column is later used as an UpdateParameter field.
Now if I leave the field as Visible="true", everything works fine and down in my C# code, I can easily access the UpdateParameter field with e.Command.Param eters[0].Value. However, when I set Visible to false, the call to e.Command.Param eters[0].Value always returns null.
So how can I hide this column from the users, but still use it as a parameter field?
Thanks for any assistance.
Robert
Comment