Author: rmdw | Posted on: 9/18/2010 7:59:25 PM | Views : 908

I have a project where I'm rebuilding a legacy app and need to combine multiple similar web pages onto one ASP.Net web form.  I thought I could easily do this with MultiView / View groupings.  The problem I'm encountering is that each View control doesn't isolate controls of the same name.
For example, I wanted to do this:
<asp:View ID="view1" runat="server">
   <asp:Label ID="TEXT01" runat="server" />
</asp:View>
<asp:View ID="view2" runat="server">
   <asp:Label ID="TEXT01" runat="server" />
</asp:View>
 
The reason for keeping the "TEXT01" name consistent is that tens of thousands of records in the legacy DB have this exact string, so to avoid a translation algorithm it would be nice to keep the historical names.  Note: The example I gave is on ...

Go to the complete details ...