Submit Blog Login Last Submitted Blogs RSS Archive Contact  
Enjoy Web Tech
 
 
 
Enjoy Web Tech
Related to .NET Technologies C#, VB.NET, ASP.NET SQL server,Sharepoint MOSS 2007 and Google Services like Blogger analytics
Language: English
RSS Feeds for this Blog
Statistics
Unique Visitors: 0
Total Unique Visitors: 2801214
Visitors Out: 17989
Total Visitors Out: 81119
 
 
Articles
Meditation Techniques from beginning to end in Hindi
2011-11-19 07:02:00
This video tell about deep meditation. A journey from beginning to end. It tell using 3D models that how easy and simple to meditate.Meditation techniques are easy. For full knowledge of kundalini jagran. Awaken 6th sense. Watch this video. It will tell in scientific way how we are part of universeReally this is great video!!!...
 
Song: Shambho Shankar Namah Shivaya
2011-05-29 09:28:00
- Avdhoot Baba Shivanand Ji SongWhen you are in great tension or too much tired, Listen this song carefully and look at the pictures and feel weight less. Har Har Mahadev!!!...
 
Custom role provider based sitemap navigation in asp.net
2010-03-12 09:00:00
Object: Most ASP.NET Applications implement roles to deal with role permissions and security. Sometimes, it is required to keep existing database structure to manage Roles. So, custom role provider is used for this. Here are the steps to implement navigation based on the custom role provider.Step1:Right click on Project in solution explorer > Add New Item > Select Class and Give Name CustomRoleProvider.cs. Click OK for App_Code folder if it is not created.Step2:Inherit class with : RoleProvider. See following:And click on “Implement abstract class ..” option.Now implement GetRolesForUser method.public override string[] GetRolesForUser(string username) { string[] ret = null;// … Get Roles for a user logic here…// I have implemented logic to get roles from databa...
 
Add KickIt Badge for DotNetKicks.com in blogger
2009-12-28 11:26:00
We can add KickIt Badge for DotNetKicks in blogger using the javascript. But, It is loaded after loading all elements even it is in middle of page. Suppose, your page has a lot of ads and links and you have added DotNetKicks javascript below the post then It appears after loading all links/ads/content. Here are the steps to fix this problem without using javascript. 1. Login to blogger and go to Layout >> Edit HTML 2. Check "Expand Widget Templates" 3. Search 4. Paste following code after this where you want to place. <!-- DotNetKicks --> <a expr:href='&quot;http://www.dotnetkicks.com/kick/?url=&quot; + data:post.url'> <img border='0' expr:src='&quot;http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=&quot; + data:post.url'/> </a> It will load DotNetKicks badge immediately. Enjoy this....
 
.NET and social networking sites
2009-12-24 11:20:00
Social networking websites function like an online community of internet users. Depending on the website in question, many of these online community members share common interests in hobbies, religion, or politics. Once you are granted access to a social networking website you can begin to socialize. This socialization may include reading the profile pages of other members and possibly even contacting them. Here are the links of common Social networking sites API and sample wrapper for .NET developer. FaceBook: API: http://wiki.developers.facebook.com/index.php/User:C_Sharp http://wiki.developers.facebook.com/index.php/User:ASP.NET SDK: http://facebooktoolkit.codeplex.com/ Code: http://facebook.codeplex.com/ Others: http://msdn.microsoft.com/en-us/windows/ee388574.aspx Twitter: API: http://apiwiki.twitter.com/ Others: http://www.devx.com/webdev/Article/40359 Code: http://twittervb.codeplex.com/ LinkedIn: API: http://developer.linkedin.com/community/apis Code: http://developer.l...
 
Active Directory group in sharepoint
2009-12-12 09:53:00
what is the best approach for assigning permission levels in SharePoint? One recommendation is to use AD groups or SharePoint groups that contain AD groups rather than individuals to control access. It's much easier to clean up AD group membership when an individual leaves than to track down all the places where you've given them individual access (including membership in SharePoint groups). Most Intranet based organizations use Active Directory to manage user profiles and authentication process in the network. In SharePoint, Active Directory has been used to authenticate users and build user profiles using basic personalization features. This means that if the organization uses Active Directory, SharePoint becomes a great browser-based tool in which to work because a user who logs in to the domain does not typically need to enter credentials again to access a SharePoint site. This is because when the system administrator configured the SharePoint server, it was added as a member of...
 
unable to create specified activex control Office add-in error
2009-12-04 10:00:00
Add-ins that directly implement ICustomTaskPaneConsumer expose one or more ActiveX controls that you must register. To use the test add-in for ICustomTaskPaneConsumer, you can either rebuild the add-in, which registers it, or simply register the add-in assembly that contains the managed ActiveX control. You must also be sure to rebuild or re-register the shim, so that the shim registration overrides the add-in registration. public class TaskPaneX : Office.ICustomTaskPaneConsumer { private Office.ICTPFactory _taskPaneFactory; internal Office.CustomTaskPane _taskPane; public void CTPFactoryAvailable(Office.ICTPFactory CTPFactoryInst) { try { _taskPaneFactory = CTPFactoryInst; _taskPane = _taskPaneFactory.CreateCTP( "ContosoAddin.SimpleControl", "SimpleControl", Type.Missing); } catch (Exception ex) { MessageBox.Show(ex.ToString()); } } } 1. Make sure user control class has Comvisible...
 
_spbodyonloadfunctionnames is undefined Javascript Error in sharepoint
2009-11-22 00:09:00
_spBodyOnLoadFunctionNames: Generally, ASP.NET 2.0 Master page concept is used for sharepoint pages and the “body ” is defined in master page. So, the content page is not able to add function to the body’s onload event directly. In order to work around this limitation, SharePoint provides the “_spBodyOnLoadFunctionNames” array. When the body is loaded, the onload event handler executes each function whose name is contained in this array. We added “myFunction” to the array so that it would run when the body’s onload event fires. _spBodyOnLoadFunctionNames.push("myFunction "); To fix the javascript error: View source of sharepoint page from browser. 1. Make sure in the head tag, init.js is included. <script type="text/javascript" language="javascript" src="/_layouts/1033/init.js?rev=VhAxGc3rkK79RM90tibDzw%3D%3D"></script> 2. Body onload is properly defined. <BODY scroll="yes" onload="javascript:if (typeof(_spBodyOnLoadWrapper) != 'undefined') _spBodyOnLoadW...
 
Get Custom Document Properties / Document Information Panel Values using C#
2009-10-04 00:57:00
Object: To retrieve custom document properties of office documents using C#.Generally, it is required to get or set custom document properties programmatically. For example, when document is checked out from sharepoint server then document information panel shows server properties. Our object is to modify the properties using C# in word. But problem is document type. Before office 2007, the document is binary file and in Office 2007, it is compressed XML file. Here is the sample code to do this. In the code, all the properties name are passed as hashtable keys. //Collection of all column NamesHashtable ht = new Hashtable();//Collection of name and values of custom document propertiesList<ListItem> lstTags = new List<ListItem>();//Active DocumentMicrosoft.Office.Interop.Word.Docum...
 
Managing custom task panes across multiple documents in shared add in for office 2007 using .NET
2009-10-04 00:43:00
I see a lot of articles on this topic but all are related to VSTO. But I required this for shared addin. I followed MSDN to create custom task pane using shared addin. It works fine but when multiple documents are opened then it appears only for the first document. I have implemented to show document wise custom task pane.using MSword = Microsoft.Office.Interop.Word;public class Connect : Object, Extensibility.IDTExtensibility2, ICustomTaskPaneConsumer {public Connect() { }public void OnConnection(object application, Extensibility.ext_ConnectMode connectMode, object addInInst, ref System.Array custom) { applicationObject = (MSword.Application)application; addInInstance = addInInst; }public void OnStartupComplete(ref System.Array custom) { applicati...
 
 
 
 
eXTReMe Tracker