Could not open in Design View

G

Guest

VS2003 - I have seen many posts in regards to this and have tried many
suggestions to no avail - the problem is with the followng code:

<ItemTemplate>

<INPUT type="button"
style='<%#ButtonStyle(DataBinder.Eval(Container,"DataItem.Status"))%>'
value="Button"
onclick=javascript:testDload(<%#DataBinder.Eval(Container,"DataItem.Page")%>)>

</ItemTemplate>

In particualr the onclick event - if I remove the event I can get into
Design View: I have tried the following:

onclick=testDload('<%#DataBinder.Eval(Container,"DataItem.Page")%>')

onclick=testDload("<%#DataBinder.Eval(Container,"DataItem.Page")%>")

onclick="testDload('<%#DataBinder.Eval(Container,"DataItem.Page")%>')"

onclick='testDload('<%#DataBinder.Eval(Container,"DataItem.Page")%>')'

what am I missing?
 
G

Guest

Solution:

onclick='javascript:testDload(<%#DataBinder.Eval(Container,"DataItem.Page")%>)'

Scott
 

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,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top