Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Web parts

  Asked By: Landon    Date: Dec 10    Category: Sharepoint    Views: 513

How to make two web parts related to each other

(i want to use two web parts one is containing links and the other
is to open the links inside it)

Share: 

 

6 Answers Found

 
Answer #1    Answered By: Jason Anderson     Answered On: Dec 10
 
Answer #2    Answered By: Uttam Vanjare     Answered On: Dec 10

I'm a newbie in web  parts, do you know any website, which contain web parts
tutorial ?

 
Answer #3    Answered By: Jack Carroll     Answered On: Dec 10

Iam working on sharepoint portal server2003.

i have a query i wud be glad if any of you can answer my question
i have developed a webpart using visual studio.net but when i have
switched to design this page and importing ,the web  part is getting
imported but when iam dragging and dropping it on a page it is giving
me following "the webpart is not registered as safe on this site"

I have used the web.config file and set Safe property of the
Safecontrols tag to true.

 
Answer #4    Answered By: Chandrabhan Agarkar     Answered On: Dec 10

If you get this error you need to check 3 files
1.Manifest file
2.Web.config
3.dwp file

in manifest file In safe conntrol tag you need to add the name of class where
there file name class.dwp .It should be also similar to name of dwp file

in webconfig.

<SafeControl Assembly="namespace" Namespace="namespace" TypeName="*" Safe="True"
/>

in dwp file

<?xml version="1.0" encoding="utf-8"?>

<WebPart xmlns="http://schemas.microsoft.com/WebPart/v2" >

<Title>All Mphasis Communities</Title>

<Description>All Mphasis Communities</Description>

<Assembly>Namespace

</Assembly>

<TypeName>Namespace.Classname</TypeName>

<!-- Specify initial values for any additional base class or custom properties
here. -->

</WebPart>

its is advisable to remove common name in class as webpart and put our own
classname

 
Answer #5    Answered By: Lonnie Cohen     Answered On: Dec 10

I have had the same problems in the past and found this tip invaluable: One
can use the Strong Name Utility [sn.exe] to retrieve the Public Key Token from
an assembly, by using the -T switch. While the -t [lower case] will get the
Token from a .snk file, the -T [upper case] will get it from an assembly [.dll].
Make sure your assembly is indeed strongly named before you continue.
Sometimes for inexplicable reasons, the assembly is not strongly named and
you must recomplie after closing Visual Studio and opening again.

 
Answer #6    Answered By: Ruchir Satam     Answered On: Dec 10

Now i am able to successfully develop webparts.

 
Didn't find what you were looking for? Find more on Web parts Or get search suggestion and latest updates.




Tagged: