Additional checkboxes/radiobutton required for treeview - asp.net

I understand that treeview in asp.net comes with checkboxes option for usage. However, in my application, I will require 2 additional checkboxes or radiobutton on the righthand side of each leaf node of my treeview.
However, I seem to be unable to find a solution to this requirement, and i think treeview structure does not support this feature.
I'm new to asp and I'm not sure if there is any other class which i can use upon to implement this feature.
Hope I can have some ideas from you guys to implement this
All help is appreciated
Thanks!
Regards
bernerd

The tree view control is quite limited however I've found this project http://www.codeproject.com/Articles/43057/ASTreeView-Free-ASP-NET-TreeView-Control which has extended its functionality - check out the reference and see if it provides what you need OR use it as a base to extend it as your scope requires!

Related

skin the dropdownbox

i am wondering if there is a way to skin the whole drop down box, after searching Google i could only find thing like adding icons resizing and alike, but no full skinning of the box.
Is this at all possible and if so how? i would very much like my whole program to be skinned rather than everything but the drop down boxes.
I am more of a designer than a coder so as far as code goes I'm quite a novice with the code side, would be a great help if you could give me a point in the right direction and/or a quick insight how to do it.
in flex... sorry
Thanks.
i am wondering if there is a way to skin the whole drop down box,
Yes, create a custom skin class for the DropDownList, just like you would any other Spark class. You can use code for the DropDownListSkin as a reference point for creating your own. In Flash Builder, if you create a new MXML Skin; and specify the hostComponent as a DropDownList then you'll get the DropDownListSkin code as a starter point for your customization.
For more info, read these docs on skinning Spark Components.
We did, in essence, exactly this to create our Mobile DropDownList.

How can I get MVVM Light to work nicely with a Grouped Items Page in Metro?

I am trying to implement a Metro style Grouped Items Page using the MVVM Light framework following the sample in this blog post but using a ViewModelLocator to provide blendability:
http://mikaelkoskinen.net/post/winrt-tutorial-mvvm-gridview-semanticzoom.aspx
I have got this working, unfortunately the grid itself is not showing up in the designer (which is the point of me using MVVM Light). I have bound the title without problem so I know that the viewmodel is bound correctly.
Any ideas please?
I had the same problem. The issue is, if you're using a CollectionViewSource, that it needs to be explicitly, like this:
As MVVM Light injects design-time-services into the viewmodel you'd expect this to pick up your service and push the design-time data through your viewmodel to the UI. But it doesn't.
You need to give it an explicit design-time instance for this to work:
There is a useful article about using CollectionViewSource in design mode that may help.

MVC3 - Multiple select process for a large list of items

Whats the best way to do the following in MVC3 (razor). User needs to pick one more more items from a List and click on button. The list can run into 40 to 100 items. Thats where my problem is, I am looking to see if there is any other solution (other than a list box) to do this more efficiently. Right now, I think I can do this by using a combination(or only one of) of an Auto complete text box and a list box in MVC3. Also how can I use list box in MVC3 with hard coded list tems.Any suggestions/ideas? Thanks in advance for your feedback.
You might want to take a look at using a list search functionality as described in this post it uses a jQuery plug in and you could always hook it up through an jquery ajax to get further data back from an MVC action method.
If this doesn't help then let me know and I'll try and put together an example in the morning.
Hope this helps.
Check out "jQuery UI Multiselect" http://www.quasipartikel.at/multiselect/

How can I build an infinitely recursive listview control?

Not sure I'm asking the right question, but it's a start. I have a user control with a ListView and, ideally, I would like to nest this same control inside of the ListView to provide recursion. This would behave somewhat like a TreeView with child nodes.
This might be a monumentally bad idea. :) In fact, I feed like MSFT is pointing me in that direction, because when I try this I am told that I can't do it.
So, how would you do this? What's the right way?
Sounds like You do need a TreeView after all, but need more functionality than it provides by default... How about extending the TreeNode/TreeView?
Here is an example for that:
http://www.codeproject.com/KB/tree/DropDownTreeView.aspx
Or you can extend the ListView, in fact, this article shows how to create a TreeListView which sounds very similar to what you're trying to do:
http://www.codeproject.com/KB/list/extendedlistviews.aspx
Either way, it sounds like you need a custom control, based on the TreeView and ListView.
Good Luck!

Where can I find a good treeview control for Flex that supports checkboxes?

To my best knowledge the out-of-the-box Flex 3 treeview control does not support checkboxes. Where can I find a good treeview control that supports checkboxes on any and all nodes. I would prefer open source software but commercial components are not out of the question.
check out the following http://www.sephiroth.it/test/components/flex2/treecheckbox/test.swf
http://www.sephiroth.it/index.php
http://www.sephiroth.it/weblog/archives/2006/09/flex2_again_checkbox_3state.php
http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=1047969#
Enjoy

Resources