You can get it using the Control.UniqueID Property
btnliOK.UniqueID
UniqueID gives the on page rendered nameClientID gives the on page rendered idID give's the id that you can use on code behind
UniqueID
ClientID
ID