Accessing control client name and not ID in ASP.NET
Solution 1:
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