If you have opened the IL&FS demat account through Zerodha, then the shares that you have purchased will reflect in your holdings in backoffice as well as the trading platform. You can sell these shares directly from the trading platform by selecting the product code CNC.
But, if you have linked an IL&FS demat account (which you have opened through some other broker) to your Zerodha trading account, then you will only be able to buy shares through the zerodha trading platform but you will not be able to sell those shares as it will not be reflecting in the holdings. This is because the shares would have been credited to the demat account which is with the other broker and you will have to login to their backoffice to check your holdings.