Get Apex SQL Code (reg $249.00) for free!

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
5/6/2009 5:03:44 PM
Gravatar
Total Posts 245
mojoPortal Community Expert

Get Apex SQL Code (reg $249.00) for free!

Free Code generator worth $249.00.  They are trying to spread their product around free for awhile to create a user base and lots of templates.

It will generate code from C# or VB.NET code templates or create database procedures. etc.

This product is similar to CodeSmith.  So I thought I'd throw this out here while it's still free for those developers who don't want to shell out for CodeSmith but would still like to create their own templates.

To get a free copy go to this link

The product home page is here.

There is also a project on CodePlex that builds a SimpleDataFramework with it here.

They have a template library page here

I have not tried it yet, but a friend of mine has and likes it.

When I get time (ha ha) I'll try it out and report back.

I watched one of their camtasia video's on how to make stored procs for all your database tables and the product looked cool.

No...  I don't work there.  I just like free dev tools

Enjoy!

 

 

 

6/17/2009 11:05:08 AM
Gravatar
Total Posts 18

Re: Get Apex SQL Code (reg $249.00) for free!

Dear Rhubka,

I noted in another post you stated you used Telerik controls in one of your modules. Would you care to share anything you learnt about making them work in a acsx? I assume you put their script manager in your layout.master and the normal stuff in the web.config? Did you do anything else? Could I see your web.config to see if I missed anything?

Thanks,

Allister

6/17/2009 1:07:25 PM
Gravatar
Total Posts 245
mojoPortal Community Expert

Re: Get Apex SQL Code (reg $249.00) for free!

Hi Allister

I'd be glad to help

Here are the steps...

I always comment my changes to the mojoPortal Web.Config, but I ran the Web.Config comparison in Araxis Merge to be sure.

NOTE: you won't need the lines with RadUpload if you are not using this Telerik feature

1) Copy
Telerik.Web.UI.dll and Telerik.Web.Design.dll to Web\bin.

2) *** In the mojoPortal.Web project add the 2 Web\bin telerik dll above as References.

3) Put
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
on the second line of all ascx or aspx pages that use any telerik controls
Also... add
using Telerik.Web.UI;
to all *.cs pages


4)To Web.config <httpHandlers> section add
<!-- Telerik -->
<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
<add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />

5)To Web.config <httpModules> section add
<!-- Telerik -->
<add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />

6)To Web.config <handlers> section add
<!-- Telerik -->
<add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />

As far as putting Teleriks's script manager in layout .master.  I have thought about doing that but have not done it yet.
My reason is that many of the samples available on the telerik forums reference the standard <asp:ScriptManager
and my code seems to work fine.
I have not checked but I'm sure Telerik's Script Manager most have some extra methods or something.
Actually I think I'll try it right now and if everything works the same, I'll stick with the default <asp:ScriptManager.

Other than the Web.Config I never want to change any Core mojoPortal code or I will be creating myself a maintenance nightmare.

Hope this helps.

Rick Hubka

 

6/17/2009 2:24:17 PM
Gravatar
Total Posts 18

Re: Get Apex SQL Code (reg $249.00) for free!

Thanks very much for this Rick - it's pretty much as I'd done, although I transferred all the stand-alone RadControl web.config file to the mojoportal one (for completeness).

I tried using the standard MS scriptmanager, but then you can't use the clientside event handling of the RadControls. I've replaced the MS scriptmanager with the Telerik one, and mojoportal runs fine with it.

My problem is horridly complicated. I've created a fairly complicated standalone Telerik page (toolbars, date pickers, treeviews, grids, charts, ajaxmanager, the lot!) which works fine as a standard aspx, but when 'jammed' into my custom (ascx) module, shows some strange behavior. Displays ok, but some of the events are lost. It's all to do with the way mojo outputs the page i think.

A long night ahead!

Anyway, thanks again for your help. Much appreciated.

6/17/2009 2:53:25 PM
Gravatar
Total Posts 245
mojoPortal Community Expert

Re: Get Apex SQL Code (reg $249.00) for free!

Just in case you missed it...

When you replace the standard microsoft Script Manager in layout.Master with:
<telerik:RadScriptManager ID="RadScriptManager1" enablepagemethods="true" runat="server" />

check 2 things.

1) you kept enablepagemethods="true" because it was in the origional mojoPortal one

2)  Make sure you add
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
to the second line in the page.

Yes... you are using lots of Telerik components in your application!!!!!!!!!!

Opppp...  Forgot... I also copied the folder Web\App_DesignTimeStyle\ up to my project so my app could see most the js while I'm developing.

Good Luck

You must sign in to post in the forums. This thread is closed to new posts.