Thursday, 20 September 2012

How to Enable Anonymous Access ?

Hi,

If you want to enable anonymous access, after creating your Web Applications, then here are the steps to enable it to your site.

Step 1 : Goto Central Administration ->Application Management ->Manage Web Applications




Step 2 : Select the web application for which you need to enable anonymous access



 3 : Select Default (Authentication Providers)



 Step 4 : Select Enable anonymous access and Click Save.

 Step 6 : GoTo the site for which you need to enable anonymous access
 Step 7 : Click on Site actions -> Site Permissions
 Step 8: Click on Anonymous Access 



And for Step 9, we have three options to select
  1. Entire Web Site - Select this option to enable Anonymous access to the entire web site
  2. Lists and Libraries - Select this option to enable Anonymous access only to your lists and libraries, This way you can provide access only to a particular list or a library for your anonymous users.
  3. Nothing 
and than click OK.




Step 10: Done, anonymous access is enabled for your site's Lists and Libraries.


That’s all, If you followed these steps properly you should have now Anonymous Access enabled.

Thursday, 13 September 2012

Picture Library Slide Show Images within fixed size

This slide show web part displays the images with it's original size. Due to this the web part changes its size according to the image size. If we want the slide show to run within the specific size on the page then we need to control the size of the images to the fixed length during runtime.

To achieve this we need to add the picture Library Slide Show web part & insert the following script in that web part.

<style type="text/css">

.ms-WPBody TD {
    PADDING-BOTTOM: 0px; BORDER-RIGHT-WIDTH: 0px; MARGIN: 0px; PADDING-LEFT: 0px; WIDTH: auto !important; PADDING-RIGHT: 0px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: auto !important; VERTICAL-ALIGN: middle; BORDER-LEFT-WIDTH: 0px; PADDING-TOP: 0px
}
.ms-WPBody TD DIV {
    PADDING-BOTTOM: 0px; BORDER-RIGHT-WIDTH: 0px; MARGIN: 0px; PADDING-LEFT: 0px; WIDTH: 100% !important; PADDING-RIGHT: 0px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: auto !important; VERTICAL-ALIGN: middle; BORDER-LEFT-WIDTH: 0px; PADDING-TOP: 0px
}
.ms-WPBody TD IMG {
    PADDING-BOTTOM: 0px; BORDER-RIGHT-WIDTH: 0px; MARGIN: 0px; PADDING-LEFT: 0px; WIDTH: 260px !important; PADDING-RIGHT: 0px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: 190px !important; VERTICAL-ALIGN: middle; BORDER-LEFT-WIDTH: 0px; PADDING-TOP: 0px; align: center
}
.s4-wpcell-plain {
    PADDING-BOTTOM: 0px; BORDER-RIGHT-WIDTH: 0px; MARGIN: 0px; PADDING-LEFT: 0px; WIDTH: 100% !important; PADDING-RIGHT: 0px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: auto !important; VERTICAL-ALIGN: middle; BORDER-LEFT-WIDTH: 0px; PADDING-TOP: 0px
}
.ms-PartSpacingVertical {
    MARGIN-TOP: 0px
}
.style1 {
    COLOR: #808080
}</style>

Tuesday, 4 September 2012

Host the Project(asp.net) in IIS Fixing the Error


i Have the webapplication in to server IIS, its Error Will come.
Its was

"Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'"

I will  use this Command line as below,

This can be accomplished by using the –iru parameters when running aspnet_regiis.exe as follows:aspnet_regiis.exe -iru
 
start-> Run--> 

         c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -iru


KendoUI Chart using in AngularJS with Dynamic data

Here i'm going to do the KendoUI Chart using AngularJS  and getting dynamic data from angular services. First need to down-lode the r...