error - Could not lod in Design View

B

buran

Dear Programmers,

In Visual Studio .NET HTML View screen, I add the following code snippet and
receive the error "Could not lod in Design View" and cannot go back to the
design view. How can I get rid of this? Thanks in advance...

<a href="javascript:showSPInfo('<%# GetSPID(Databinder.Eval(Container,
"DataItem.SPName")) %>')">View</a>


Buran
 
B

buran

Thanks Suresh, the correct format is as following:

<a href='javascript:showSPInfo(<%# GetSPID(Databinder.Eval(Container,
"DataItem.SPName")) %>)'>View</a>

Buran


Suresh said:
<a href="javascript:showSPInfo('<%# GetSPID(Databinder.Eval(Container,
 

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