double click reaches to inline code

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
 
G

Guest

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="...." ?
 
G

Guest

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
 
D

Deep

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top