in

dashCommerce

An ASP.NET Open Source e-Commerce Application

How to edit web controls in admin pages?

Last post 01-21-2009 3:51 PM by crholliday. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 01-15-2009 2:53 PM

    How to edit web controls in admin pages?

    HI all,

    I have a newbie question here.

    I started looking into extending dashCommerce to suit some of my specific needs, and I have been extending the schema for the dashCommerce_Store_Product table and a couple others. While that went well, I now wanted to edit the Admin controls (e.g. admin/controls/product/general.ascx) to add text boxes so I can enter values for the new fields.

    I noticed that the are comments that say that the controls are generated by a tool. Since I am not very savvy with web controls, can anyone please tell me what tool was used to generate the controls, and how I can get a hold of this tool? Is this something that is built into Visual Studio, and if so, how can I invoke it from VS?

    Any help will be appreciated!

    Thanks,
    - W.

    Filed under: , ,
  • 01-16-2009 9:48 AM In reply to

    Re: How to edit web controls in admin pages?

    The .ascx and the .cs are not tool generated. The .ascx.designer.cs is generated by Visual Studio. You can extend the ascx and .cs as needed.

     

  • 01-21-2009 12:41 AM In reply to

    Re: How to edit web controls in admin pages?

    Hi crholliday,

    Thanks for the reply! And to follow up on that: should I be worried about the .designer.cs file going out of sync while editing the .ascx and .cs files? Will I ever need to execute intermediate steps to cause Visual Studio to re-generate the designer files after I modify the .ascx and .cs files, and if so, what would those steps be?

    Thanks again,
    - W.

  • 01-21-2009 3:51 PM In reply to

    Re: How to edit web controls in admin pages?

    I honestly don't know which steps will update the designer but I believe it updates automatically. Build it and see if it throws an error.

Page 1 of 1 (4 items)