Mar 22
Digg
Stumbleupon
Technorati
Delicious

OpenLaszlo 4.0 ile Flash ya da AJAX Seçim Artık Sizde

OpenLaszlo 3.x ile sadece Flash 7 ve üstünde çalışabilen flash uygulamaları oluşturulabiliyodu. Ama 4 versiyonu ile artık OpenLaszlo ya DHTML desteğide eklendi.

Daha detaylı bilgi için http://www.openlaszlo.org/advancedajax

OpenLaszlo ne mi? http://www.openlaszlo.org/front_page

Mar 22
Digg
Stumbleupon
Technorati
Delicious

Flash AJAX a Karşı

Flash vs. Ajax: It's time to expand your toolbox

Karar sizin ...

Sub 20
Digg
Stumbleupon
Technorati
Delicious

Asp.Net AjaxToolkit CalendarExtender Türkçe Problemi

Asp.net AJAX 1.0 versiyonunun release versiyonu ile birlikte AjaxToolkite eklenen CalendarExtender kontrolü open source calendar kontrollere göre gerçekten çok gelişmiş ve kullanışlı bir arayüze sahip. Fakat kontrolü geliştiren arkadaşlarımız kontrol için globalization ı düşünmemişler. Eğer ingilizce olarak kullanırım diyorsanız sorun yok ama illa da Türkçe olsun diyorsanız sanırım ilginizi çekecektir.
Yapılması gerekenler ;

  1. Kontrolün yer aldığı sayfaya Culture="tr-TR" eklemek.
  2. AjaxToolkit in source code unda CalendarBehavior.js dosyasını bulmak.
  3. Bu dosyada this._title.innerHTML = visibleDate.format("MMMM, yyyy");  satırını  this._title.innerHTML = visibleDate.localeFormat("MMMM, yyyy"); ile değiştirmek.
  4. dayCell.title = currentDate.format("D"); satırını dayCell.title = currentDate.localeFormat("D");  ile değiştirmek.
  5. this._today.innerHTML = "Today: " + todaysDate.format("MMMM d, yyyy"); satırını this._today.innerHTML = todaysDate.localeFormat("MMMM d, yyyy"); ile değiştirmek.
  6. ScriptManager kontrolünün EnableScriptGlobalization özelliğini true yapmak.
  7. ve son olarak da toolkit i yeniden derleyerek projenizde kullanmak.
Oca 27
Digg
Stumbleupon
Technorati
Delicious

Nested UpdatePanel Problemi?

Böyle birşey ile karşılaşan var mı?
Sorun şu;
Bir anasayfa ve bu sayfada bir PlaceHolder kontrolü. Bu kontrolde UpdatePanel içinde. Dinamik olarak PlaceHolder kontrolüne UserControl ler(.ascx) bağlanıyor ve işlemler yüklenen UserControl ler deki form larda gerçekleniyor. AJAX ile kontrolleri yüklemek işi tamam onda bir sorun yok ViewState sorununu da saymazsak neredeyse sorunsuz. Ama yüklenen UserControl ler içinde bir işlem yapıp bunu uygularsanız(Örneğin bir buton Click olayı) boş bir sayfa ile karşılaşıyorsunuz. Mantık olarak UserControl lerin yüklenme işlemi başka bir kontrolün Click olayında gerçekleştiği ve sayfanın Load olayında da buna dair bir işlem olmadığı düşünülürse davranışı normal olarak kabul edebiliriz. Birde farklı bir yoldan deneyelim. Nested UpdatePanel kullanırsak ne olacak acaba. Bir ana UpdatePanel ki bu bizim UserControl ümüzü yükleyecek UpdateMode unuda Conditional yaparsak mantık olarak doğru yoldayız.İkinci UpdatePanel imiz ise UserControl içinde gerçeklenmek istenen olay için kullanılıyor. Sayfa açılıyor istenen uygulamaya ait UserControl yükleniyor. Buraya kadar tamam, peki UserControl içindeki UpdatePanel tetikleyicisinde durum ne? Kendileri çok ilginç bir tavır sergiliyor. İlk deneme de ilk 2 tıklamada hiçbir tepki vermezken 3. tıklamada istenilen gerçekleşiyor. Ama neden ilkinde değil de 3. sünde? Cevap bilinmiyor. Kodalarda biraz iyileştirme yapıp tekrar yola koyulduğumuzda ise çalışıyor ama 2. tıklamada neden ilkinde değil? İşte sorun bu...
Ara 22
Digg
Stumbleupon
Technorati
Delicious

Visual Web Developer SP1 ile ASP.NET AJAX Desteği

Eğer Asp.Net AJAX ile uygulama geliştiriyorsanız Visual Studio 2005 Service Pack 1 (SP1) i yüklemelisiniz. Birçok hatanın düzeltilmesi yanında Asp.Net AJAX a verdiği destek ile birçoğumuzun sinir olduğu incorrect validation hatası da ortadan kalkıyor.

Düzeltilen ve rapor edilen hataların listesi ;

Customer bugs reported via MS Connect:

Title MS Connect Link
Incorrect CSS stylesheet warnings http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=109855
Tag elements are inserted in uppercase in a css stylesheet! http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=118815
Cannot use Help http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=118444
Cassini loads page intoSubfolder when launching from Web Site http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=218621
Rebuild Web Site Doesn't Refresh All Files http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=225952 
Pasting a large amount of text into a HTML file caused a crash... http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=106592 
VS2005 crashes when selecting Tag contents on Design view http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=109756 
typing in .htm solution items is very slow to respond http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=219978 
Format the whole document change custom attributes syntax http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=104740 
format document command corrupts casing of asp statements http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=118314 
HTML indentation cannot be turned off http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=119056 
asp' is an unrecognized tag prefix or device filter http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=104946 
Designer re-formats HTML code when using Master Page http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=110961 
Web site publish target location is not persisted http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=102857 
Error when renaming asp.net control IDs in design view http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=101997 
VS Memory Leak when a Wizard inside a View inside a MultiView http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=103420 
 

Other Customer reported bugs:

DTS:VSNET05 IDE crashing issue while creating/opening ASP .Net application project.
SRX060719605181: PDB/XML file in BIN still pending source control when reopen solution from source control
Large amount of files in \bin folder cause IDE performance to be slow
Performance: Add option to turn off prop grid tracking in source view
Performance not good in html editor in large files
Default scripting language in classic ASP pages is jscript
Need to HTMLEncode the category value before placed in the generated schema
IntelliSense not working in content pages for ASP.NET AJAX asp: tag prefix items
Need to HTMLEncode the category value before placed in the generated schema
Validation gets turned on automatically upon view switch with errors

Crashes reported by cusotmers (i.e. - "send error report"):

Crash Location # of Reports
DW Bucket 239321134: Crash caused by CSSPKG.DLL!CCSSCompletionSet::GetCount 14
DW Bucket 239182652: Crash caused by VSWEBDESIGN.DLL!CStyleSheet::LoadFromURL 140
DW Bucket 241786858: Crash caused by MSWEBPRJ.DLL!CVsAdviseListEnumerator<ILangFolderEvents>::GetNext 14
DW Bucket 242260654: Crash caused by MSWEBPRJ.DLL!CClientBuildManager::WaitForAppDomainResetEvent 13
DW Bucket 242424159: Crash caused by HTMLED.DLL!CTridentClientSite::IsSupported 27
DW Bucket 238744467: Crash caused by VSWEBDESIGN.DLL!CLSRenderer::BlastLineToScreen 20
DW Bucket 240078465: Crash caused by TRIDSN.DLL!CTextTracker::BeginTextHighlight 19
DW Bucket 239630140: Crash caused by VSWEBDESIGN.DLL!CBase::SubRelease 16
DW Bucket 242553048: Crash caused by VSWEBDESIGN.DLL!CTreePos::GetBranch 15
DW Bucket 335629143: Crash caused by VSWEBDESIGN.DLL!CStyleSheet::LoadFromURL 23

Bugs found during internal testing:

New Site, Ctrl-F5 intermittently raises App_Offline error
If project file is exclusively checked out, migration from VS2003 to 2005 does not yield consistent results or fail nicely
Performance: Cassini not loading assemblies as domain-neutral.
script stmt completion doesn't work against activex controls
Copy web crashes if you connect to a site that does not exist
Lots of validation errors when opening transient HTML documents for debugging
Opening the first XML file on remote web projects is really slow.
Unloading Web sites can cause P2P, MSBUILD and cassini settings to be lost
Launch file system (Cassini) web with vroot of "/" rather than web name, launch URL is http://localhost:12345/
Error VWD does not support creating web sites on a Sharepoint Extensions Enabled Web Server
Editing MDF files does not work correctly in Web Application Project after F5 or CTRL+F5
Ara 16
Digg
Stumbleupon
Technorati
Delicious

ASP.NET AJAX v1.0 RC

ASP.NET AJAX 1.0 RC  versiyonu hazır. Buna bağlı olarak da güncelleştirilmiş AJAX Control Toolkit i indirebilirsiniz.