asp
-
pass null to sql data source select
References http://forums.asp.net/t/963932.aspx Continue reading
-
Serialize C# object to JSON JavaScriptSerializer .Net
References MS Blogs, http://blogs.microsoft.co.il/blogs/pini_dayan/archive/2009/03/12/convert-objects-to-json-in-c-using-javascriptserializer.aspx JSON.org, http://www.json.org/js.html C# Cross-Site Page Access, http://stackoverflow.com/questions/6290053/setting-access-control-allow-origin-in-asp-net-mvc-simplest-possible-method PHP Cross-Site Page Access, http://rayfd.wordpress.com/2007/03/28/why-wont-eval-eval-my-json-or-json-object-object-literal/ JS Eval string to JSON Object, http://rayfd.wordpress.com/2007/03/28/why-wont-eval-eval-my-json-or-json-object-object-literal/ Continue reading
-
C# Nested Repeaters ASP .Net
Nested repeaters are a very common topic in ASP .Net so I thought it would be a good subject to write on, especially considering the number of solutions that exist when you Google “nested repeaters” that offer plug-and-play answers, but… Continue reading
-
OrderBy Column Name as String using Linq C# .Net Dynamic Sorting of Anonymous Types
If you’re familiar with Linq, you have undoubtedly used the popular “OrderBy” extension method. Unfortunately, this method does not accept a string value with the column name. To resolve, you can add the following small class or just the method… Continue reading
-
Calendar Extender Highlight Current Day in C# .Net
Thanks goes to Karan from asp.net blogs. References ASP.Net (blogs), http://weblogs.asp.net/karan/archive/2010/09/20/calendar-extender-today-s-date.aspx Continue reading
-
Get Current URL in Javascript
JS (JQuery): JS (standard): Continue reading