Why when you call the modal window not correctly formed address of the page?

0 like 0 dislike
5 views
I need to get in actionUpdate the id parameter and display the view in a modal window. Here's the address:
.../web/index.php?r=manual1/update?id=100
causes a 404 error. What to do ?
by | 5 views

3 Answers

0 like 0 dislike
To accurately answer this question is impossible, because there is no code. So see this page or not, maybe in the controller there is a page or id with the record no. There are many options, just can not say
by
0 like 0 dislike
You have a malformed link
/web/index.php?r=manual1/update?id=100

and need
/web/index.php?r=manual1/update&id=100
by
0 like 0 dislike
If you do not use a modal window, everything works as it should. Id is sent, the update page opens. Everything about the code I gave yesterday in question:
How to bind the call of a modal window to buttons ActionColumn in GridView Yii2?
But I was told that it is not readable. Not properly designed. I first time I go to the forum, can something I do not know. Sorry. Just decided to provide information.
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
33,932 users