Ahmed Abudaqqa's Recent Blogshttp://www.ahmedblog.comAhmed Abudaqqa's Recent BlogsAtom Generated by www.ahmedblog.comAhmed AbudaqqaTip: Be careful when making quires using LINQ<p>If you’re using LINQ just be careful when you are using functions or properties while comparing the data</p> <p>For example if you have a date field and you want to get today items, if you use the following code</p> <p class="MsoNormal" style="margin...2010-02-16T12:48:27Z.NETAhmed AbudaqqaDeploy a cutom workflow developed by VS to MOSS 2007If you create a workflow using Visual Studio for WSS 3.0 and you want to copy or move this workflow to other server like moving it from development server to the production server, so you have to follow these steps<br /> <br /> -&nbsp; Create a folder w...2009-08-05T13:40:39ZSharePointAhmed AbudaqqaCreating a SharePoint 2007 Web Part with Custom PropertiesSometimes you want to allow the user to customize the web part so the custom properties will help you on this with a good user friendly interface like changing the title for the web part.<br /> <br /> The property for the web part same like any proper...2009-07-22T09:32:44ZSharePointAhmed AbudaqqaEnable Server Side Code in SharePoint PagesIf you trying to writing server side code in a page in your SharePoint write you will get the error <br /> <br /> <span style="font-weight: bold; ">An error occurred during processing of </span><span style="font-style: italic; ">{page filename}</span>...2009-07-20T08:19:30ZSharePointAhmed AbudaqqaUsing Custom ASP.NET Controls in a SharePoint Web Part<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none">You also can add a custom controls “ascx” files which is allowing you to put your controls, html layout, css, javascripts and events handlers, so you can cr...2009-07-16T09:21:46ZSharePointAhmed AbudaqqaUsing ASP.NET Controls in SharePoint Web PartI explained before <a href="ShowBlog.aspx?Id=50b61564-5810-425c-b484-f6fd7fc01c1a" target="_blank">how to create a simple SharePoint web part</a>, but if you want to use ASP.NET controls or any of server side controls you can add it in the Controls proper...2009-07-16T08:12:31ZSharePointAhmed AbudaqqaCreate Simple Web Part for SharePoint 2007To create Web Part for MOSS 2007 you can create new Class Library Project with C# or VB and you have to add “System.Web”, “Microsoft.SharePoint.dll” to the references of the project.<br /><br />After that you can create class and inherit a WebPart class f...2009-07-14T10:42:33ZSharePointAhmed AbudaqqaCustomize MySite style in MOSS 2007There are two views to the mysite, the first one for the public view for the anonymous or the other users and the other one for the private view for the same user. <br><br>To change the public view mysite you can change it by SharePoint Designer and open ...2009-07-13T06:28:54ZSharePointAhmed AbudaqqaMOSS 2007 Backup StrategyTo Backup the portal web site which contains everything except users profile and my site and search index database<br><br><strong>Stsadmn –o backup –url http://servername –filename c:\folder\file.bak –overwrite</strong><br><br>The filename path it can be ...2009-05-28T11:28:25ZSharePointAhmed AbudaqqaSend a Meeting Request with System.Net.MailThe calendar appointment email is just normal email attached with ics file contains appointment details.<br>This code will show you how to create simple ics file and how to attach it with the email.<br><div><p style="font-family: Courier New; font-size: 9...2009-05-17T08:50:15ZASP.NET