Assume that $A\in\mathbb{R}^{m\times m}$ and $B\in\mathbb{R}^{n\times n}$ are two constant matrices. How can I find the partial derivative of $AXB$ with respect to $X$ in which $X\in\mathbb{R}^{m\times n}$? In fact, how to compute $$\frac{\partial(AXB)}{\partial X}.$$
I think that it is easy to see that $$\mathrm{vec}(AXB)=(B^T\otimes A)\mathrm{vec}(X),$$ where the notation $\otimes$ denotes the Kronecker product, and $\mathrm{vec}(X)$ is the vectorization of the matrix $X$. Therefore, we have $$\frac{\partial ((B^T\otimes A)\mathrm{vec}(X))}{\partial \mathrm{vec}(X)}=B^T\otimes A.$$ Here, I can not understand what is the relationship between $\frac{\partial(AXB)}{\partial X}$ and $\frac{\partial ((B^T\otimes A)\mathrm{vec}(X))}{\partial \mathrm{vec}(X)}$?
Thank you very much for the help.