locked
Cascading Drop Down list problem!! RRS feed

  • Question

  • User1210706192 posted

    Hi

    i am using Cascading drop down list with drop down list control.

    i had fiiled the CDDL using [WebMethod].All data fetching in DDL is fine.

    But now my requiremnet is that if user selects  "ALL" from DDL then i want to append all items in string

    use that string for further processing.But when i loop through the count of my DDL then it always

    return count as one??Why which is so ???

    Again whether it is possible to find the count of CDDL??

    Please help me as soon as possible.....

    i have to deliver this urgently..

     

    Thanx. 

    Monday, August 11, 2008 1:05 AM

Answers

  • User1906575742 posted

    Ok Use & Sign

     Label.text &  = DDL.items.count

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, August 11, 2008 3:00 AM

All replies

  • User1906575742 posted

    Dim i As Integer
    For i = 1 To DDL.Items.Count
    Label1.Text = i.ToString()
    Next

    Monday, August 11, 2008 2:28 AM
  • User1210706192 posted

    when i am using DDL.items.count

    it always returns me 1 though my DDL contains lots of items...

    what is the problem???

    Monday, August 11, 2008 2:37 AM
  • User1906575742 posted

    Ok Use & Sign

     Label.text &  = DDL.items.count

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, August 11, 2008 3:00 AM