I have a grid with the folllowing gridTemplateColumn:
Need to find out how to do the following:
1). Disable both buttons if grid rowcount is less than 2.
2). Enable and disable both buttons based on the grid total rowcount and not page row count.
3). For cmdMoveUp how do get the grid rowindex to make sure its greate than 0 ?
4). For cmdMoveDown how do I get the grid rowcount to evaluate if grid rowindex is less than it?
5). Can you please clarify the difference between using
ItemCreated and ItemDataBound events and which is the appropriate event for manipuating values of template controls such as the above.