This Forum is ARCHIVE only
For LightSwitch questions,
please use the official forums at:

http://social.msdn.microsoft.com/forums/en-US/lightswitch/threads


DNN Things For Sale
Last Post 02 Mar 2013 10:39 AM by admin. 23 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Page 2 of 2 << < 12
Author Messages
Michael WashingtonUser is Offline
Send Private Message
Posts:1313
Avatar

--
03 Jun 2011 01:16 PM
It's kind of strange. I received it today at 8:26 am and it looks like it was sent today at 12:24 PM...


I am using utc time (and my server is set to PST time):

partial void Posts_Updating(Post entity)
{
entity.PostUpdated = DateTime.UtcNow;
}
-----------
Michael Washington
http://LightSwitchHelpWebsite.com
Michael WashingtonUser is Offline
Send Private Message
Posts:1313
Avatar

--
03 Jun 2011 10:27 PM
I just uploaded the final code for the ThingsForSale example. I will now start writing the article. I have been listening to the feedback and trying to address issues without adding too much code that would make the article "too big to read".

When you start to create a message but click the X in the corner to close it instead, you must know to click on the row and delete it or you will get errors. To fix this, this is the only code I needed:

void MessageNew_Closed(object sender, EventArgs e)
{
    ChildWindow window = (ChildWindow)sender;
    if (!(window.DialogResult.HasValue))
    {
        // Remove unsaved records           
        foreach (Message message in this.DataWorkspace.ApplicationData.Details.GetChanges()
            .AddedEntities.OfType())
        {
            message.Details.DiscardChanges();
        }
    }
}
-----------
Michael Washington
http://LightSwitchHelpWebsite.com
waterUser is Offline
New Member
New Member
Send Private Message
Posts:1
Avatar

--
02 Mar 2013 10:07 AM
Recently I bought outlookbarshell extension codesource, after get the source code I compiled in vs2012 then installation, but runtime hint "Unable to load one or more types of request" error, can you tell me how to solve?
Michael WashingtonUser is Offline
Send Private Message
Posts:1313
Avatar

--
02 Mar 2013 10:39 AM
Please post any issues with Delordson products to the Delordson forum at: http://lightswitchhelpwebsite.com/F...fault.aspx
-----------
Michael Washington
http://LightSwitchHelpWebsite.com
You are not authorized to post a reply.
Page 2 of 2 << < 12


Microsoft Visual Studio is a registered trademark of Microsoft Corporation / LightSwitch is a registered trademark of Microsoft Corporation