Posted on: 7/13/2014 9:30:23 AM | Views : 388

i am trying to upload image from image button , and trying to show uploaded image directly to imagebutton , how can i show uploaded image directly in imagebutton?
and also in code behind FileUpload1.Filename is not showing any file name .
plz help with this ..thx
<head> <script language="javascript" type="text/javascript"> function clk() { document.getElementById("FileUpload1").click(); } </script></head><body> <div style="display:none"> <asp:FileUpload ID="FileUpload1" runat="server" /> </div> <asp:ImageButton ID="ImageButton1" runat="server" OnClientClick="return clk();" ImageUrl="~/img/b1.png"/> <asp:Button ID="btnupload" runat="server" oncli ...

Go to the complete details ...