I have a modal component which is basically a popup with some content in it. I have to ask if it is possible to link that component from another component.
For example I have anchor link in another component and by clicking the link, it will call the modal component and popup will be shown on that page.
Or i have a Richtext editor
with an anchor link
?
Is it possible to call modal component when a link in the Richtext editor
is clicked? Lets say there is a See more link inside the Richtext editor
. On clicking the link, it will call the Modal component.
I was thinking if it is possible via ajax like calling the Modal Actionresult via ajax which will return the HTML and that HTML will append on the current page to show the popup
Is it possible or has someone done anything similar to this?
Any help or suggestion would be appreciated.
Thanks in advance