I have a byte variable
Public img As Byte() = Nothing and i am taking image (binary data) in this from sql server database
I am passing it through querystring in this way from javascript
var img = '<%= img %>'; window.showModalDialog("cli_image.aspx?Client_img=" + img + " ", '', WinSettings); and retieving it in this way
Dim bt As Byte()=New System.Text.ASCIIEncoding().GetBytes(Context.Request.QueryString("Client_img")) Response.BinaryWrite(bt)
but it is showing only system.byte[] it should show image
Showing image in pop up
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Krishna GaradRank #191 · 12.8K reputationPosted Jan 7, 2012, 2:51 AM EST
From your post i think so you want to display the image in popup window. Instead if you can use Ajax modelpopup extender control which also will display the popup window but the window is model. Try the attached code.