| Author: lalitha 29 Nov 2008 | Member Level: Gold | Rating:   Points: 3 |
They are same for both . Actually they are properties of Button , Link Button controls. If you place the buttons either Gridview or datagrid you can get those properties
syntax:
<asp:LinkButton ID="lnkdelete" runat="server" Text="Delete" CommandName="Delete" OnClientClick="return confirm('Are you sure you want to delete the record?');"></asp:LinkButton>
Regards lalitha
|
| Author: Rasmi Ranjan 29 Nov 2008 | Member Level: Gold | Rating:  Points: 3 |
Thanks.... But for this onclick event of gridview one method heading should be created in .cs file.Where i need to code.But to do this i am not finding such event in the event property of gridview.
|