Hi,
There was a requirement to redirect a user when (s)he clicks on a Document Library link from Quick Launch to a Shared Network Location, where the actual documents would reside. This was achieved in the following way.
Go to Site Actions ->Edit Page(of the document library in this case). Click Add a Web Part. In the Dialog Box that appears, pick Content Editor Web Part and click Ok. Click on Open the tool pane and click on the Source Editor button, add the following code to the Source Editor window.
<meta equiv="refresh" content="10;url=\\shared location">
where 10 is the number of seconds, after which the refresh occurs.
This was referred from the following link.
http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=48
Monday, December 21, 2009
Wednesday, December 2, 2009
Connected Web Parts in MOSS
Check out this nice link for Developing Connected Web parts.
http://www.codeproject.com/KB/sharepoint/ConnectingCustomWebParts.aspx
http://www.codeproject.com/KB/sharepoint/ConnectingCustomWebParts.aspx
Currency to Decimal Conversion in .Net
Check out the nice link below to Convert Currency back to Decimal.
WorkFlow Dev Link MSDN
Nice link for Developing Workflows in Sharepoint using Visual Studio 2008
http://msdn.microsoft.com/en-us/library/cc936631.aspx
http://msdn.microsoft.com/en-us/library/cc936631.aspx
Monday, October 12, 2009
Thursday, July 30, 2009
Friday, July 17, 2009
How to add Web Resources (ascx,aspx,asmx etc) to a Class Library in Visual Studio
Open the .vbproj or .csproj file of your Class Library in notepad. The reason you have to open it in notepad and not in Visual Studio is that, you cannot open that file in Visual Studio, directly. But it can be opened in Visual Studio after unloading the project. Anyways, after opening this file, add the following line below <ProjectGuid> tag.
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{F184B08F-C81C-45F6-A57F-5ABD9991F28F} </ProjectTypeGuids>
Save it and close it and reopen the project. Thats it. You can add any ascx,aspx, asmx to a class library in Visual Studio.
Save it and close it and reopen the project. Thats it. You can add any ascx,aspx, asmx to a class library in Visual Studio.
Labels:
Adding User Controls,
ascx,
asmx to Class Library,
aspx
Subscribe to:
Posts (Atom)