Next Generation "ASP.NET Ajax" – Dynamische Webseiten ohne Postbacks

by Marc Andre Zhou February 10, 2010 01:19
Das klassische ASP.NET-Webform-Modell erhält Konkurrenz aus eigenem Haus: Die ASP.NET Ajax-Bibliothek von Microsoft verhilf Webdevelopern das Umsetzen clientseitiger HTML-Anwendungen, die ohne Postbacks auskommen. Kompletten Artikel lesen ...

Currently rated 4.0 by 1 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

.NET | .NET Features | AJAX | Artikel | JavaScript

Mehr Funktionalität im Client – Aktuelle Neuigkeiten und Features der nächsten ASP.NET-AJAX-Version

by Marc Andre Zhou February 02, 2010 01:17
Schon in früheren Ausgaben berichtete das dot.NET-Magazin über die bevorstehende ASP.NET-AJAX-Version 4.0. In der Zwischenzeit hat sich einiges getan und mittlerweile ist die sechste Vorschau verfügbar. Verschaffen Sie sich einen Überblick über die Neuerungen und die Funktionsweise anhand praktischer Beispiele. Weiteres ...

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

.NET | .NET Features | AJAX | Artikel | C# | JavaScript

Using AJAX 4 and JQuery (UI) + ADO.NET Data Service to realize a pure JavaScript Page

by Marc Andre Zhou June 17, 2009 09:11

The new AJAX 4 Version offers a new client side template engine. With this new engine it is possible to define data templates within HTML. The template engine offers three different ways to bind data. A good whitepaper and overview about all the new functionalities is available here.

I implemented a small example to demonstrate different technologies and the cooperation between the different tools. My example is using:

  • Entity Framework / Entity Data Model
  • ADO.NET Data Service
  • AJAX 4 Preview
  • JQuery + JQuery UI

I used the Northwind database and the employee data for my example.

To see how the application is working, click here

The below pictures explain the different parts and technologies.

GUI overview:

Application Architecture overview:

The example application contains a list of employee data. I used the client side data template from the AJAX 4 Preview Version to render the data table:

<table class="sys-template" border="0" width="100%" id="dataview" sys:attach="dv" dv:sys-key="master" dv:selecteditemclass="itemSelected" dv:oncommand="dataview_oncommand(sender,args)">
<tr class="sys-item-template" sys:command="Select">
  <td sys:command="Select">{{ FirstName }}</td>
  <td>{{ LastName }}</td>
  <td>{{ Address }}</td>
  <td>{{ City }}</td>
  <td>{{ Region }}</td>
</tr>
</table>

The complete example application is using pure JavaScript, there is no need to have either a *.aspx or codebehind *.aspx.cs file.

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

.NET | .NET Features | AJAX | JavaScript | Visual Studio Orcas

Neues in ASP.NET AJAX 4 - Eine Rendering Engine beim Client und andere Möglichkeiten

by Marc Andre Zhou June 11, 2009 04:06
Die nächste ASP.NET-AJAX-Version 4 bringt einige interessante Neuerungen und Erweiterungen mit. Insbesondere datengetriebene Webanwendungen profitieren von den Möglichkeiten. Die neuen Features werden anhand praktischer Beispiele vorgestellt. Mehr ...

Currently rated 5.0 by 2 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

.NET | .NET Features | AJAX | Artikel | ASP.NET | C# | HTML | JavaScript

Migration: Northwind nach ASP.NET mit AJAX Erweiterungen

by Marc Andre Zhou March 16, 2007 06:13

Auf meiner Homepage steht auf der folgenden Seite:

Northwind Sample

die erste BETA Version der Northwind Anwendung als ASP.NET Anwendung bereit. Diese Anwendung basiert auf der bekannten MS Access Northwind Anwendung. Ich habe diese beispielhaft nach ASP.NET migriert und zusätzlich AJAX Erweiterungen eingebaut, um ein "Rich GUI" umzusetzen.

Aufgrund der hohen Nachfrage aus der Community, habe ich bereits eine BETA Version auf meiner Homepage veröffentlicht.

Fehler und Wünsche können mir per Mail mitgeteilt werden.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

ASP.NET | JavaScript | Browser | HTML | C# | AJAX | AJAX Control Toolkit | CSS

AJAX: Popup Control und manuelles anzeigen

by Marc Andre Zhou February 09, 2007 06:05

Möchte man das AJAX Popup Control (PopupControlExtender) verwenden und selbt mit Hilfe von Javascript aufrufen und anzeigen, so muss das Event Bubbling deaktiviert werden. Wird es nicht abgeschaltet, so wird das Popup Fenster direkt wieder geschlossen.

Beispiel:
event.cancelBubble = true;
// show the popup...
$find('popupBhvr').showPopup();

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

JavaScript | Browser | HTML | AJAX | AJAX Control Toolkit

ASP.NET / AJAX 1.0: Fehler im modalen Dialog

by Marc Andre Zhou February 02, 2007 06:09

Ende des vergangenen Monats (Januar) meldete ich einen Bug bei dem modalen Dialog Extender (ModalPopupExtender). Ist der Dialog geöffnet und man benutzt die ENTER / RETURN Taste, werden die DropDown-Controls (HTML Select Controls) nach dem Schließen des Dialogs nicht mehr auf der Ursprungsseite angezeigt.

Das Verhalten ist nun offiziell als Bug eingestuft worden und aufgenommen: Klick hier

Als Workaround bietet sich ein globaler Javascript Eventhandler an, der alle Enter Ereignisse auffängt und vernichtet.

ASP.NET Forum Beitrag: Klick hier

Currently rated 4.5 by 2 people

  • Currently 4.5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

JavaScript | Browser | HTML | AJAX | AJAX Control Toolkit

 
Marc Andre Zhou - China Signature