468,505 Members | 1,589 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,505 developers. It's quick & easy.

Problem with VS.NET: Could not open in Design view. Place quotes around a '<%%>'

I know this problem has been discussed before but still cannot work it
out, here is my code:

<span class="popup" onClick =
javascript:window.open('fullimage.aspx?id=<%#
DataBinder.Eval(Container.DataItem,"id")
%>',"blank","toolbar=no,width=520,height=550","res izable=0")>

<IMG src="/ch/gallery/t<%# DataBinder.Eval(Container.DataItem, "id")
%>.jpg"
style="cursor:hand" border="0">
</span>

I have tried every possible combination of quotas....stll no help

Anyone has any idea? I appreciate it

Nov 19 '05 #1
2 1359
try this

<span class='popup' onClick = javascript:window.open('fullimage.aspx?id=<%#

DataBinder.Eval(Container.DataItem,"id")%>','blank ','toolbar=no,width=520,height=550','resizable=0') >

<IMG src='/ch/gallery/t<%# DataBinder.Eval(Container.DataItem, "id")%>.jpg'
style='cursor:hand' border='0'>

</span>

"Aahz" wrote:
I know this problem has been discussed before but still cannot work it
out, here is my code:

<span class="popup" onClick =
javascript:window.open('fullimage.aspx?id=<%#
DataBinder.Eval(Container.DataItem,"id")
%>',"blank","toolbar=no,width=520,height=550","res izable=0")>

<IMG src="/ch/gallery/t<%# DataBinder.Eval(Container.DataItem, "id")
%>.jpg"
style="cursor:hand" border="0">
</span>

I have tried every possible combination of quotas....stll no help

Anyone has any idea? I appreciate it

Nov 19 '05 #2
Try using \' like this:

<span class="popup" onClick =javascript:window.open('fullimage.aspx?id=\'<%#
DataBinder.Eval(Container.DataItem,"id")
%>\'',"blank","toolbar=no,width=520,height=550","r esizable=0")>

and the same in the <img..>

Eliyahu

"Aahz" <ju*******@hotmail.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
I know this problem has been discussed before but still cannot work it
out, here is my code:

<span class="popup" onClick =
javascript:window.open('fullimage.aspx?id=<%#
DataBinder.Eval(Container.DataItem,"id")
%>',"blank","toolbar=no,width=520,height=550","res izable=0")>

<IMG src="/ch/gallery/t<%# DataBinder.Eval(Container.DataItem, "id")
%>.jpg"
style="cursor:hand" border="0">
</span>

I have tried every possible combination of quotas....stll no help

Anyone has any idea? I appreciate it

Nov 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Donald Firesmith | last post: by
1 post views Thread by Ken Briscoe | last post: by
reply views Thread by Haffe | last post: by
17 posts views Thread by roN | last post: by
3 posts views Thread by ajay2552 | last post: by
reply views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.