Re: wondering what the difference is

Tech-Archive recommends: Fix windows errors by optimizing your registry



There is a famous problem with VS. Sometimes it erases the events set in the
Design mode. Defining events in .aspx file saves you from this. Also you can
trace changes with version control easier.

Eliyahu

"rodchar" <rodchar@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8C30609B-A3A8-4D48-A656-972D7B684770@xxxxxxxxxxxxxxxx
> hey all,
>
> i saw the following in an article:
>
> <asp:DataGrid id="grdOrder" Runat="server"
>
> OnPageIndexChanged="grdOrder_OnPageIndexChanged"
> OnItemCommand="grdOrder_OnItemCommand"
> OnEditCommand="grdOrder_OnEditCommand"
> OnUpdateCommand="grdOrder_OnUpdateCommand"
> OnCancelCommand="grdOrder_OnCancelCommand"
> >
>
> What I want to know is, normally what i'm accustomed to is in the
> code-behind you can select the datagrid from the left-drop down list and
then
> in the right drop-down list you can select the event and it will
> automatically stub the event procedure for you.
>
> It seems to me there are two different ways to do it. Is there a
difference
> in doing it one way or another. Can someone please enlighten me on this.
>
> thanks,
> rodchar


.



Relevant Pages

  • Create Project Problem
    ... I have a large asp.net website that was created using dreamweaver, ... When i open the aspx file i cannot see the design view because of the page ... view design mode, but when i try to then view this in a web browser i get: ... Parser Error Message: ...
    (microsoft.public.vstudio.general)
  • Create Project Problem
    ... I have a large asp.net website that was created using dreamweaver, ... When i open the aspx file i cannot see the design view because of the page ... view design mode, but when i try to then view this in a web browser i get: ... Parser Error Message: ...
    (microsoft.public.vsnet.general)
  • Cant open a file in design mode....
    ... I have an aspx file that has worked fine. ... design mode I'm getting the message 'Could not open in Design view. ... problems (something about invalid schema) which fixed itself but now this. ... And what's with the constant reformatting of the document when you switch ...
    (microsoft.public.vstudio.general)