I have a listview setup on my page which shows orders from an orderlist. Works great. Now I want to add a column which displays an icon. When the user clicks this icon, the NewForm.aspx page from another list should popup. This other list also contains an ordernumber column, so I would like this column to be prefilled by the ordernumber of the line on which the user clicked the item.
So I see two possible options:
- A query string parameter and some code on the NewForm.aspx to get this value and set the textbox.
I have no clue on what the best / correct approach would be, or maybe I'm missing a better option? So I'd like your point of view on this.