My advice would be to override the DataFormWebPart which gives you the XSLT options, and then override SetDataSourceProperties and set a new datasource to the webpart.
I am planning a blog post about that, but it may take a while. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kanwartej Singh Basrai Sent: Wednesday, 12 December 2007 2:28 PM To: [email protected] Subject: [OzMOSS] Override Search Result Webpart Hi Guys Has anyone tried to override the search results webpart with a custom one? I am trying to create a custom search results webpart that allows for wild card searches. I managed to get the wildcard searches work by creating a webpart which inherits from the Microsoft.SharePoint.Portal.WebControls.SearchResults and overriding the oninit method, but I am having troubles with rendering the control. Ideally i would like to create a custom property that can take in an XSLT and transform the search results based on that like the core search result webpart works, but any help in rendering the results would be helpful. Cheers Tej ------------------------------------------------------------------- OzMOSS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.17/1179 - Release Date: 9/12/2007 11:06 AM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.17/1179 - Release Date: 9/12/2007 11:06 AM ------------------------------------------------------------------- OzMOSS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
