Questions tagged [selecteditemtemplate]

5 questions
6
votes
4 answers

Programmatically Select Item in Asp.Net ListView

After doing a quick search I can't find the answer to this seemingly simple thing to do. How do I Manually Select An Item in an Asp.Net ListView? I have a SelectedItemTemplate, but I don't want to use an asp:button or asp:LinkButton to select an…
Armstrongest
  • 15,181
  • 13
  • 67
  • 106
4
votes
3 answers

Change a selected item in a listview based on the selection in another listview

I have two list views. In the Item command event of the first Listview i am showing the second list view in modal popup using ajaxtoolkit. protected void lvSelection_ItemCommand(object sender, ListViewCommandEventArgs e) { this.lvPopup.Visible =…
Phillip
3
votes
2 answers
2
votes
1 answer

PrimeNG Angular 8 p-dropdown selectedItem template not rendering

Below is my markup for the custom template design for the PrimeNG p-dropdown control
0
votes
1 answer

how to retrieve a value in datalist on the button click in DataList

We have a Datalist in which we have some data, with every Item we have a button control. What I want to achieve is that on the button click, the data related to that particular row of Datalist is fetched whose Button control is clicked. How to…
Priyanka
  • 1
  • 2