The EntitySpaces Community

Share and learn about the EntitySpaces Architecture.
Welcome to The EntitySpaces Community Sign in | Join | Help
in
Home Forums Photos

AdminGrid Next Step?

Last post 11-28-2007, 11:32 PM by ibondy. 6 replies.
Sort Posts: Previous Next
  •  10-05-2007, 7:38 AM 5638

    AdminGrid Next Step?

    What is the step after I put the ASCX's in the GenderatedUserControls and converted them to a web application? How do I use them in my project? Thanks, Gary
  •  10-05-2007, 7:47 AM 5639 in reply to 5638

    Re: AdminGrid Next Step?

    If you have already added your references, updated your config info, generated your business objects, and then your grids. You should just be able to run the project to get to the index page. Index.aspx for ASP.NET. If using DNN then your modules 'View' control is Index.ascx. They work the same way. Does that clear it up?

    Regards,

    Scott Schecter
    EntitySpaces | My Site
  •  10-05-2007, 8:12 AM 5644 in reply to 5639

    Re: AdminGrid Next Step?

    Yes, but...let me explain my environment a little and then get your opinion.

    I have a data access layer (DAL) project, and a web project that has a reference to the DAL project. That way, I do not have to go digging through the asp.net temporary files for my design time databinding. With the previous aspx templates, I targeted (in MyGeneration) the "admin" directory of the web project, generated the admin templates, and included an Imports for the dal and that was it.

    Now, I have added the Gridloader project, and renamed it to <projectname>_admin and have targeted the generatedusercontrols directory. I have included a project reference to the DAL. It seems that I also need to include the web.config from my main project in the gridloader project so that it can find the sqlserver the ascx's are looking for.

    I would like to merge the Gridloader contents into my main project and have the Admin directory point to the admin templates, that would make my life easier.

     What are your thoughts?

     Thanks for the quick reply,

    Gary

  •  10-05-2007, 8:21 AM 5646 in reply to 5644

    Re: AdminGrid Next Step?

    You do not need to put your business objects in a separate project. WAP (Web Application Projects) build into assemblys (dll's). You should not have to browse the asp.net temporary files, but rather just to /bin of your project. If you chose to try and recreate the gridloader operations in a different project that would be unsupported, but basically you would have to duplicate the functionality found in Index, Navigation, and possibly the Utilities class. I would first get it working in the GridLoader project we provide. From then any modifications you make will be up to you.

    Regards,

    Scott Schecter
    EntitySpaces | My Site
  •  11-28-2007, 6:00 PM 6914 in reply to 5646

    Re: AdminGrid Next Step?

    I have same problem. 

    I am little lost here. I also created GridLoader project went throught all the steps and all is great when I point to index.aspx page.

    Now how do I use this in my web site project? I referenced Gridloader.dll in my web site but when I point to index.aspx I get error page not found.

    How do I use individual ascx controls? Do I need to inherit from GridLoader.Index?

    Thanks

    Ivan Bondy

  •  11-28-2007, 6:13 PM 6915 in reply to 6914

    Re: AdminGrid Next Step?

    Ok, as stated this depends on which version of the GridLoaders you are using. At a high level Index.aspx dynamically loads the generated usercontrols for each table/entity dynamically. If you look in our provided GridLoader projects you should be able to see this. As previously stated, I would get it working with the provided stock GridLoader projects then modify as needed. It should be trivial to integrate with your project however we cannot know the specifics of each clients projects in adanvnce, and thats why we provide it in such a generic term.

    Regards,

    Scott Schecter
    EntitySpaces | My Site
  •  11-28-2007, 11:32 PM 6916 in reply to 6915

    Re: AdminGrid Next Step?

    Thanks I got working.
View as RSS news feed in XML