Last post Jan 26, 2018 11:37 PM by oned_gk
Jan 24, 2018 11:09 PM|kclarke|LINK
I have an old web form that i've been tasked with changing some of the functionality but I seems to be missing something
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="details-search.aspx.vb" Inherits="MatterFlow.details_search" %>
i'm looking fr the file highlighted in red but cant find it anywhere in the associated project just a bunch of .resource files can anyone give me some ideas to check
Jan 25, 2018 12:42 AM|oned_gk|LINK
Maybe like this
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="details-search.aspx.vb" Inherits="MatterFlow_details_search" %>
Partial Class MatterFlow_details_search
Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load
Above the relation, you can rename it to another name
Jan 25, 2018 06:14 PM|kclarke|LINK
but I'm trying to find the original file is there any specific way to find out where it is hiding?
Jan 25, 2018 06:36 PM|PatriceSc|LINK
This is not a file but a class name which should be found in your details-search.aspx.vb file.
Edit: ah you look on the server on which the web site is installed ? Code is compiled into DLLs. You should start from the source code hopefully kept somewhere in your company ???
Jan 26, 2018 12:35 AM|oned_gk|LINK
The codebehind property value "details-search.aspx.vb" is the vb file, inherits is the class name inside the codebehind file.
MatterFlow looks like folder name
See complete information of page directive https://msdn.microsoft.com/en-us/library/ydy4x04a(v=vs.100).aspx
Jan 26, 2018 11:07 PM|kclarke|LINK
would this be what i'm looking for ?
partial Class dealclosed
Inherits MasterTemplate ' System.Web.UI.Page
#Region " Web Form Designer Generated Code "
'This call is required by the Web Form Designer.
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.SqlConn = New System.Data.SqlClient.SqlConnection
Jan 26, 2018 11:37 PM|oned_gk|LINK
try read this