Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

ASP.net C# Accessing DataKey.Value from a non-gridview event handler

  • 12-09-2008 3:05pm
    #1
    Registered Users, Registered Users 2 Posts: 2,793 ✭✭✭


    Hi,

    Is this possible? I have the Row Index for the selected item in the grid. However, my event is not a Gridview event and I need to access the Primary Key of the selected item.

    I wouldn't have thought it difficult but I've spent a full day on this and gotten nowhere.

    Thanks
    John


Comments

  • Registered Users, Registered Users 2 Posts: 2,793 ✭✭✭John_Mc


    John_Mc wrote: »
    Hi,

    Is this possible? I have the Row Index for the selected item in the grid. However, my event is not a Gridview event and I need to access the Primary Key of the selected item.

    I wouldn't have thought it difficult but I've spent a full day on this and gotten nowhere.

    Thanks
    John

    Nevermind, I got it now... think all it took was for me to post on here :rolleyes:


Advertisement