5.1 MVC: Link to widget not opening window
Posted: September 19th, 2022, 10:04 am
So I have a hyperlink control on my webpage with an event to open another widget in a window.
My assignment is to copy from 5.1 classic over to 5.1 MVC and I just copied the exact controls over.
Originally we were using a hyperlink control on a list view. I thought that might be the issue when clicking on the link would not open the widget window. However, when I make any event controller that opens the DuplicateListWidget while passing in parameters from the list the window doesn't open. If I don't pass any parameters the widget window opens just fine.
There is also no change in the parameters in the url when the link is selected.
I believe that using a button to open widget is probably the preferred option, however, I think I am either doing something wrong with my parameters or there is another issue here. Neither the button or the hyperlink control open the widget when I pass parameters. There are no errors. It just does nothing at all when clicked. I tested this also outside of the list view and got the same result. I also created a second Widget and got the same results again while trying to pass those parameters.
My assignment is to copy from 5.1 classic over to 5.1 MVC and I just copied the exact controls over.
Originally we were using a hyperlink control on a list view. I thought that might be the issue when clicking on the link would not open the widget window. However, when I make any event controller that opens the DuplicateListWidget while passing in parameters from the list the window doesn't open. If I don't pass any parameters the widget window opens just fine.
There is also no change in the parameters in the url when the link is selected.
I believe that using a button to open widget is probably the preferred option, however, I think I am either doing something wrong with my parameters or there is another issue here. Neither the button or the hyperlink control open the widget when I pass parameters. There are no errors. It just does nothing at all when clicked. I tested this also outside of the list view and got the same result. I also created a second Widget and got the same results again while trying to pass those parameters.