hi ..
I need to open a popup window to display an image from a ListView (VS 2008).
What I am trying to do is in asp:ImageButton control, like this:
<asp:ImageButton ID="ImageButton1" runat="server" Height="150px"
ImageUrl= '<%# Bind("image_url") %>' Width="150px" ImageAlign = "Middle"
OnClientClick= '<%# string.Format("window.open('popup.aspx?{0}')", Eval("image_id")) %>'
/>
But i got that error :
The server tag is not well formed.
any help plz !
I need to open a popup window to display an image from a ListView (VS 2008).
What I am trying to do is in asp:ImageButton control, like this:
<asp:ImageButton ID="ImageButton1" runat="server" Height="150px"
ImageUrl= '<%# Bind("image_url") %>' Width="150px" ImageAlign = "Middle"
OnClientClick= '<%# string.Format("window.open('popup.aspx?{0}')", Eval("image_id")) %>'
/>
But i got that error :
The server tag is not well formed.
any help plz !