Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2167
How do I retrieve the Key of a cell of selected row?
posted

I have an unbound WebCombo.  I am trying to get the Key value within the cells collection.

For instance I have:

Key='A'
Text='Administrator'

When I view this in client side code The DisplayValue and DataValue are both = 'Administrator' .  I need the Key value of 'A'

Robert

Parents
  • 155
    posted

    Hi,

    I am not clear your question, but i think you are asking about the ascii code. If you are asking about this then use the below code in WebCombo keypress event

    var key=event.KeyCode;

    Regards,

    Kannan.S

Reply Children