Simple UserControl Question: why won't this work?

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>
 
R

Roy

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...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top