No announcements
Found 2928937 threads
-
0 Votes
How to get datatemplate values for selected listitem of listbox in code behind
Hi Ravi, An easy way to do this is to create a public property in your code behind and set the selected ...Answered | 3 Replies | 8739 Views | Created by Ravi_P - Thursday, July 26, 2012 9:30 AM | Last reply by Ravi_P - Thursday, July 26, 2012 10:43 AM -
0 Votes
How to get datatemplate control values for selected listitem of listbox in code behind
How can i get selected Event Id from Label inside Listbox SelectionChanged event in code behind ...Answered | 1 Replies | 1290 Views | Created by Ravi_P - Tuesday, July 31, 2012 2:02 AM | Last reply by Syed Amjad (MCC) - Tuesday, July 31, 2012 3:50 AM -
1 Votes
How to get datatemplate values for all the items of listbox in code behind. ?
You can get a reference to the visual container of an object in the ListBox using the ItemContainerGenerator.ContainerFromIndex or ...Answered | 1 Replies | 682 Views | Created by Nivedita_Parihar - Wednesday, March 12, 2014 7:10 AM | Last reply by Magnus (MM8) - Wednesday, March 12, 2014 9:24 AM -
0 Votes
How to get the listitem of a listbox
How do I get the listitem that my checkbox belongs to? I'm using an ItemTemplate...Answered | 1 Replies | 1282 Views | Created by mrs99mrs99 - Tuesday, January 17, 2012 7:25 AM | Last reply by Syed Amjad (MCC) - Wednesday, January 18, 2012 2:02 AM -
0 Votes
How to get selected values for multi selection listbox?
What is your dataSource? Is it a dataTable? If so you can check this code, how to get selectedValues from all selected items ...Answered | 12 Replies | 9276 Views | Created by Barkster - Friday, July 8, 2011 1:53 PM | Last reply by BonnieB - Wednesday, September 7, 2011 4:30 PM -
0 Votes
how can i get selected item from listbox with datatemplate
how can i get selected item from listbox with datatemplate MY CASE IS : i have listbox with ...Answered | 4 Replies | 4946 Views | Created by MELshennawy - Tuesday, February 8, 2011 4:43 AM | Last reply by MELshennawy - Tuesday, February 8, 2011 5:43 AM -
0 Votes
create datatemplate code behind
What I want to do, is show 2 columns of "product Id, product barcode" in listbox, & i try to bind it in XAML through data template ...Answered | 4 Replies | 1936 Views | Created by Doudy_Egypt - Thursday, December 27, 2012 11:32 AM | Last reply by Doudy_Egypt - Friday, December 28, 2012 12:29 PM -
0 Votes
Code behind DataTemplate
is it possible for me to add code behind to a Datatemplate i have defined in a resourcedictionary file? i tried to add an event ...Answered | 4 Replies | 4229 Views | Created by Zest4Quest - Wednesday, January 13, 2010 11:59 PM | Last reply by Zest4Quest - Friday, January 15, 2010 5:00 PM -
0 Votes
Access control in datatemplate from code behind
and I can't seem access in code behind When you want to put the control(PinScaleTransform) in a datatemplate ...Answered | 1 Replies | 1092 Views | Created by Paul3654 - Wednesday, November 30, 2011 12:54 PM | Last reply by Catherine Shan - MSFT - Friday, December 2, 2011 3:53 AM -
1 Votes
Get selected values from Listbox control
values of the items that were selected and I can't seem to get it to work. I've tried looping through the SelectedItems but there's no ...Answered | 1 Replies | 819 Views | Created by meckeard - Monday, March 9, 2015 4:06 PM | Last reply by Andy ONeill - Monday, March 9, 2015 7:22 PM -
0 Votes
How to get selected value of listbox
Mind it that initially if you have assigned a List or any other IEnnumerable<Type> as the datasource for the List box , then you should cast the selected item ...Answered | 8 Replies | 34777 Views | Created by Jagz Singh - Friday, January 29, 2010 12:04 AM | Last reply by Sharker Khaleed Mahmud - Sunday, January 31, 2010 10:48 PM -
0 Votes
ListBox ItemTemplate in Code Behind
Hi, In my application, i have a ListBox, and i need to create a ItemTemplate to it on code ...Answered | 2 Replies | 3351 Views | Created by jpovoas - Thursday, March 29, 2012 10:23 AM | Last reply by Syed Amjad (MCC) - Friday, March 30, 2012 3:10 AM -
0 Votes
How to get multiple selected check boxes (items) of SP List in code behind
I am getting all selected values using JQuery and then I am assign that to hidden field so that I can use it in code ...Answered | 1 Replies | 2979 Views | Created by vishal wattamwar - Tuesday, August 14, 2012 8:30 AM | Last reply by Pradeep KVD - Wednesday, August 15, 2012 12:45 AM -
0 Votes
Get values from a datatemplate of a listbox
Below is my code. When I submit the form, and do a quickwatch on my listbox, in its contents I want to see the values I enteredAnswered | 8 Replies | 11351 Views | Created by Mavericky10 - Thursday, December 9, 2010 10:06 PM | Last reply by Stranger_tepa - Wednesday, August 10, 2011 1:53 PM -
15 Votes
How to get multiple selected values and items from listbox ?
So how to get the selected VALUES in a ListBox in windows form? I don't want the text, I don't want the index, I just ...Answered | 36 Replies | 267189 Views | Created by bmann225 - Monday, November 21, 2005 9:37 AM | Last reply by Yashwanthk - Friday, October 16, 2015 6:32 AM -
0 Votes
Listbox selected Item from DataTemplate
; </StackPanel> </DataTemplate> It appears that I can click and change the "Is Approved" CheckBox without ...Answered | 2 Replies | 3186 Views | Created by Robotuner - Sunday, January 2, 2011 7:25 PM | Last reply by Robotuner - Monday, January 3, 2011 7:23 PM -
0 Votes
Code behind access to controls inside of a DataTemplate?
code behind. I guess I'm confused at why controls in a DataTemplate can't be accessed via code behind? How am I supposed ...Answered | 4 Replies | 2207 Views | Created by Rob Ainscough - Monday, November 14, 2011 5:27 PM | Last reply by Mark Salsbery - Tuesday, November 15, 2011 5:22 PM -
0 Votes
Selected Listitem
You need to define your own ListBoxItem Control Template. I have an example of this in my AGGames ...Answered | 1 Replies | 1952 Views | Created by Dave Smits - Saturday, March 22, 2008 11:35 AM | Last reply by Shawn Wildermuth - Sunday, March 23, 2008 10:17 AM -
3 Votes
Can i create DataTemplate in code-behind?
How Can I add a GRID definition in the DataTemplate in code-behind? I am able to create it in XAML , I want to write ...Answered | 10 Replies | 34661 Views | Created by Dat Tan Dang - Thursday, May 4, 2006 7:02 AM | Last reply by Calinoiu Alexandru - Wednesday, October 8, 2008 9:49 AM -
0 Votes
How to create ListBox with DataTemplate in C# code?
I want to create them code behind. How could i implement ...Answered | 3 Replies | 7315 Views | Created by MSDN_Forums_User - Thursday, July 16, 2009 5:19 AM | Last reply by MSDN_Forums_User - Thursday, July 16, 2009 10:12 PM - Items 1 to 20 of 2928937 Next ›
No announcements