Question : disable edit , new record links

I have radgrid that on this I want to disable AddNew Record and Edit links if Session("myID") == null .. how can I achieve this?

<radG:GridEditCommandColumn ButtonType="LinkButton" UpdateText="Update" EditText="Edit"
                          InsertText="Add New Record" CancelText="Cancel" UniqueName="EditCommandColumn">
                          <HeaderStyle />
                          <ItemStyle />
                      </radG:GridEditCommandColumn>

Answer : disable edit , new record links

in which event you have written code ? Is it in grid_ItemCommandEvent? Are you able to see add button on screen?
Random Solutions  
 
programming4us programming4us