I have a Link element in the Master Page. This element is initially invisible.
Upon a certain action in one of the content page, I need to make that Link element visible.
I am looking into ways of how this could be done. Can I do it from my Controller method or will I have to do it via ajax?
I have a Link element in the Master Page. This element is initially invisible.
Share
To manipulate the UI in mvc you need to use javascript. If your “certain action” are involved with the server I think you need to use ajax:
If you action are only involved with the client you can use only javascript. At the end you can playing with css to make visible or not your link: