About Me

My photo
Muthupet, TamilNadu, India
SharePoint 2010

Thursday, July 26, 2012

javascript popup window when button click

login.ascx

<asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click" OnClientClick="javascript:return test(this);" />

------------------------------------------------------------

script language="javascript" type="text/javascript">
function test(obj)
{
var item = obj.id;
item = item.replace("imgedit", "hdn");
var itemid = document.getElementById(item).value;
var options = {
url:"/_Layouts/SharePointProject2/ApplicationPage1.aspx?Itemsvalue=" + itemid,
width: 600,
height: 400,
showClose:true,
title:"Edit Notes"
};
SP.UI.ModalDialog.showModalDialog(options);
return false;
}
</script>

 

Thursday, July 19, 2012

Create SharePoint 2010 Content Organizer


Site Setting à Site ActionsàManage Site Feature
ActivateàContent Organizer.
Before Active Quick Lunch











After Activate Content Organizer

                                                                    










Create Content Type for Document Library name with mydoclb, add one more column department  (choice), like HR, IT.
Create Document Library in More Option HR DOC, IT DOC Then allow content type is Documents mydoclb
Drop Off Library allow content type mydoclb
Then go for Content Organizer rules, set the doc through the Content.

Saturday, July 14, 2012

Language pack Installation in SharePoint 2010 for Windows 7

1. Choose Your Language pack from here
http://www.microsoft.com/en-us/download/details.aspx?id=3411

2.Download the file to your Local Drive

3.Open Command prompt and Extract the language pack
D:\languagepack>serverlanguagepake.exe/extract:D:\languagepack

4.Goto languagepack folder
   Select--->file--->setup--->config.xml--->open with notepad

5.Add inside <configuration>
<Setting ID="AllowWindowsClientInstall" Value="True"/>

6.Save and close the config.xml

7.Goto languagepack folder and run the setup file and Configuration vizard.

8.Come to your sharepoint site
   Regional Setting Under the Language Setting select the language

9.

10.Follow the Link:
http://www.hezser.de/blog/archive/2009/12/08/install-sharepoint-2010-language-pack-on-windows-7.aspx