locked
older web forms RRS feed

  • Question

  • User1096838958 posted

    I have an old web form that <g class="gr_ gr_46 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling multiReplace" id="46" data-gr-id="46">i've</g> been tasked with changing some of the functionality but I <g class="gr_ gr_74 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar multiReplace" id="74" data-gr-id="74">seems</g> to be missing something

    <%@ Page Language="vb" AutoEventWireup="false" Codebehind="details-search.aspx.vb" Inherits="MatterFlow.details_search" %>

    <g class="gr_ gr_109 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling multiReplace" id="109" data-gr-id="109">i'm</g> looking fr the file highlighted in red but <g class="gr_ gr_104 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del" id="104" data-gr-id="104">cant</g> find it anywhere in the associated project just a bunch of .resource files can anyone give me some ideas to check 

    Wednesday, January 24, 2018 11:09 PM

All replies

  • User-1716253493 posted

    Maybe like this

    <%@ Page Language="VB" AutoEventWireup="false" CodeFile="details-search.aspx.vb" 
    Inherits="MatterFlow_details_search" %>

    details-search.aspx.vb

    Partial Class MatterFlow_details_search
        Inherits System.Web.UI.Page
    
        Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load
    
        End Sub
    End Class

    Above the relation, you can rename it to another name

    Thursday, January 25, 2018 12:42 AM
  • User1096838958 posted

    but I'm trying to find the original file is there any specific way to find out where it is hiding?

    Thursday, January 25, 2018 6:14 PM
  • User753101303 posted

    Hi,

    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 ???

    Thursday, January 25, 2018 6:36 PM
  • User-1716253493 posted

    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

    Friday, January 26, 2018 12:35 AM
  • User1096838958 posted

    would this be what <g class="gr_ gr_17 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling multiReplace" id="17" data-gr-id="17">i'm</g> looking <g class="gr_ gr_19 gr-alert gr_gramm gr_inline_cards gr_run_anim Style multiReplace" id="19" data-gr-id="19">for ?</g>

    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

    End Sub

    Friday, January 26, 2018 11:07 PM