Hi there
I have been trying hard to develop a web Part using CS Controls (SP2). I am simply adding CS controls like this.Controls.add( new CSControl).
But when I try to place my WebPart in a Web Page (Assuming Page is Inherited from System.Weeb.UI.Page) it gives me a runtime error saying "The operation attempted requires that the current page inherit CSThemePage".
My review says CSControlUtility.CS (GetCSThemePage) checks whether CSControl is placed inside ThemePage or not. I doubt whether CS Controls are available for non CS pages or not .
Specially in Share point where we don't have liberty to change the nature of page.
/// <summary>
{
page = System.Web.
}
I also tried to extend a DotNet site which is possible if i Inherit my page from CSPage , host my site under a CS site as a virtual directory. This requires Communityserver.config and SiteUrl.config also.
Has anybody tried to run CS Controls in a Non CS web page or Web site.
Currently, CS2007 controls (Chameleon) require that the page they're hosted on inherits from CSThemePageBase -- Chameleon uses the base page to define the page-level context for which the Chameleon controls on the page should render.
You can still access the base API. You just cannot host a Chameleon control within a page that doesn't inherit from CSThemePageBase.
CS2007 APIs play around csContext object which is not available in non CS domains. Has anybody tried and tested scope of CS APIs . Do we have any code snippet or example demostrating practical use CS APIs for Non CS Domain (Dot Net or Sharepoint).
I've worked with the CS API outside of CS -- but it does require moving over communityserver.config, siteurls.config, all of the DLLs, and the languages/ folder (from web).
External application access to CS data will be easier in CS2008 by use of the new REST API.
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com