Big Questions

Jul 31, 2008 at 12:34 PM

I have en big problem and maybe you can help me. 
How can I project in SharePoint debug with Visual Studio 2008 Pro?
Or is that not possible?
And how do I do if I own a navigator wants to add? Are there a guide?

Yours greet,

Aug 1, 2008 at 6:55 AM

Debugging web parts with visual studio 2005 and 2008 is unfortunately not that trivial.
But there are some descriptions on the net which are very useful.

A good starting point is:
and because the installed DLL's are in the GAC it might be worth reading this one as well:

I'm not sure if I understand the second part of your mail correctly.
But if you want to add a navigator which is already defined in the index-profile you can go to the search page.
Choose "Site Actions" -> "Edit Page".
There you can now click on "Add a Web Part" in any of the zones you want to add the navigator.
Then a popup with available web parts pops up.
In the "ESP Search WebParts" select the "ESP Navigator" (Note: ESP Navigator is for displayin a particualar navigator where ESP Navigators displays all navigators defined in the index-profile)
and press the "Add" button.
Then a new web part should appear on the page. Select "Edit" -> "Modify Shared Web Part" on this web part which will bring you to the navigator properties.
There you can then select the navigator by name in the Drop down and modify display settings if needed as well.
Klick ok and the navigator will appear on the page.
Aug 1, 2008 at 7:44 AM
Edited Aug 1, 2008 at 10:22 AM
Thank you for the help.

No. I want to create your own navigator of the search as graphs "Chart". Unfortunately, work instructions for debugging.

And where the code should be registered everywhere? And how do I add this new project folders and files?
To this afterwards to be able to?

Yours greet,


Can you give me maybe a guide like you have debugt this project? Pleace
Aug 7, 2008 at 9:31 AM
About debugging the ESP Search WebParts I cannot give you any better description on what one has to do then the links I provided above.
We do it the same way as described there and as much as I know this is the only way.

About extending the navigator. Do you really need to write C# code for that?
Have you checked the possibility to change the XSLT code to do that?

Aug 7, 2008 at 10:03 AM
So I want to make a swf file involve the charts and which needs an XML file. I know of no way represent xslt charts. Or is there a possibility Flash code in XSLT part?
Aug 8, 2008 at 10:39 AM

No the thought was to in xslt just create the html code which calls the swf file like described on this two sites.

But the problem there is on how to pass the xml data to the swf file.
In the standard xslt it is not possible to write into a file. Seems easy doable with in java as there exists some extentions to xslt :-(

If you want to use swf for the navigators. How did you intend to pass the data to it?
The only reasonable way to do that seems to store a temp file on the server and pass it as parameter to the swf file.
In this case you can create a new Visual Studio 2008 Project and create a web part extending the ESPNavigator webpart and instead of using the created xml file for rendering with
xslt write it to a file where the swf can read it and create the html code loading the swf file in the render method.

I have created such a Visual Studio Project for VS 2008 which you can use as a base for that.
Get it here: (

Aug 8, 2008 at 1:45 PM
Thank you.

It was following.

I wanted the link below the chart to find swf to bind a navigator and so the result represented graphically.

Could you perhaps even a German description of your write all the code?

Yours greet,


Aug 9, 2008 at 6:28 PM
Hello. And thanks for the very good answers.

I have another question and maybe you can help me again?

I have now created an XML file the Local stored.

Now I would like the results of the search, the individual fields in the XML file installed.

How can I do? And where do I call the method?

The insert the SWF has unfortunately not working? Maybe you have to have an idea. Or do I have the method created by the XSLT again call somewhere in the Web presented.
And perhaps you can send me briefly describe what happens in the source code (which methods are called) if I do a search?

Since I can not debug code.

For your help I would be very grateful.
Yours greet,