A
Aijun
Hi!
I have just upgraded my vs 2003 project to vs 2005 project for my web
application project. However, there are fews things that I need your help to
ensure that I have done things correctly and there are questions that need
your help. They are all related to my button event in the development
environment.
1. When I double clicked my button, it does not link to my exisiting event.
My solution here is in my event property, I link the button click event to
the exiting event call.
Question 1: Is that the right way to fix the button click event?
I also changed private to protected for the button event (for
example, protected void Button1_Click). Is that right? If I did not do so, my
web solution has run time error.
Question 2: Do I have changed all the button click event from
private to protected in Vs 2005?
2. When I double click my button, it goes to my code behind as I expected.
But instead of positioning the cursor in the first line of the code of the
button event, the cursor is pointing at the last line of the code - at }.
Question 3. Why that is the case? How can I make the correction so
that when I double click my button, it will goes to the first line of the
code of that event?
Thank you.
Aijun
I have just upgraded my vs 2003 project to vs 2005 project for my web
application project. However, there are fews things that I need your help to
ensure that I have done things correctly and there are questions that need
your help. They are all related to my button event in the development
environment.
1. When I double clicked my button, it does not link to my exisiting event.
My solution here is in my event property, I link the button click event to
the exiting event call.
Question 1: Is that the right way to fix the button click event?
I also changed private to protected for the button event (for
example, protected void Button1_Click). Is that right? If I did not do so, my
web solution has run time error.
Question 2: Do I have changed all the button click event from
private to protected in Vs 2005?
2. When I double click my button, it goes to my code behind as I expected.
But instead of positioning the cursor in the first line of the code of the
button event, the cursor is pointing at the last line of the code - at }.
Question 3. Why that is the case? How can I make the correction so
that when I double click my button, it will goes to the first line of the
code of that event?
Thank you.
Aijun