Posts

Showing posts from September, 2013

Custom control Silverlight 4

Custom control Silverlight 4             see the following links for basic understanding of custom controls in Silverlight. See the links one bye one, so that you can understand How to create a Custom Control in Silverlight? How to design a Custom Control by editing the Part Template? How to implement Template Binding in Silverlight Custom Control? How to access Control Template parts from Code Behind? So what's the difference between Custom Control and User Control? or you can see this link also http://www.codeproject.com/Articles/177974/How-to-implement-Template-Binding-in-Silverlight-C

Timer Jobs in SharePoint 2010

Image
Timer Jobs in SharePoint 2010 What is a  Timer   Job ? A  Timer   Job  is a periodically executed task inside  SharePoint  Server. It provides us a task execution environment. For example, we can execute tasks like: update list item everyday, send email every hour Default Timer Jobs Inside Sharepoint: There are many  timer   job s inside  SharePoint  which do internal tasks like: Send emails Validate sites Delete unused sites Health analysis Product versioning Diagnostics These tasks will having execution periods like: Minute Hour Day Week Month see this link for more details           Here I will explain how to create a SharePoint timer job using visual studio.Do the following steps. Step 1 :  Open visual studio->New Project->SharePoint-> Empty SharePoint Project->Give Project name(here I gave as TimerJobExample )-> click Next->Give your url->Deploy as Farm solution->click Finish Step 2:  Add

Business connectivity services - External list in SharePoint 2010

Image
Create External list in SharePoint 2010 :        In SharePoint you can create a external list(connect with SQL Server Db & table)Here i will explain how to do that.Before that you need to have or create one database and one table(which we need to connect as external list).If you already have the do the following steps,otherwise create one Database and one table and do the following. Steps to Create External List : 1.Open SharePoint designer & give your site url click open. 2.Click External Content Types(which was in left side) -> click External content Type(Placed in Top Ribbon) 3.Give name for External content Type and click-> Click here to discover data source and define operations shown in below 4.Click Add New Connection->select SQL Server click OK 5.Give  SQL Server name and Your Data Base name then click OK 6.If you are facing any error(like Below image) while clicking OK, You need to add users permissions for your database in your SQ

Remove the Quick Launch in SharePoint 2013

Image
Remove the Quick Launch in SharePoint 2013 You can remove this Quick launch bar in two ways. Way 1 :    You can open sharepoint designer and  uncheck the option to "Display Quick Launch".But in this option there will be a empty space in left side,So its not look good Way 2 :   Option two is add a Script Editor webpart and use the following css to the Script Editor,you can place the web part anywhere in the page.Do the following Edit the page Add a web part.  Select Script Editor from the Media and Content Category Choose Edit Snippet Paste in the CSS  CSS : <style type="text/css"> #sideNavBox { display: none; } #contentBox { margin-left: 0px; } </style> Screenshots : 

Silverlight Bing Map Control Example :

Image
Silverlight Bing Map Control Example :         Hi here I will explain how to build a bing map control using silverlight. In this example I explained how to show pushpin, and some details one the bing map control. Output Screen :  Reference dll :       Before you start coding you need to add the following dll files in your silverlight program (in solution explorer->References->add references) "Microsoft.Maps.MapControl.dll" "Microsoft.Maps.MapControl.Common.dll" Where to get the dll files : To get this dll what you need to do is go to http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=2949 and download the exe file.After you install that file,you will get the dll files from the following location  C:\Program Files (x86)\Bing Maps Silverlight Control\V1\Libraries - you will find: Microsoft.Maps.MapControl.dll Bing Map KEY :        Before use the bing map control you need to get  CredentialsProvider key from  ht