I am not able to figure out how to store long list of values (like a big text) in a dropdown list or in intellisense of search box. I see that it is displaying only half of the text but not full. How to make it appear full in the intellisense or dropdown?
Yes, dropdownlist control or the other similar controls are not suitable for displaying long texts. You should increase their with and it's not look pretty. My recommendation is to develope a tooltip client side script that display the full text, this would help you to show much text than the actual one.
Related
I can find many examples of how to add a tool tip to a drop down list that is the list item itself, i.e. it is to long to be displayed in the list, but that is not what I I need.
What I need is the following;
I have a drop down list that has a list of numbers from 1 to ?? For each number there is a corresponding text item. What I am trying to do is if you expand the list and mouse over a number I need the text item from the separate list to be displayed as a tool tip. Example I mouse over the number 1 and the tool tip display's 'Section 1'.
Is this even possible? If someone can point in the right direction it would be great.
Oh and I am doing this in VB.Net if that makes a difference.
I would recommend adding another dropdown to the drop-down, with text instead of a link. If that makes sense, don't know if the framework you use allows it though =D.
If it isn't a very important feature, you could probably do it with an annotation
I have reached an impass which means I have to spend many hours doing something in a very tedious way because I can't work out a way to do it quickly, here is my problem.
In flash if I make a button that consists of a rectangle and a text field then make it all a button symbol, if I then copy the symbol to multiple instances on screen and change the text in one of them, it changes in all of them because I am changing the symbol.
How can I overcome this, perhaps with actionscript? I tried writing.
button1.text1.text = "test change button text"; on the main canvas (and giving one button a name of button one and the text field within it text1) but it doesn't work.
The only thing I found that works was to make multiple symbol copies of the button but then if I want to change the colour or dimensions of all the buttons it takes ages.
Is there a better way? Using actionscript 2 perhaps, or just some property of the button to allow individual text?
I attempted your situation... and I didn't run into your problem. Text boxes are individual values, provided that the text box is dynamic or input
I think that what may solve your problem is checking what kind of text boxes you are working with. Look in the properties panel; does it say "dynamic"?
I have several spans that contain text options. Below it I have an input text input field. What I would like to have happen is when a user clicks on one of these text options, that option will move into the empty text field and the text options will reconfigure to fill it's place.
I could probably do something with CSS3 here but I'm looking for other options.
What I'm looking for is similar to what you'll find on stackoverflow at the bottom of the page when you're asking a question. You select tags from a dropdown list and when clicked on they move into the text field.
Is there an efficient way of doing this that won't rely exclusively on CSS3 and that is also relatively backwards compatible?
I have in my application a larger textbox and offer user the possibility to enter text on several rows like this:
first piece of text
second piece of text
and so on...
Each row is a distinct piece of data that has a significance. The thing is I would like to use ajax auto complete extender functionality after the user types a certain character on a row, such as #, and filter the records in the database according to the first letter the user typed after #, moment when the auto complete suggestion list would appear. For example, third piece of text #Action1, means that after the user typed A he would be prompted with a list of values to choose from.
There are several items of concern for me: first, it is possible to use autocomplete extender only for part of the text in the textbox, and second does it work like this for multiple rows (i.e. one time - in each line behaviour)? Regarding its position, I guess I have no other choice than at the bottom of the textbox it refers to, despite I would have liked it to appear below the # symbol.
Thank you very much.
Update: I found something similar to what I am looking for here: Twitter-style autocomplete in textarea, but the author only explained briefly his solution. Any help much appreciated, thx!
Each row is a distinct piece of data that has a significance.
Why are you using a textarea then, and not multiple <input> fields?
Sounds to me like your error in UI design lies right there already, so the rest of my answer is rather theoretical; I probably won’t go into more details as the sensible fix for your problem is the one above.
first, it is possible to use autocomplete extender only for part of the text in the textbox,
Why shouldn’t it be? Cursor position in a textarea for example is readable (although it requires some working around cross-browser issues).
and second does it work like this for multiple rows (i.e. one time - in each line behaviour)?
So long as the line breaks are “hard” ones (made by the user themselves, using enter/return), splitting the actual textarea content by "\n" to have each row as a single value is no problem.
Regarding its position, I guess I have no other choice than at the bottom of the textbox it refers to, despite I would have liked it to appear below the # symbol.
You could try to roughly measure the #’s position, by line and col number it is on, and match that to the character width and line height, when using a monospace font. For other fonts, some more “magic” might be required to measure the actual width of the previous text before the # character.
I have created a Meteor package for this, which allows both free text and multiple autocomplete sources. Meteor's data model allows for fast multi-rule searching with custom rendered lists. If you're not using Meteor for your web app, (I believe) you unfortunately won't find anything this awesome for autocompletion.
https://github.com/mizzao/meteor-autocomplete
See the link for pictures of how it works. Fork, pull, and improve!
The following page shows how to load external images in AS3 DataGrid: http://www.adobe.com/devnet/flash/quickstart/datagrid_pt3/ (image and text are displayed in two columns)
But I wonder how the image and text can be loaded together within the same DataGrid. Within one column: Image followed by the text.
I cannot get it work so I'd be grateful for any help with examples. Thanks
You just have to write a custom CellRenderer that does it. If you really read and understand that page you linked, they explain how to make custom CellRenderers, and you can put whatever you want in a cell. An image with text, a button, a game of tetris, whatever.