Mick,
Using the DataFormWebPart as a base class, and overriding its xml data source 
means that there are no listids or webids.

infact - what you are thinking of is datasources that were defined by 
sharepoint designer.
See, what sharepoint designer does when you add a dataform, is create an xml 
datasource in the page (with listids and webids) and then add a dataformwebpart 
and bind it to the xml data source.

By us using the webpart and binding it to our own datasource, we have no issues 
of deployment.

again - I will post an example.

________________________________
From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Mick Badran [EMAIL 
PROTECTED]
Sent: Wednesday, 12 December 2007 2:48 PM
To: [email protected]
Subject: RE: [OzMOSS] Override Search Result Webpart

Ishai – just be careful that the dataform webpart doesn’t deploy well.

Has various listIDs and WebIDs in its XML config.

Cheers,

Mick.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kanwartej Singh 
Basrai
Sent: Wednesday, 12 December 2007 2:44 PM
To: [email protected]
Subject: Re: [OzMOSS] Override Search Result Webpart

Thanks mate I will look into that. Do you by any chance have any code examples 
to get me started?

cheers
Tej
On Dec 12, 2007 2:30 PM, Ishai Sagi <[EMAIL PROTECTED]<mailto:[EMAIL 
PROTECTED]>> wrote:

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]> [mailto: [EMAIL 
PROTECTED]<mailto:[EMAIL PROTECTED]>] On Behalf Of Kanwartej Singh Basrai
Sent: Wednesday, 12 December 2007 2:28 PM
To: [email protected]<mailto:[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<http://mailenable.com/> - List managed by 
www.readify.net<http://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<http://mailenable.com/> - List managed by 
www.readify.net<http://www.readify.net/>

------------------------------------------------------------------- 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
------------------------------------------------------------------- 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



------------------------------------------------------------------- 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

Reply via email to