Error: Update can only be called on a valid data item.

by Damiaan Peeters 31. August 2010 20:12

I had this in a ListView with an EntityDatasource.  But only the ListView had to do something with it…

Cause & solution

You did a copy paste from the EditItemTemplate to the InsertItemTemplate. 

The edit command is not allowed use the Insert command.

Change this:

<asp:Button ID="UpdateButton" runat="server" CommandName="Update"  Text="Update" />

To:

<asp:Button ID="InsertButton" runat="server" CommandName="Insert" Text="Insert" />

The next big things on the internet

by Damiaan Peeters 31. August 2010 16:14

Very interesting article about the things which are about to change on the internet. 

In short:

  • DNSSEC
  • IPv6
  • International e-mail addresses
  • DKIM
  • Reputation services

I think IPv6 and DNSSEC are the toughest, but highly necessary.

Read the article here:

http://www.techcentral.co.za/a-disturbance-in-the-force/16564/

How to promote your software on social media

by Damiaan Peeters 30. August 2010 12:53
Trillian has a nice example.  Trillian is a instant messenger, combining MSN, ICQ, GTalk, Facebook chat and many others (XMPP/Jabber) into one program.  They also have integration of twitter, facebook and LinkedIn status updates…  Very handy indeed.

So back to the example. 

One of the first times you start, you get this screen: image

The intentions are not hidden…  The screen titles: “Promote Trillian!” Your users have just to push the buttons where they want to let the world know they are using Trillian.  If they like your program, they have no reason no too…

Who.I.am

Certified Umbraco, .net and Azure developer, seo lover. Magician in my spare time.

Month List