I have a website that show the user large of theater name.
What is the best way to show them with less scroll or user click?
I mean when user select the button to see all of theater name , all of them (for example 500 theater) display for users.
At first i put drop down list,but now this is not nice ,so help me to choose best and nice object to show my data(theater name +" " + Director: this is my important data to show to user at first).
Note :after user select her-his theater then want to select the sans number, in first version of my website,first user click on combo box and select the theater name then in second combo box the sans number and the time and price of ticket load in telerik coxcomb and display it to user as a grid view(table in Rad combo box).but i want to change this style and make it modern and so nice.But i don't know HOW?
HTML select elements really fail in usability when lists are too long; I would recommend you using a jQuery plugin instead to improve the usability of that particular feature of your site. Your users would be better off with an auto-complete plugin to allow them to search more efficiently the options available.
I have personally used Select2 for this kind of features and it has proved to be really useful. Using this plugin (or almost any other popular auto-complete plugin out there) will allow you to easily implement features like: remote searches (using server-side logic), result templating, result grouping and others.
jQueryUI Autocomplete with a dropdown is probably what you looking for
JQuery Autocomplete with dropdown
Related
I Want to make some dropdownlist act like a textbox without losing the ability to explore the list and i want the list to autoselect the list item that match the text in the textbox (Searchable DropDownList).
if the text didn't match any list item i want to insert this value into a lookup table.
I'm using the AutoCompeleteExtender in other textboxes but with this extender the user unable to open the list and select a specific item.
if there is a better practice i'll be glad to know it.
I personally recommend the Select2 plugin, I have been using this in most of my project which have the same requirement as you have.
Select2 gives you a customizable select box with support for searching, tagging, remote data sets, infinite scrolling, and many other highly used options.
Select2 Main Site
Select2 Examples Page
For the searchable dropdownlist part, you can use this plug-in. This plug-in also enables you to get the keywords that didn't match any list item
I'm using a dropdownlist for a field on a form, but with large amount of data retrieving from the server, makes the load of the page extremely slow. Do you have a solution to this problem?
Implement a free text like solution like:
when the user clicks on the text input you can pop up a dialog to query the users (you can add an additional search field and then load in a table the results, add a click on a row should add the user to the main form)
true free text expirience with deferred loading the matches like Facebook search does
I have a list of items in my web app. Currently these have a name and a single link:
Item 1 NEW
Item 2 NEW
The user has requested further functionality from this list, so now I need to show a name, a date, a description, then three links
Item 1 11/11/10 blurb NEW EDIT APPEND
Item 2 03/02/10 blurb NEW EDIT APPEND
Unfortunately, screen estate is tight, and I can't fit all this into the allocated space.
I'd like to display "Item 1 11/11/10 blurb" as a link, which when clicked on, pops up a window asking what the user would like to do next.
I'm a total newbie at Javascript, on a tight timescale, and am not sure where to start with this.
We need to be compatible with IE6 (groan)
What should I use? Can someone point me to any useful resources or example??
We're using ASP.NET MVC3...
Cheers!
If you can use jquery I would recommend using the jQuery UI Dialog. It's easy to use and setup. Take a look at the link for a demo.
I have this program in which I am trying to store a collection of values into a list and session
Example:
valueCollection = (List<Values>)Session["Value"];
I want to do the front end in a way which will show a table with each row showing a label and textbox. This would be too simple to do obviously but I want it to show 4 rows of the table by default and then the user can select "add another" this will then add another row onto the table with a label and textbox exactly similar to the 4 default. Everytime the user selects "add another" the table increments by 1.
How do you do something like that, or is there an easy way?
Here is a screenshot to explain it better:
http://img828.imageshack.us/img828/9986/idead.png
The basic idea is that you bind a control to your data and provide GUI controls to allow users to add/edit/delete records. Once the records are modified you re-bind the control to see the changes.
Take a look at the Databound controls in the .Net Framework. For a quick first pass you could use a ListView - a control which provides built-in functionality to automatically generate and mange the add/edit/delete GUI elements.
In 'real world' usage, storing big datasets isn't a great idea as more users = more sessions and each session uses server resources. You should really be getting/storing your data in a database or perhaps an XML file.
HTH
If have a control that acts like a record selector from a database, say, for example, customers.
The control must act in certain ways allowing the user to type the name, the alias or the code of the customer, and the control will select the correct one, or offer a list of possible candidates, and other behaviors.
I have tried to inherit from ComboBox, but there are some ComboBox behaviors that make it difficult or impossible to do what I want, so I'm better starting from scratch, with a TextBox and Button.
The questions are:
Do you know some open-source component so I don't have to start from zero?
Have you already done something like this and want to share methodologies or tips?
Am I good with a TextBox, a Button and a PopUp control?
Try this control from CodeProject: A Reusable WPF Autocomplete TextBox
It allows you to specify a source list, and a custom filter. In your custom filter you can select to show only those records that have a name, alias or code that fit the text entered, and the user will have a list of filtered options displayed to them.