Is there a way to hide columns in server side using AutoGenerateColumns as True?
If I use a BoundDataField for the columns I want to hide and those columns are shown twice and when I set the property Hide to True I got the following error:
Even when I hide a column with js I got the same error.
What can I do?
Hello,if you are using BoundDataField for the columns, you should set AutoGenerateColumns to false. That's why your columns are shown twice.I believe you are getting the error because you're using <%= %>. Try using <%# %>.Regards,Nikolai Dimitrov
Hello Nikolai I still having this issue
I have AutoGenerateColumns set to true and I need it this way one of the columns is an Id and I don't want the user to see this info but I need it to identify each row to update date by this Id or some other things
So I haven't found a way to hide this columns if AutoGenerateColumns is false