I have two question and both would be solved with the same idea and code.
1:
I have tried to set the License Number with a this js and I get the license not set message.
Code: Select all
function unlockGdPicture() {
m_GdPictureImaging.SetLicenseNumberUpgrade('<%=OldVal %>','<%=NewVal %>');
}
Code: Select all
Public ReadOnly Property NewVal As String
Get
Return "xxxx"
End Get
End Property
Public ReadOnly Property OldVal As String
Get
Return "xxxx"
End Get
End Property
I also want to set the path to tiff file paths selected in a grid. How can I set the tiff in gdpicture view
I tried
Code: Select all
function displayDoc() {
var f = document.getElementById("GdViewer1");
f.DisplayFromFile('<%=FilePath %>');
}
'code behind
Public Property FilePath As String
Get
Return m_FilePath
End Get
Set(value As String)
m_FilePath = value
End Set
End Property
Thanks
pqsik