<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" version="2.0"><channel><title>Anas Ghanem </title><link>http://weblogs.asp.net/anasghanem/default.aspx</link><description>All about ASP.NET</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/aghanemAspnet" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="aghanemaspnet" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item><title>Microsoft Community Contributor Award for year 2011</title><link>http://weblogs.asp.net/anasghanem/archive/2011/04/29/microsoft-community-contributor-award-for-year-2011.aspx</link><pubDate>Thu, 28 Apr 2011 22:04:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7772705</guid><dc:creator>anas</dc:creator><slash:comments>1</slash:comments><comments>http://weblogs.asp.net/anasghanem/archive/2011/04/29/microsoft-community-contributor-award-for-year-2011.aspx#comments</comments><description>Today I was very surprised when I found an email from Microsoft awarding me one of the Community Contributor awards.This is really great and I would like to thank Microsoft for honoring me with such an award! I hope I can help and contribute more on Microsoft...(&lt;a href="http://weblogs.asp.net/anasghanem/archive/2011/04/29/microsoft-community-contributor-award-for-year-2011.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7772705" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/anasghanem/archive/tags/community+News/default.aspx">community News</category></item><item><title>You may get "A potentially dangerous Request.QueryString value was detected from the client" after upgrading to ASP.NET 4</title><link>http://weblogs.asp.net/anasghanem/archive/2010/05/10/you-may-get-quot-a-potentially-dangerous-request-querystring-value-was-detected-from-the-client-quot-after-upgrading-to-asp-net-4.aspx</link><pubDate>Mon, 10 May 2010 13:54:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7477943</guid><dc:creator>anas</dc:creator><slash:comments>7</slash:comments><comments>http://weblogs.asp.net/anasghanem/archive/2010/05/10/you-may-get-quot-a-potentially-dangerous-request-querystring-value-was-detected-from-the-client-quot-after-upgrading-to-asp-net-4.aspx#comments</comments><description>I was upgradting one of the DNN portals to ASP.NET 4.After Upgrading completed and when i configured it to run under asp.net 4 in iis, I started to get that exception on every postback. The mentioned exception is happening because in ASP.NET 4, the request...(&lt;a href="http://weblogs.asp.net/anasghanem/archive/2010/05/10/you-may-get-quot-a-potentially-dangerous-request-querystring-value-was-detected-from-the-client-quot-after-upgrading-to-asp-net-4.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7477943" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/anasghanem/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/anasghanem/archive/tags/ASP.NET+4/default.aspx">ASP.NET 4</category></item><item><title>.NET Framework 4 Migration Issues</title><link>http://weblogs.asp.net/anasghanem/archive/2010/04/26/net-framework-4-migration-issues.aspx</link><pubDate>Mon, 26 Apr 2010 17:00:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7460729</guid><dc:creator>anas</dc:creator><slash:comments>2</slash:comments><comments>http://weblogs.asp.net/anasghanem/archive/2010/04/26/net-framework-4-migration-issues.aspx#comments</comments><description>Before you start the migration, i suggest to read .NET 4 migration issues and breaking changes which can be found here ....(&lt;a href="http://weblogs.asp.net/anasghanem/archive/2010/04/26/net-framework-4-migration-issues.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7460729" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/anasghanem/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/anasghanem/archive/tags/.NET+4/default.aspx">.NET 4</category></item><item><title>Wow ! “Add reference” dialog in VS 2010 is showing up quickly</title><link>http://weblogs.asp.net/anasghanem/archive/2010/04/24/wow-add-reference-dialog-in-vs-2010-is-showing-up-quickly.aspx</link><pubDate>Sat, 24 Apr 2010 15:55:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7457579</guid><dc:creator>anas</dc:creator><slash:comments>2</slash:comments><comments>http://weblogs.asp.net/anasghanem/archive/2010/04/24/wow-add-reference-dialog-in-vs-2010-is-showing-up-quickly.aspx#comments</comments><description>I just wanted to mention that one of the cool enhancements in VS 2010 is that the “Add reference “ dialog will show up quickly and will load the assemblies on demand. Thanks For VS team for this enhancement !...(&lt;a href="http://weblogs.asp.net/anasghanem/archive/2010/04/24/wow-add-reference-dialog-in-vs-2010-is-showing-up-quickly.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7457579" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/anasghanem/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/anasghanem/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://weblogs.asp.net/anasghanem/archive/tags/.NET+4/default.aspx">.NET 4</category></item><item><title>Solving “The Select operation is not supported by .. unless the SelectMethod is specified.”</title><link>http://weblogs.asp.net/anasghanem/archive/2010/04/20/solving-the-select-operation-is-not-supported-by-unless-the-selectmethod-is-specified.aspx</link><pubDate>Tue, 20 Apr 2010 18:38:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7451316</guid><dc:creator>anas</dc:creator><slash:comments>2</slash:comments><comments>http://weblogs.asp.net/anasghanem/archive/2010/04/20/solving-the-select-operation-is-not-supported-by-unless-the-selectmethod-is-specified.aspx#comments</comments><description>In most cases, You will get that error when you are using a data source control(like ObjectDataSource) without setting it’s SelectMethod as data source for the DetailsView control. If you want to display one record in the detailsView control to allow...(&lt;a href="http://weblogs.asp.net/anasghanem/archive/2010/04/20/solving-the-select-operation-is-not-supported-by-unless-the-selectmethod-is-specified.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7451316" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/anasghanem/archive/tags/ASP.NET/default.aspx">ASP.NET</category></item><item><title>Tip of the day: Don’t misuse the Link button control</title><link>http://weblogs.asp.net/anasghanem/archive/2010/04/20/tip-of-the-day-don-t-misuse-the-link-button-control.aspx</link><pubDate>Mon, 19 Apr 2010 22:09:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7449950</guid><dc:creator>anas</dc:creator><slash:comments>5</slash:comments><comments>http://weblogs.asp.net/anasghanem/archive/2010/04/20/tip-of-the-day-don-t-misuse-the-link-button-control.aspx#comments</comments><description>Misuse ? Yes it is ! I have seen a lot of developers who are using the LinkButton to do redirection only ! They are handling it’s click event to just write Response.Redirect ("url”) like this: protected void LinkButton1_Click( object sender, EventArgs...(&lt;a href="http://weblogs.asp.net/anasghanem/archive/2010/04/20/tip-of-the-day-don-t-misuse-the-link-button-control.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7449950" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/anasghanem/archive/tags/ASP.NET/default.aspx">ASP.NET</category></item><item><title>Helper class to dynamically modify the Location configuration element</title><link>http://weblogs.asp.net/anasghanem/archive/2010/03/13/helper-class-to-dynamically-modify-the-location-configuration-element.aspx</link><pubDate>Fri, 12 Mar 2010 22:09:05 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7380603</guid><dc:creator>anas</dc:creator><slash:comments>3</slash:comments><comments>http://weblogs.asp.net/anasghanem/archive/2010/03/13/helper-class-to-dynamically-modify-the-location-configuration-element.aspx#comments</comments><description>The location element is used to restrict user or role access on a specific path.The path could be a folder,aspx page,ashx,axd or any other file that is handled by ASP.NET runtime. In most cases, you use that element declarativley in the web.config file...(&lt;a href="http://weblogs.asp.net/anasghanem/archive/2010/03/13/helper-class-to-dynamically-modify-the-location-configuration-element.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7380603" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/anasghanem/archive/tags/ASP.NET/default.aspx">ASP.NET</category></item><item><title>Automatic creation of membership users and saving the result to csv file</title><link>http://weblogs.asp.net/anasghanem/archive/2010/01/02/automatic-creation-of-membership-users-and-saving-the-result-to-csv-file.aspx</link><pubDate>Sat, 02 Jan 2010 19:13:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7372801</guid><dc:creator>anas</dc:creator><slash:comments>2</slash:comments><comments>http://weblogs.asp.net/anasghanem/archive/2010/01/02/automatic-creation-of-membership-users-and-saving-the-result-to-csv-file.aspx#comments</comments><description>While working with Membership and roles providers, you may need to create the users based on your data and give them a random password.For example, you may have a table with customers and you want to give each customer a user/password to login to your...(&lt;a href="http://weblogs.asp.net/anasghanem/archive/2010/01/02/automatic-creation-of-membership-users-and-saving-the-result-to-csv-file.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7372801" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/anasghanem/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/anasghanem/archive/tags/Security/default.aspx">Security</category></item><item><title>Programmatically Modifying the HyperLinks in the DataPager control</title><link>http://weblogs.asp.net/anasghanem/archive/2009/10/08/programmatically-modifying-the-hyperlinks-in-the-datapager-control.aspx</link><pubDate>Thu, 08 Oct 2009 18:17:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7372805</guid><dc:creator>anas</dc:creator><slash:comments>1</slash:comments><comments>http://weblogs.asp.net/anasghanem/archive/2009/10/08/programmatically-modifying-the-hyperlinks-in-the-datapager-control.aspx#comments</comments><description>Hi, As you know,the DataPager control can be used to Implement data paging in any data Control that implements the IPageableItemContainer interface . For now,the only control that implements that interface(In .NET 3.5 sp1) is the ListView ASP.NET control...(&lt;a href="http://weblogs.asp.net/anasghanem/archive/2009/10/08/programmatically-modifying-the-hyperlinks-in-the-datapager-control.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7372805" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/anasghanem/archive/tags/ASP.NET/default.aspx">ASP.NET</category></item><item><title>Request.Browser.Version is returning 7 when browsing with IE8</title><link>http://weblogs.asp.net/anasghanem/archive/2009/08/26/request-browser-version-is-returning-7-when-browsing-with-ie8.aspx</link><pubDate>Wed, 26 Aug 2009 18:19:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7372806</guid><dc:creator>anas</dc:creator><slash:comments>0</slash:comments><comments>http://weblogs.asp.net/anasghanem/archive/2009/08/26/request-browser-version-is-returning-7-when-browsing-with-ie8.aspx#comments</comments><description>Hi, I noticed that some developers are getting the value 7 from Request.Browser.Version property when testing the page with IE8. If you are one from those guys, then you are viewing the page in the IE8 “compatibility mode”.By using that mode, you are...(&lt;a href="http://weblogs.asp.net/anasghanem/archive/2009/08/26/request-browser-version-is-returning-7-when-browsing-with-ie8.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7372806" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/anasghanem/archive/tags/ASP.NET/default.aspx">ASP.NET</category></item><item><title>Adding custom properties to the Membership user , what are the options?</title><link>http://weblogs.asp.net/anasghanem/archive/2009/08/14/adding-custom-properties-to-the-membership-user-what-are-the-options.aspx</link><pubDate>Fri, 14 Aug 2009 18:21:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7372808</guid><dc:creator>anas</dc:creator><slash:comments>0</slash:comments><comments>http://weblogs.asp.net/anasghanem/archive/2009/08/14/adding-custom-properties-to-the-membership-user-what-are-the-options.aspx#comments</comments><description>One of a frequently asked questions is “how to add a custom columns/properties to the MembershipUser class?”. Based on my experience , there are many ways to do that : You can use the user profile services to store those custom properties, article [ here...(&lt;a href="http://weblogs.asp.net/anasghanem/archive/2009/08/14/adding-custom-properties-to-the-membership-user-what-are-the-options.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7372808" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/anasghanem/archive/tags/ASP.NET/default.aspx">ASP.NET</category></item><item><title>Getting the user Login date and time when using FormsAuthentication</title><link>http://weblogs.asp.net/anasghanem/archive/2009/07/17/getting-the-user-login-date-and-time-when-using-formsauthentication.aspx</link><pubDate>Fri, 17 Jul 2009 18:23:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7372810</guid><dc:creator>anas</dc:creator><slash:comments>0</slash:comments><comments>http://weblogs.asp.net/anasghanem/archive/2009/07/17/getting-the-user-login-date-and-time-when-using-formsauthentication.aspx#comments</comments><description>Hi, When you want to get the user login date/time&amp;#160; you can follow one of the following ways : Through the user Ticket: Get the current ticket of the logged in user and through it’s IssueDate property , you will get what you are looking for : if ...(&lt;a href="http://weblogs.asp.net/anasghanem/archive/2009/07/17/getting-the-user-login-date-and-time-when-using-formsauthentication.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7372810" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/anasghanem/archive/tags/ASP.NET/default.aspx">ASP.NET</category></item><item><title>Do you have to migrate from .NET 2.0 Ajax extensions to .NET 3.5 Ajax ?</title><link>http://weblogs.asp.net/anasghanem/archive/2009/07/11/do-you-have-to-migrate-from-net-2-0-ajax-extensions-to-net-3-5-ajax.aspx</link><pubDate>Sat, 11 Jul 2009 19:08:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7372842</guid><dc:creator>anas</dc:creator><slash:comments>0</slash:comments><comments>http://weblogs.asp.net/anasghanem/archive/2009/07/11/do-you-have-to-migrate-from-net-2-0-ajax-extensions-to-net-3-5-ajax.aspx#comments</comments><description>While i was reading the unanswered posts on the forms.asp.net, i came across a post that asks about whether we should migrate to .NET 3.5 Ajax or just stay using the .NET 2.0 Ajax extensions? .NET 3.5 Ajax is better because it provided many additional...(&lt;a href="http://weblogs.asp.net/anasghanem/archive/2009/07/11/do-you-have-to-migrate-from-net-2-0-ajax-extensions-to-net-3-5-ajax.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7372842" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/anasghanem/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/anasghanem/archive/tags/Ajax/default.aspx">Ajax</category></item><item><title>Applying custom styles for the GridView sorted Columns in .NET 4 beta1</title><link>http://weblogs.asp.net/anasghanem/archive/2009/07/10/applying-custom-styles-for-the-gridview-sorted-columns-in-net-4-beta1.aspx</link><pubDate>Fri, 10 Jul 2009 19:09:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7372843</guid><dc:creator>anas</dc:creator><slash:comments>0</slash:comments><comments>http://weblogs.asp.net/anasghanem/archive/2009/07/10/applying-custom-styles-for-the-gridview-sorted-columns-in-net-4-beta1.aspx#comments</comments><description>Hi, Before .NET 4 ,when the developer wants to provide a custom style for the column that is currently sorted (like adding “sort arrow” in the header of the sorted column) , the developer was have to handle the GridView sorted event and apply some custom...(&lt;a href="http://weblogs.asp.net/anasghanem/archive/2009/07/10/applying-custom-styles-for-the-gridview-sorted-columns-in-net-4-beta1.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7372843" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/anasghanem/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/anasghanem/archive/tags/.NET+4/default.aspx">.NET 4</category></item><item><title>'System.Data.Entity.Design.AspNet.EntityDesignerBuildProvider' cannot be instantiated under a partially trusted security policy</title><link>http://weblogs.asp.net/anasghanem/archive/2009/06/27/system-data-entity-design-aspnet-entitydesignerbuildprovider-cannot-be-instantiated-under-a-partially-trusted-security-policy.aspx</link><pubDate>Sat, 27 Jun 2009 19:12:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7372844</guid><dc:creator>anas</dc:creator><slash:comments>1</slash:comments><comments>http://weblogs.asp.net/anasghanem/archive/2009/06/27/system-data-entity-design-aspnet-entitydesignerbuildprovider-cannot-be-instantiated-under-a-partially-trusted-security-policy.aspx#comments</comments><description>Hi, After finishing one of the websites that were developed using Entity framework , I published&amp;#160; it to hosting company server.When i tried to open the newly published site, i got the following error: Parser Error Message: Type 'System.Data.Entity...(&lt;a href="http://weblogs.asp.net/anasghanem/archive/2009/06/27/system-data-entity-design-aspnet-entitydesignerbuildprovider-cannot-be-instantiated-under-a-partially-trusted-security-policy.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7372844" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/anasghanem/archive/tags/ASP.NET/default.aspx">ASP.NET</category></item></channel></rss>

