Error Creating Control - mp1 (HELP)

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
3/29/2011 11:56:51 PM
Gravatar
Total Posts 2

Error Creating Control - mp1 (HELP)

Hi Everyone,

I was creating a custom module, when i added an ascx page, then i go to the designer view of VS2010. I was trying to add a devexpress grid view, or the mojo grid, and edit it via the designer, but i cant see it there, only the designer error. Gone thru many work around, still no luck. Any of you has suggestions on how to get over this matter, and get the designer view to work well for the controls? Thanks much!

Regards,

Jeff

Here's the link for the image:http://clip2net.com/s/R8jY

 

3/30/2011 2:00:52 AM
Gravatar
Total Posts 245
mojoPortal Community Expert

Re: Error Creating Control - mp1 (HELP)

Hi Jeff

The DevExpress ASPxGridView works great in custom mojoPortal aspx feature pages and can be used in design view.

Make sure that in your project AND the mojoPortal Web project that you have added references to:
DevExpress.Data.v10.2
DevExpress.Web.ASPxEditors.v10.2
DevExpress.Web.ASPxGridView.v10.2
DevExpress.Web.v10.2

and these 4 dlls should be in the bin folder of your project AND the mojoPortal Web project.
For the version you are using.

Your aspx page should also have these 2 lines starting at line 2 for the version you are using.

<%@ Register Assembly="DevExpress.Web.ASPxGridView.v10.2, Version=10.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v10.2, Version=10.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>

I use a SqlDataSource to populate my grid

Hope this helps

Rick
 

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