Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30311: Value of type 'System.Web.UI.HtmlControls.HtmlIframe' cannot be converted to 'System.Web.UI.HtmlControls.HtmlGenericControl'.

Source Error:


Line 40:         Protected Sub lbFile_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs)
Line 41:             rd.SelectedFullfn = Path.Combine(rd.CurrentDir, lbFile.SelectedValue.ToString)
Line 42:             rd.showfile(frame1)
Line 43:             hlfullscreen.NavigateUrl = frame1.Attributes("src")
Line 44:             lblstatus.Text = "Selected file shown."

Source File: G:\PleskVhosts\neuroland.com\httpdocs\rd_nn.aspx    Line: 42






Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0