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 name
ClientID gives the on page rendered id
ID give's the id that you can use on code behind