Hi
I want to update row and cell value based on some condition. Following are my doubts on this.
1)I am getting one column from databse as IsEditable, if it contains value "1" then entire row should be in editable and if value is "0 then entire row should be grayed out (not editable).
2)In one column i am displaying "Download Documnets" link. Right now it displaying into all rows. I want to show this cell option if and only if rows have file associated or available. If no file available then cell value should be blank with no not link available for that row. I am getting Document ID column from database. If Document_Id have value it means row have file assocaited and link should be display as "Downlaod Documents".If Documen_Id value is null it means no docunment is available for this row and no link should be available.
As these are high priority task so any help will be appreciated!!
Code which showing Download Document links:--
Code: Visual Basic.NET
<eo:CustomColumn MinWidth="200" Width="200" AllowSort="True" DataField="DownloadDocuments" ClientSideGetText=""
ClientSideBeginEdit="OpenPopup" HeaderText="Download Documents" DataFormat="<a href="downloaddocuments.aspx?cID={0}" target="_blank">Download Documents</a>">
</eo:CustomColumn>
Thanks,
Alvin