I am glad to announce that my favorite Silverlight Toolkit has a next release out for production use earlier release was in July 2009 and now its the October Release. You can download this release at http://silverlight.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=30514#DownloadId=88327 Change List includes
by Ashish Kumar
I recently faced this problem with one of my WCF services, i was unable to find the reason for this as it complains that it could not load an assembly which in my case never existed.So seeing the error i knew that it was not my fault but it was the fault of the framework itself. What i know and what seemed to me is that this error occurs due to some invalid data in the temporary files which .net creates while running an application.Due to the differences in the code of the temporary files from the actual code this error arises. Little help from Google suggested me that it’s a known issue and Microsoft has not yet found any fix for this situation although there are a few workarounds which you can do in order to escape from this problem. In this article i will discuss those workarounds and remember there is no specific workaround so you have to test all whichever may suite you.
I think these three steps are sufficient to overcome this problem. Moreover one thing which i want to add is that never directly start updating your production website with the new updates by just copying the new files on the production server, before copying just take the website down i.e pause the website and once your are done with your changes again put the website to go live or else you will run into this trouble every now and then. If you have faced similar problems and you found some other solution or cause to this problem you can just share it here with smallworkarounds readers to help the community. Happy Programming!!!!!!!!!!!!!!!!!!
I have used Asp.net menu controls in a lot of applications earlier but now a days with so many new things and controls asp.net menu control seems to lag in many basic functionalities, there are various other options available to be used as a replacement of the asp.net menu control. But what i loved with the asp.net menu control was its seamless integration with the sitemap datasource and with no hassle i could display whole of my site’s navigation in the menu control by just configuring them in the sitemap file. What i disliked most was that the menu control by default is rendered as a table structure and not as div structure. So to fight this abnormality Microsoft released CSS Friendly Control Adapters so that most of the controls which are rendered as tables can be rendered as a simple and clean div structure. But today i was experimenting with other available options and i found a really cool Superfish jQuery plug-in which we can attach with the asp.net menu control to achieve very cool affects. In this article i will share the steps on how to hook up the Superfish jQuery Menu plug-in into your asp.net website to beautify your asp.net menu control. Also please check various option available with the Superfish plug-in on how it can be customized from the Superfish plug-in website. http://users.tpg.com.au/j_birch/plugins/superfish/#examples Now let’s look at the steps to integrate superfish menu with asp.net menu
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="" title="" description="">
<siteMapNode url="Default.aspx" title="Home" description=""/>
<siteMapNode url="AboutUs.aspx" title="About Us" description="" />
<siteMapNode url="Services.aspx" title="Services" description="" >
<siteMapNode url="Services/Service1.aspx" title="Service1" description="">
<siteMapNode url="Services/SubService1.aspx" title="SubService1" description="" />
<siteMapNode url="Services/SubService2.aspx" title="SubService2" description="" />
<siteMapNode url="Services/SubService3.aspx" title="SubService3" description="" />
<siteMapNode url="Services/SubService4.aspx" title="SubService4" description="" />
<siteMapNode url="Services/Service2.aspx" title="Service2" description=""/>
<siteMapNode url="Services/Service3.aspx" title="Service3" description=""/>
<siteMapNode url="Services/Service4.aspx" title="Service4" description=""/>
<siteMapNode url="ContactUs.aspx" title="Contact Us" description=""/>
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Default.master.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<link type="text/css" href="~/Styles/superfish.css" rel="stylesheet" media="screen"
<link href="Styles/stylemain.css" rel="stylesheet" type="text/css" />
<asp:ContentPlaceHolder ID="head" runat="server">
<form id="form1" runat="server">
<asp:HyperLink runat="server" NavigateUrl="~/Default.aspx" ID="lnkLogo">
<asp:Menu ID="menuMain" runat="server" DataSourceID="stmpDataSource" Orientation="Horizontal">
<asp:SiteMapDataSource ID="stmpDataSource" runat="server" ShowStartingNode="false" />
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
You can download the sample project and plug and play with the CSS file customized for the asp.net menu if you find difficulties in customizing by your self.
After embedding this in your master page you are done with the settings and customization and you are ready to go, i got this menu in just 15 minutes so simple and so easy.
Working Demo can be seen here http://www.smallworkarounds.net/demos/superfish.demo/
Download the Demo from http://www.smallworkarounds.net/blog/democode/Superfish/Superfish.Demo.zip