Whenever using Databound server controls with Sitecore need to be aware that Sitecore meddles with some controls. This nasty issue which can have you banging your head against the wall for hours (days?) has been previously blogged by Mark Cassidy but I guess it depends on what symptom you’re having first, and wether you relate it back to this [...]
Archive for the ‘C#’ Category
Sitecore with Gridview – rowupdating event doesn’t fire
Posted in ASP.net, C#, DataBinding, Sitecore, Web development and programming, tagged gridview, rowupdating on March 25, 2009 | 3 Comments »
GridView problem – Item has already been added. Key in dictionary: ‘Timestamp’ Key being added: ‘Timestamp’
Posted in ASP.net, C#, Sitecore, Web development and programming, tagged ASP.net, automatic databind, databind(), gridview, Sitecore on March 25, 2009 | Leave a Comment »
In general ASP.net, this can be caused by calling DataBind() more than once on a databound control. Also be aware that this is influenced by automatic databind being on too. Relating this to Sitecore CMS, you should be aware that Sitecore ships with the following line in web.config: <!– AUTOMATIC DATA BIND Indicates if the data bind function [...]
Sitecore – Could not load file or assembly System.Data.SQLite
Posted in ASP.net, C#, Sitecore, Web development and programming, tagged ASP.net, Sitecore, SQLite on February 3, 2009 | Leave a Comment »
After installing Sitecore v6, you get the following error when viewing the website or sitecore UI: Sitecore Could not load file or assembly ‘System.Data.SQLite, Version=1.0.48.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139′ or one of its dependencies. An attempt was made to load a program with an incorrect format. This is actually detailed in page 20 of the sitecore troubleshooting [...]
Silverlight web services cross domain warning
Posted in ASP.net, C#, Silverlight, Web development and programming, tagged Cross domain, debugging, f5, Silverlight, warning on December 7, 2008 | Leave a Comment »
You get a cross-domain web services warning when debugging your silverlight application. This can be caused simply by leaving the wrong project highlighted when you hit F5. Select your .web project or the project that contains the aspx file hosting the application. If you run debugger with the silverlight project (containing your page.xaml) selected, you [...]