We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Multiple controls with the same ID

Hello, We have an ASP.NET application that uses Aspose GridWeb. Some of the rows of the grid are collapsable (using GroupRows). All the image controls of the collapsed rows (+) in the HTML have the same ID: "ctl00_contentPage_xyz_GRPB".

.... class="ctl00_contentPage_xyz_9" align="left" valign="top" style="padding-left:4;"><span class="acwxc"><img id="ctl00_contentPage_xyz_GRPB" title="Expand or collapse the group rows." src="/zyx/xyz.aspx/collapse.gif" style="cursor:hand;" /></span></td><td ........

When we use iis trace the following error happens:

"Multiple controls with the same ID 'ctl00$contentPage$xyz$GRPB' were found. Trace requires that controls have unique IDs."

Can you consider the issue?

Thank you


Hi Antonino,

Please forward us your sample web application which contains the issue. This will help us to drill down the issue.


In the attachment there is a sample project.

If you run it and you look into the generated html you'll find several controls with ID "GridWeb1_GRPB". We think that this becomes a problem when IIS Trace is running, because the mentioned error is raised.

Thanks for support,