Last post Dec 09, 2010 05:42 AM by sjnaughton
Dec 07, 2010 02:44 PM|lahoriboy|LINK
i would like to save all the filter settings for each list page. So, when the user visit again, he should see all the filters pre-selected. Did you happen to work on a similar feature ?
Dec 07, 2010 05:05 PM|sjnaughton|LINK
Hi Osman, where do you plan to store this information?
Dynamic Data 4
Dec 08, 2010 12:56 AM|PeterSkellern|LINK
This question gave an idea. I think you don't need to store the data but having it available for populating your controls right when you need it. My idea is simple but I couldn't figure out how to do it
Having the List.aspx page:
1) Eliminate combo boxes on top of the grid (it will raise an error if you do it)
2) Put my own combo boxes there
3) Have each combo boxe associated to its own datasource
4) Make my own filtering hierarchy by chaining combo boxes accordingly. The first one will be the entry point of the second one; the second one will be the entry point of the third one and so on. I would be using conventional ASP.Net linkage among the combo
boxes instead of having Dynamic Data doing this for me
How can this be done? Any idea? Thank you
If the combo boxes are not populated by Dynamic data then they will be holding its corresponding selected values. Now , if you think you can close your browser and come back later finding everything as it was when you left then I would say you will really
need to store those values somehow
Dec 08, 2010 08:11 AM|sjnaughton|LINK
Hi Osman, have a look at my article here
Filter History for Dynamic Data 4 This has a sample that supports this.
Dynamic Data 4
Dec 08, 2010 11:27 AM|lahoriboy|LINK
Great, do you have a cookie version ?
Dec 08, 2010 12:10 PM|sjnaughton|LINK
Sorry no but you could certanly adapt it [:)]
Dec 08, 2010 12:22 PM|PeterSkellern|LINK
Thank you. Is there a way of knowing if my question about overriding the filtering section in the List.aspx page could be answered? I already tried creating a new thread about it but it wasn't published. Maybe because I asked the same thing here
Sorry. it was already posted. My browser seems to be delaying refresh for a while. Thank you
Dec 08, 2010 02:39 PM|lahoriboy|LINK
Just a side thing. The sample has a filter called WhereDropDownList, what does that do ?
Dec 09, 2010 05:42 AM|sjnaughton|LINK
Hi Osman, that produces a dropdown list of the unique items in a none FK field.