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
Loading

Krishna GaradPosted Jan 7, 2012, 7:51 AM
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.