Per Lundberg

Random thoughts from a BizTalk developer
posts - 10, comments - 12, trackbacks - 0

My Links

News

Archives

Post Categories

ASP.NET

ASP.NET 3.5/AJAX.NET-enabled datepicker snippet using the ASP:Calendar control
Looking for a simple datepicker that uses AJAX.NET (to avoid full-page postbacks), for your date fields? Look no further! I was on the same "hunt", and ended up writing my own code for it (inspired by other examples/code I was looking at). The code does all the work using ASP:NET, nothing is done using JavaScript. Below is the code for the solution. This could (and should) be made into a UserControl if you need to use in more than one place In the .aspx file, put this: (As you see, I am referencing...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Posted On Tuesday, March 24, 2009 8:50 AM | Feedback (4) | Filed Under [ ASP.NET C# ]

Trouble getting TargetInvocationException on your ASP.NET web application?`
Sometimes, you get pretty unclear exception messages. The message below is one example of such: Exception type: TargetInvocationException Exception message: Exception has been thrown by the target of an invocation. [...some stuff removed...] Stack trace: at System.RuntimeMethodHandle.... target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.... target, Object[] arguments,...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Posted On Thursday, March 19, 2009 1:26 PM | Feedback (2) | Filed Under [ ASP.NET C# ]

Powered by: