or
.modal-background
{
width
:
100%
;
min-height
:
100%
;
position
:
fixed
;
top
:
0
;
left
:
0
;
z-index
:
100000
;
background-color
:
#333333
;
opacity:
0.55
;
-moz-opacity:
0.55
;
filter:alpha(opacity=
55
);
}
<
telerik:RadWindowManager
ID
=
"MasterWindowManager"
runat
=
"server"
Modal
=
"True"
Skin
=
"Black"
AutoSize
=
"True"
Width
=
"450"
Height
=
"300"
ShowContentDuringLoad
=
"False"
Style
=
"z-index:7001"
Behaviors
=
"Resize, Close, Maximize, Move, Reload"
DestroyOnClose
=
"False"
EnableShadow
=
"True"
KeepInScreenBounds
=
"True"
ReloadOnShow
=
"true"
VisibleStatusbar
=
"False"
>
<
Windows
>
<
telerik:RadWindow
ID
=
"DefaultPopup"
runat
=
"server"
DestroyOnClose
=
"false"
/>
</
Windows
>
</
telerik:RadWindowManager
>
Dim _pdfStream As FileStream = Nothing
Dim _fileName As String = "C:\Src\Proj\trunk\Data\2010-05-May-Cover.pdf"
If My.Computer.FileSystem.FileExists(_fileName) Then
_pdfStream = New FileStream(_fileName, FileMode.Open, FileAccess.Read)
Dim _length As Integer = CInt(_pdfStream.Length)
Dim _contents(_length) As Byte
_pdfStream.Read(_contents, 0, _length)
_pdfStream.Close()
' ... insert _contents into db
End If
<
asp:FormView
id
=
"mImageFormView"
runat
=
"server"
DataSourceID
=
"mImageDataSource"
>
<
ItemTemplate
>
<
telerik:RadBinaryImage
ID
=
"rbiThumbnail"
runat
=
"server"
Width
=
"180px"
Height
=
"220px"
DataValue='<%# Eval("Thumbnail") %>' AlternateText='No image'
/>
</
ItemTemplate
>
</
asp:FormView
>