22 Mart 2012 Perşembe

Using DevExpress controls in Sharepoint page

Hi,
As you know DevExpress has great controls that you might find very handy to use in your Sharepoint web pages or web parts

To use a control what you need to do is:

- Register the control dlls  to GAC.
You can either use DevExpress Registerer tool for that, or you can manually copy the necessary dll s into assembly folder. I did the first.

- Register all the necessary dlls in aspx
You need to make sure that you have registered all the necessary control dll s in your aspx page.
If you just drag and drop the control into the page it does not register all the dll's. Just open the project References and add the line like below above your aspx page
<%@ Register
Assembly="DevExpress.Web.v8.2, Version=8.2.4.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
Namespace="DevExpress.Web.ASPxRoundPanel" TagPrefix="dxrp" %>



You need to register the HttpHandler module.
You just need to add several lines into your portals web config.
Here is the link for that:
http://www.devexpress.com/Support/Center/p/K18262.aspx

- You need to add the necessary dll into SafeControl list.
In order to do that you need to add several lines into your portals web config.

Here is the link for that
http://www.devexpress.com/Support/Center/KB/p/K18109.aspx


Yeah, that's pretty much it, I think : )

Hiç yorum yok:

Yorum Gönder