Category Archives: Allgemein

Große MySQL-Dumps via Web importieren

Bei den meisten Webhostern steht einem zur Datenbankverwaltung phpMyAdmin zu Verfügung. Dieser hat meist das Problem das er nicht mit großen MySQL-Dumps umgehen kann, der Upload bleibt z.B. hängen oder der Browser hängt sich auf. Abhilfe schafft das PHP-Script bigdump.php von Alexey Ozerov. Und so gehts: 1.) bigdump.php mit einem Editor Deiner Wahl öffnen. 2.) [...]

ASP.NET Calendar: Hide PrevMonthText or NextMonthText

If you use the ASP.NET Calendar Control and want to hide the PrevMonthText or NextMonthText then you need to use the PreRender-Event from the Calendar-Control. In this example I hide the PrevMonthText (Hyperlink) when the current year and month equals calendars visible year and month. Note: You must set/init the VisibileDate-Property in Page_Load-Event. In my [...]

ASP.NET AjaxControlToolkit with IE9 Beta

When I use the ASP.NET AjaxControlToolkit with the ToolkitScriptManager in Internet Explorer 9 Beta I get on every asynchronous postback javascript errormessages like “Invalid set operation on read-only property”. Adding this HTML-Metatag 1<meta http-equiv="X-UA-Compatible" content="IE=8" /> should fix it. But this is just a workaround not a solution. ASP.NET Forums Thread: http://forums.asp.net/p/1602520/4084902.aspx AjaxControlToolkit Issue-Tracker: http://ajaxcontroltoolkit.codeplex.com/workitem/26832

ListView: FindControl im EditItemTemplate

Hier eine einigermaßen vernünftige Lösung um in einem ListView WebControls im EditItemTemplate anzusprechen und Daten vom ListViewDataItem daran zu binden. Ersteres, also das ansprechen der WebControls, ist über den Event “OnItemEditing” kein Problem. Hier liegt beim DataItem der Hase im Pfeffer. Bisher habe ich keine Lösung gefunden an das DataItem im “OnItemEditing”-Event zu kommen. Der [...]