double click reaches to inline code

  • Thread starter Thread starter Deep
  • Start date Start date
D

Deep

Dear Sir/Madam,
I am beginner in asp.net. Some time when I click aspx page any
button or any control, it reaches to inline code and some time goes to
code behind. What is its cause?

Please help me
Thanks in Advance
 
Dear Sir/Madam,
  I am beginner in asp.net. Some time when I click aspx page any
button or any control, it reaches to inline code and some time goes to
code behind. What is its cause?

Please help me
Thanks in Advance

Do you have <%@ Page CodeBehind="...." ?
 
I am working on 2008 VSS.
I have code file

I did not ask about code file, I asked do you have CodeBehind
attribute in the @Page directive at the top of the aspx file?

When you have <%@ Page CodeBehind="Page1.aspx.cs" then IDE knows that
it should open Page1.aspx.cs to edit the code. When you don't have
that attribute the inline code is used.

P.S. VSS = Visual Source Safe
 
I did not ask about code file, I asked do you have CodeBehind
attribute in the @Page directive at the top of the aspx file?

When you have <%@ Page CodeBehind="Page1.aspx.cs" then IDE knows that
it should open Page1.aspx.cs to edit the code. When you don't have
that attribute the inline code is used.

P.S. VSS = Visual Source Safe- Hide quoted text -

- Show quoted text -

Ok thanks I understand the problem
 
Back
Top