Simple UserControl Question: why won't this work?

  • Thread starter Thread starter Roy
  • Start date Start date
R

Roy

I have a datagrid, within that datagrid I have <columns> tag and within
that I have the below TemplateColumn which calls to another datagrid
(essentially and embedded datagrid within another datagrid).
Unfortunately, I get this error with "newtier2" being the name of my
..ascx page...

"Literal content ('</ItemTemplate> </asp:TemplateColumn> </columns>
</ASP:DataGrid> </form> </body> </html>') is not allowed within a
'ASP.newtier2_ascx'."

What gives? Anyone know?

<asp:TemplateColumn>
<ItemTemplate>
<UC_Grid:Nested id="FVD_Grid" x=container.dataitem("vown")
y=container.dataitem("van_no") runat="server">
</ItemTemplate>
</asp:TemplateColumn>
 
Never mind. :)
Got it working now, nested datagrid is now editable!

Sorta... getting a bizaare record repeating issue in the child grid...
lemme get back to ya...
 
Back
Top