locked
How to Display hierarchical information in more than three data binding RRS feed

  • Question

  • User1038621552 posted

    actually i want to show hierarchical information with check box. the level of heirchy should be more then three,
    like:-

    1. India (country)

         A. Maharastra(State)

              I. Pune(city)

                  a. Kolhapur(distric)

                   b. Satara

         B. Madhya Pradesh(state)

            I. Indore(city)

                   a. Ratlam(distric)

                   b. Ujjain

                   c. Mansaur

           II. Jabalpur

    2. Australia

    Bind with dataset.

    Please help me !

    Thanks.

    Monday, June 27, 2011 4:22 PM

Answers

  • User1038621552 posted

    Thanks for your help.

    finally i have decided to use nasted repeaters and its working fine.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, June 30, 2011 5:09 PM

All replies

  • User1043796333 posted

    Check it out on "Cascading" in CSharp Bits NotAClue web site

    You'll find everything you need there

    Monday, June 27, 2011 5:11 PM
  • User-330204900 posted

    Hi vinodnagar, are you using DynamicData?

    Tuesday, June 28, 2011 4:05 AM
  • User1038621552 posted

    Yes, i am using dynamic data, i am taking all data from a data base table.  let me show to you my exact requirment.

    This is Table of Permisssion Set. this table will be in a data set.

    id parent child sub_child
    1 life insurance insert null
    2 life insurance update null
    3 life insurance delete null
    4 general insurance insert null
    5 general insurance update null
    6 general insurance delete null
    7 equity report SIP
    8 equity sell null
    9 equity report AMC
    10 mutual fund report SIP
    11 mutual fund report AMC
    12 mutual fund report AMU

    This shoud be Create at Run Time (Page Load) Because this Permission set can be Different for every user.

    " [ ] " this is for check box to select permission.

    when page load these can be unchecked admin user can set permission for normal user, which type of permission normal user have like in Life Insurance and General Insurance he can insert only new policies neither update nor delete. same for other.

    now my Hierarchy should be like this at the UI side,:-

    [ ] Life Insurance

          [ ] insert

          [ ] update

          [ ] delete

    [ ] General Insurance

          [ ] insert

          [ ] update

          [ ] delete

    [ ] Equity

          [ ] Report

                    [ ] SIP

                    [ ] AMC

          [ ] Sell

    [ ] Mutual Fund

          [ ] Report

                    [ ] SIP

                    [ ] AMC

                    [ ] AMU

    Thats i want . Please reply.

    Tuesday, June 28, 2011 3:18 PM
  • User3866881 posted

    Yes, i am using dynamic data, i am taking all data from a data base table.  let me show to you my exact requirment.

    This is Table of Permisssion Set. this table will be in a data set.

    id parent child sub_child
    1 life insurance insert null
    2 life insurance update null
    3 life insurance delete null
    4 general insurance insert null
    5 general insurance update null
    6 general insurance delete null
    7 equity report SIP
    8 equity sell null
    9 equity report AMC
    10 mutual fund report SIP
    11 mutual fund report AMC
    12 mutual fund report AMU

    This shoud be Create at Run Time (Page Load) Because this Permission set can be Different for every user.

    " [ ] " this is for check box to select permission.

    when page load these can be unchecked admin user can set permission for normal user, which type of permission normal user have like in Life Insurance and General Insurance he can insert only new policies neither update nor delete. same for other.

    now my Hierarchy should be like this at the UI side,:-

    [ ] Life Insurance

          [ ] insert

          [ ] update

          [ ] delete

    [ ] General Insurance

          [ ] insert

          [ ] update

          [ ] delete

    [ ] Equity

          [ ] Report

                    [ ] SIP

                    [ ] AMC

          [ ] Sell

    [ ] Mutual Fund

          [ ] Report

                    [ ] SIP

                    [ ] AMC

                    [ ] AMU

    Thats i want . Please reply.

    Hello:)

    You should first drag and drop a TreeView inside the Panel, and then make the TreeView "Checkable" by setting its property of ShowCheckBoxes, and then following this article——

    http://aspalliance.com/732_Display_Hierarchical_Data_with_TreeView_in_ASPNET_20 

    Tuesday, June 28, 2011 9:17 PM
  • User-330204900 posted

    Hi vinodnagar, DD won't do this out of the box you will need to hand craft this, or there are some hierachical controls from DevExpress and Telerik

    Wednesday, June 29, 2011 6:06 AM
  • User1038621552 posted

    Thanks for your help.

    finally i have decided to use nasted repeaters and its working fine.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, June 30, 2011 5:09 PM