Listbox selection and DataTemplate
Hi I have a bounded listbox and I have created a DataTemplate that among other things have a button. I expected the listboxItem to get selected once I click the button but Its not working. Any ideas? ...
Hi I have a bounded listbox and I have created a DataTemplate that among other things have a button. I expected the listboxItem to get selected once I click the button but Its not working. Any ideas? ...
I have a selection object where in IE, I run range = selection.createRange(); I then try to get the startContainer but am unable to figure out how. All examples show me SETTING the startContainer, but I am basing this off highlighting text. How do I know which element to set it to without getting it first? I know in FireFox it's as ...
My question is how to pull the username into the confirmation popup... would I have to change the way my php is generating the list of users or would it need some mootools coding to select the parent and then the username... if so how could I achieve that? I have my PHP code using codeigniter to generate the following kinda things which...
I'm just beginning to explore the M-V-VM design pattern while redeveloping an application and I'm running across a consistent theme where I have collections that I need my ViewModel to expose to the View which contain items which are to be selected by the user. Please note that when I say "selected" what I mean is that they are chosen in...
I have added a custom file selector plugin for FCKeditor and inserting of a new link works fine. The problem is that I should be able to detect when the current cursor location or selection is a link already. At the moment this causes nested anchor tags instead of updating the existing link. The FCKEditor JavaScript API is not too helpf...
I have an array of different elements stored from a previous selection, call it 'a'. How do i then do another select from this previous selection (a) and just return elements of type input? ...
I created a macro that will apply a particular style to whatever is selected in the document. However, when in draft view, when the user clicks in the style area pane to select a paragraph and then Ctrl + clicks on an additional paragraph, this additional selection is not applied when this macro is run: Sub BodyTextApply() Selection...
Hi iProgrammers, In my app , i have 5 tabs at the bottom,namely home,ask,tip,inbox,disclaimer...In my home view...there is an botton,clicking on which flips the view to in the same home view tab...in the new view i have a picker in which on selecting the values takes me to another view through flippin in the same tab ..in the 2nd new vi...
This plugin lets you grab text the user has selected in a textarea, and this site has non-jQuery-based instructions for grabbing text the user has selected outside of a text area. I'm wondering whether the functionality of the latter is available in any jQuery plugin. Edit: Also, is it possible to get the starting and ending indexes of...
Say you have two inputs: <input id="input1" type="text"/> and <input id="input2" type="text"/> such that through some JavaScript magic, anything you type in input1 will also be put in input2. In this sense input2 "mirrors" input1. Is there a way that I can also "mirror" text selection. So if I select some text in input1, how can I hav...
You can select a part of a web page with the mouse. I know that I can get the currently selected text but how can I get the DOM element which contains the start or end of the current selection? ...
Howdy, I'm using the Cycle plugin for use in a news-rotator. This means I'm using Div's to populate the slides instead of images. My ultimate goal is to make a pager where instead of the usual 1, 2, 3, 4, etc. - it instead returns the first H3 tag in the slide. I know this probably a minor selection issue, but here's what I'm using s...
I have 2 TileList component in my Flex application. 1 tilelist is filled with data much like following xml sample: <person name="Test"> <likes>Flex</likes> <likes>PHP</likes> </person> <person name="test2"> <likes>HTML</likes> <likes>CSS</likes> </person> the data shown in that tilelist is the name. my second tilelist: <items> <pr...
I'm trying to allow rubberband or lasso type selection of the items in the listbox that the user wants selected. My Listbox is in a grid and to the grid I added a control that draws a rectangle over the area I want to select. I've tried hit testing the listbox items to see if they fall within the rectangle but they all seem to return t...
All: I have been fighting with an issue which has been bugging me for the past few days. I have a UIPageControl and in each page I have a UITableView. Each tableView can have upto 4 cells. A user can make a selection, go to next page and select something else. I want to retain the selection in each page, so the user can change his/her ...
Hello, I have several winforms listbox controls I am hosting in a user control. The behavior I want in this user control is that I only want ONE of the listboxes to have a selected item at a time. So if I have an item in Listbox1 selected and I click an item in listbox2 listbox one should be automatically have all items deselected. ...
I am using Javascript to dynamically add new options to a drop down list and when the list reverts to the selected item with the arrow to the right of it to expand the list, the box containing the selected text is as wide as the widest text in the options list. So what I would like to do is have the width of the box hug the text if you ...
My custom component is composed of three JTrees inside a JPanel. Only one JTree should be selected at a time, so I've added a TreeSelectionListener to each of them that calls clearSelection() on the previously selected JTree. (See here for more details). That works fine, but I need to prevent the TreeSelectionListeners to trigger when ...
Hi, How can I enable discontinuous multiple text selection in Internet Explorer? I tried IDM_MULTIPLESELECTION but that seems only to work for objects in edit mode and not for text. FF3 seems to have multiple selection enabled by default and works by clicking the ctrl key. I am using IE8. A code sample in any language is fine. Any ...
i select text, open ajax window, click there, and selection of text in explorer disappears. if i do this in firefox, selected text will remain. any ideas how to do this in explorer ? thanks ...