Results 1 to 2 of 2

Thread: Get nested Grid control values

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2004
    Location
    india
    Posts
    95

    Get nested Grid control values

    hi

    im using nested databound controls in my page.

    <asp:repeater id="packg" ....>
    ....
    <itemtemplate>
    <asp:datagrid id="grid"....>
    <itemtemplate>
    <!-- -some table with server controls -->
    </itemtemplate>
    </asp:datagrid>
    </itemtemplate>
    ...
    </asp:repeater>

    i want to get the inner most text box values from the datagrid.
    here im attaching the trace potion of the output. the submit button is inclued in each datagrid item template.

    NB: if i put the command in debug mode it returns correct value as follows:

    ?request("packg:_ctl0:grid:_ctl2:lstadt")
    "Adult"

    but i dont know how to acheive the same result using findcontrol method


    Pls can any one help me abt this critical situation.


    thanku
    v.r.mahendran
    Attached Images Attached Images  

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width