Author: Motiofel | Posted on: 9/6/2009 12:17:46 AM | Views : 451

Hi,
I have a basic imagebutton:
<asp:ImageButton ID="ImageButton4" runat="server" ForeColor="#990000" OnClick="ImageButton4_Click" ImageUrl="~/images/speakers.gif"/>


And code behind:

protected void ImageButton4_Click(object sender, ImageClickEventArgs e) { ImageButton4.Attributes.Add("onclick", "popUp('PlayList.aspx')"); }
on the first click- a postback occurs but nothing opens as it should,
only on the second postback  the popup window appears.
Any clue?

...

Go to the complete details ...