As I understand, it's recommended to use the LongListSelector for a list representation in WP8.
But what is on the top of the list? What control is used for, say, Ringtone selection in settings (it is something on the top of the LongListSelector, am I right?)
ListPicker.
Find it in the toolkit.
Related
I am looking for something p-autocomplete with result having checkboxes for every row and can allow multiple rows from the result.
Please guide me with the best possible solution or an idea with I can proceed.
Cheers!!
I would recommend using multiselect that have all the feature that you want to implement in auto-complete with a checkbox.
Writing custom functionality in a component that would be riskier than using that already built-in component that has these functionalities. This will help get less error-prone components. Writing custom checkboxes in autocomplete need lots of implementation apart from functional like accessibility, arrow keys actions, etc. So go with multi-select.
So for auto-complete in multi-select component use can use the filter property.
multiselect
I am making a social networking site and would like emoticons to be available to users to click, and view a whole range of standard emoticons. I have seen around the web, and have not come up with any concrete information whether this can be done, and how.
The way I imagine the emoticons to be is similar to what WhatsApp have adopted. An emoticon icon, which, on click, displays a whole range of icons. Just wondering whether it is possible and if so, how?
It can be done, you would need a java-script widget for it though and depending on the rest of your framework it could be fully integrated or it would require some additional files.
Here is one example of such a widget, not sure if it is precisely what you need but you can get the idea there:
https://www.npmjs.com/package/emoticons-js
Umm, you can have a set of icons what you can display?
Or use the unicode entry points for the emojis?
http://apps.timwhitlock.info/emoji/tables/unicode
Then you need one element with some onclick handler in Javascript which opens up a floating div showing a selection of emojis.
Many Windows Phone apps allows you to reorder items in their lists by dragging them. Here is an example from one of them, Nokia App Folder:
You can see a small drag icon next to every item one can use to reorder items.
I need to add this drag reorder functionality to some lists in my WP8 Silverlight apps. Can you suggest any idea of how it can be done for such standard list controls like ListBox or LongListSelector? A link to a good Internet article is also acceptable.
ReorderListBox
One of the first implementations I saw of this was on the MSDN blogs a couple of years ago by Jason Ginchereau...
WP7 ReorderListBox
Although it was originally for the WP7 Listbox, it should be possible to modify and use it for WP8's LongListSelector, which replaces the ListBox. As the article mentions, the source code is on CodePlex or available as pre-built NuGet package.
Drag Re-ordering
Colin Eberhardt also has a fantastic article on re-ordering items in a list...
A gesture-driven Windows Phone To-do application part two - drag re-ordering
This approach doesn't use a Listbox or LonglistSelector but it is another great reference.
Commercial option
If you have access to the Telerik Windows Phone controls, their RadDataBoundListBox has a built-in re-order feature although it's implementation is a little different to the two mentioned above.
How can we easily implement something like this? Preferably within .Net framework, or just standard html, css ...
The first column has a vertical list; If you click on one item, the second column is shown with the sublist; so on.
This is something like the file system navigation in MAC OS.
While I suppose a tree could be achievable with CSS, I think the resulting code would be rather daunting and not very flexible or reliable.
You did not mention JavaScript, but have you seen jsTree?
Alternatively, you could develop the entire hierarchy of lists within .NET, and give a path argument to the .NET app that tells it how much of the hierarchy to render. (I'm not a .NET developer though, so can't help with this.) The major drawback to this is that it would require a page refresh for a user to navigate the tree.
Depending on your use case, It sounds like jsTree would be your best bet, but you can do horizontal nested list's as well in plain html. I use
http://www.htmldog.com/articles/suckerfish/dropdowns/
Your BE developer could then create ItemRepeaters (or a control) in .net for the li's.
There have been a few things in web app's that I don't like. First and foremost is not having a right click context menu. I'm so used to right clicking on an item in a list and doing an action. So I've had a browse around, and it's certainly doable here's an example.
My question is, are there reasons not to do this? I can't think of a single web site I've been to that uses a context menu like this. Is that just an historical convention, or is there something else?
Thanks
I don't think its so much as historical convention, more than in order to catch the right-click event you basically have to override/ignore the web browser's default functionality for right-clicking.
That being said it absolutely can be done via Javascript - here is one example ( i haven't used this, but just did a quick Google search ):
http://luke.breuer.com/tutorial/javascript-context-menu-tutorial.htm
Context menus are an excellent tool for web applications. The issue is many Mac users are not used to right-clicking.