I have a panorama app and I want navigate to item 3 from item 1, When the user clicks a button at item 1 panorama but I don't know how to do this. I have searched but nothing.
I am using Long list selector to write the contents in the List.
How can i do This ?
this may help :
writing extra words to fill up thirty characters, i really dont need to write anything
http://blogs.msdn.com/b/aschapiro/archive/2012/07/21/navigating-directly-to-a-specific-screen-inside-a-panorama-or-pivot-page.aspx
Related
I am using a simple DropDownList where I have 6 listItems hardcoded. Item 0 only as text and does not have a value. When listItems 1-3 are selected, I am able to get the correct value in code behind but when listItems 4 and 5 are selected the value obtained in code behind is for listItem 1. I saw some posts talking about how I should use "Not Page.IsPostBack" to bind my control only on page load. But I don't this is my case. I have tried to do a databind for the control in the "Not Page.IsPostBack" but I get the same result. I also added a OnDataBinding event to my control that fires an alert. The alert only shows when the page is loaded and not on form submission. Can someone please help me to get to correct values for the 4th and 5th items and help me to understand what is going on here?
Thank you much,
Billy
I got it! I wanted to use the same value for 3 of my listItems (1, 4 and 5). When I select item 4 or 5, the code behind used the first listItem that had same value (listItem 1) instead of the actual selected item. Once I used unique values for the listItems in question, I got the functionality that I was looking for. Now I just have to do a little extra processing in code behind to set the value that I want.
How do I show a spinner in a DetailsList? For instance, let's say I have the following items in a DetailsList:
list of items
On clicking the item with the name 'AdipiscingUt.onetoc', show a spinner on the rightmost side of that item (next to 125 KB). Please let me know if you have any suggestions on the same.
Thanks!
You can use selection attribute in <DetailsList> component to catch the selection events. Then create extra column with hidden spinner and display it via selection event.
At least I had the experience when I needed to display the icon status according to each item. I added unique id per each item (using onRender method for columns attribute in <DetailsList>) and use it for identification.
I have a Recyclerview with a long list of items. One Item have a TextView, this TextView need change every 0.5 seconds, so i need refresh. All my code works perflecly but If I refresh all my items (notifyDataChange), its to slow. So I need refresh only this item for a good perfomance of my app. Its possible?
AdaptadorRecyclerView.notifyDataSetChanged();
Use adapter.notifyItemChanged(int position, Object payload). You can mention the TextView's position and value with payload parameter. If you want to learn more about it please refer [this link](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.Adapter.html#notifyItemChanged(int, java.lang.Object)).
I am working on a project and the problem that I have is; the items of my combobox are being loaded from the database table(one field); the table has more than 1000 records:
how can I load these records(one field) as items by giving a limit of 50 while allowing the user who wants to see all of the records through the combobox to see them but still by a group of 50?
which event can be the best for loading items to the combobox? textchanged, click....
I was thinking to use the vertical scroll bar so that when the user is at the end of the displayed items the next 50 will be loaded and if he is on the first and scrolls up the previous 50 will be loaded:problems with this way of thinking are:
when the user typed some caracter from the word that he wanna select
from the items' list if it is not loaded yet from the DB he will be
obliged to type the whole word
I don't know which event is raised
when scroll bar of reaches the end or is at the beginning
Is there any other way to do that?
I ' ve a combobox with too long multiple Items . There is any method to set a horizontal scroll in combobox or set a multiline properties for each item ?
Hi Mattia,
There are a couple of methods that are usable as well as effective for this problem you are having, here is the concept that I've created that you may implement in your project;
Original text: C:\path1\path2\path3\path4\file.exe
Combo Box text: C:\path1\p...file.txt
To do this you will 1st have to specify how many characters you want to shown in the start of the text (1st 5 or so) then you must specify how much you would like to leave off at the end (last 6 or so).
I realize this causes a problem, "I wont be able to see the full path!", however adding a 2nd form or a msgbox to display the full text which should initiate the 1st 2-4 secs of display time, this should not be a challenge nor a problem and will make you look like a Pro!
I hope this helped you with your problem or motivated you to go over and beyond!