Nunit Asp.Net - control name contains underscore problem

G

Guest

I can get Nunit Asp.Net to work fine with
standard textboxes and buttons.

However when the rendered HTML contains controls that
are named something like
<input name="_ctl0:tbUserName" ...

because the control is embedded within a user control or suchlike
then Nunit Asp.Net says it cant find the control
and throws an ElementNotVisibleException.

The underscore _ is causing me a problem

does anybody know how to get this to work?

Thanks
Charlie
 

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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top