• ASP.NET, Programming

    Posted on March 31st, 2008

    Written by Emad Ibrahim

    Tags

    , , , , , ,

    Ajax with ASP.NET MVC Framework Preview 2

    This is the updated version of the Nikhil’s excellent example on how to use Ajax with ASP.net MVC. I commented all the changes made in the code and prefixed them with //emad. So just search for //emad and you will see all the changes I made… Here is a quick list of the changes I [...]

  • Uncategorized

    Posted on March 18th, 2008

    Written by Emad Ibrahim

    Tags

    , ,

    Cross Domain Error Fix for Silverlight

    The easiest/quickest way to fix a cross domain error is to create a test website to host your Silverlight application. When you hit F5 to debug the application, it will run the development server and the address bar will say http://localhost:xxx/blahblah.  This will prevent a cross-domain error. If you try to run it using an [...]

  • Programming

    Posted on December 28th, 2007

    Written by Emad Ibrahim

    Tags

    , , , , , , ,

    Fame, Fortune and WCF

    I need your help to bring me fame and fortune. I wrote an article at code project which was entered for a competition.  The winner gets $10k.  Can you please check it out at http://www.codeproject.com/KB/WCF/myfeedreader.aspx and if you like it, please vote for it.  I can’t win if you don’t vote.  Voting will be closed [...]

  • Programming

    Posted on August 4th, 2007

    Written by Emad Ibrahim

    Tags

    , ,

    ASP.NET AJAX: Rendering a Gmail-like ‘Loading’ Indicator

    Here is an interesting article on how to display Gmail-like progress indicator: Matt Berseth: ASP.NET AJAX: Rendering a Gmail-like ‘Loading’ Indicator over a Specific ASP.NET Control But I have a much easier method to do that, which I use in www.yongazonga.com: First, add your UpdateProgress control like this: <asp:UpdateProgress ID=”UpdateProgress2″ runat=”server” AssociatedUpdatePanelID=”pnlNewUser” DisplayAfter=”0″ DynamicLayout=”True”> <ProgressTemplate> [...]

  • Programming

    Posted on May 22nd, 2007

    Written by Emad Ibrahim

    Tags

    , ,

    DataFormatString not working with date format in GridView

    I set the DataFormatString to {0:d} and also tried {0:MM-dd-yyyy} as several forums and articles suggested; but it still wouldn’t work and kept on displaying the entire string including the time. It turns out, all I had to do is add HtmlEncode=”false”. <asp:GridView ID=”gridItems” runat=”server” AutoGenerateColumns=”False” DataKeyNames=”ItemId” DataSourceID=”MyItemsDataSource” Width=”100%”> <Columns> <asp:BoundField DataField=”Title” HeaderText=”Title” SortExpression=”Title” /> [...]

  • Older Posts Yeah! There are more posts, check them out.

    Newer Posts Yeah! There are more posts, check them out.