• 0

[ASP.NET] How do I get a reference for this grid?


Question

So I have this messed up code:

<asp:UpdatePanel id="uPanel">
<contenttemplate>

<asp:GridView id="OutterGrid">
  <Columns>
	<asp:TemplateField>
		  <ItemTemplate>
		<asp:Panel id="panel">
		<asp:GridView id="myGrid">
		</asp:GridView>
	  </asp:Panel>
*snip*

I need a reference for the most inner gridview (myGrid). I need access to it from the code behind. I tried (and still trying) to get it but everything I do is throwing "Object reference is not set to an instance of an object".

Any help is appreciated, thanks.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.