I give up this soon :-)
I have a page with two Listview controls, Listview1 and Listview2. Both are binded with a querysting parameter. This works well.
In the second of the two controls I would like to insert some data. In one of the field the data shall be the Datakeynames value in the first listview.
I have tried a couple of approaches without success. First I did some tries with the SqlDataSource
Control and added the first listview as asp:ControlParameter. Then I extracted the value to a label in the fist listview and tried to reach it, that did not work either. I can´t find the control id on the label sense it is in the listview control. I tried with the whole name, Listview1$labelname.
Anyone who have any suggestion how to do this operation? I have to little experience to solve it I think.
Thanks in advance!
<asp:Content ID="Content1" ContentPlaceHolderID="ContentNyheter" Runat="Server">
<h1>Inrednings och design nyheter</h1>
<!-- inlägget -->
<asp:ListView ID="ListView1" runat="server" DataSourceID="SqlDataSource1" DataKeyNames="id" >
View Complete Post