Tags: , | Categories: Note to self Posted by AlexanderZeitler on 7/20/2006 7:26 PM | Comments (3)

Will man ein serverseitiges Event (ASP.NET) clientseitig (JavaScript) auslösen, ist folgender Code notwendig - am Beispiel einer GridView-Row, die per Klick selektierbar sein soll. Dazu muß sich in der Row z.B. ein ImageButton (der vorher noch per FindControl in der GridView gesucht wurde) für den Select befinden, dessen Postback-Argument dann dem Client-Event zugewiesen wird:

e.Row.Attributes.Add("onclick", Page.GetPostBackEventReference(mySelectButton));

So - jetzt  muß ich es hoffentlich nicht nochmal aus der MSDN oder meinem eigenen Posting bei glengamoi suchen ;-)

Currently rated 1.3 by 11 people

  • Currently 1.272727/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories: Note to self, Workflow Posted by AlexanderZeitler on 10/14/2005 5:24 PM | Comments (0)

Similar to the four tenets of Service Orientation here are the four tenets of Workflow:

  • Workflows coordinate work performed by people and software.
  • Workflows are long running and stateful.
  • Workflows are based on extensible models.
  • Workflows are transparent and dynamic through their lifecycle.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories: Note to self Posted by AlexanderZeitler on 10/14/2005 5:11 PM | Comments (0)

Using List<T> is not recommended when creating public APIs.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories: Application Blocks, Enterprise Library, Note to self Posted by AlexanderZeitler on 9/12/2005 5:20 PM | Comments (0)

Read Scott's post and get it solved.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories: Note to self Posted by AlexanderZeitler on 9/8/2005 8:18 AM | Comments (1)

AJAX(.NET) seems to be the buzzword at the moment. After visiting BackBase I'm thinking about using AJAX.NET (and it's affinnities).

In order to start small I'll read the 30 second AJAX tutorial :-)

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories: Note to self Posted by AlexanderZeitler on 8/15/2005 7:55 PM | Comments (0)

...and you should apply what you have learned...

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories: Note to self, SOA Posted by AlexanderZeitler on 7/25/2005 5:01 PM | Comments (0)
  • Boundaries are explicit
  • Services are Autonomous
  • Services share Schema and Contract not type or class
  • Service compatibility is based on policy

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories: ASP.NET, IIS, Note to self Posted by AlexanderZeitler on 6/3/2005 6:00 AM | Comments (0)

Die Gründe, weshalb der Aufruf von ASP.NET-Seiten "plötzlich" nur noch 404-Fehlermeldungen liefert, sind vielschichtig - hier ein Auszug:

404-Problem mit ASP.NET 1.1 nach SP1 Hotfix KB886903-Installation

ASP.NET 2.0 liefert Fehler 404 wegen app_offline.htm

ASP.NET ist im IIS-Manager disabled (ASP.NET Web Service Exstension verboten)

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories: ASP.NET 2.0, Note to self Posted by AlexanderZeitler on 5/29/2005 7:26 PM | Comments (0)

In dem Video "Intro to ASP.NET 2.0 and Visual Studio 2005" stellt Scott Guthrie folgende Highlights aus ASP.NET 2.0 und Visual Studio 2005 vor:

  • Visual Studio
  • Middle-Tier Object Data-binding
  • SQL Cache Invalidation
  • Themes / Skins
  • Master Pages
  • Site Navigation
  • Security and Login
  • Role Management
  • Profile System
  • Web Part Personalization
  • Localization

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories: ASP.NET 2.0, Note to self Posted by AlexanderZeitler on 5/25/2005 12:35 PM | Comments (0)

Bei ASP.NET 2.0 gibt es das DataGrid nicht mehr. Es wird abgelöst von der GridView, welche einen ähnlichen bzw. höheren Funktionsumfang liefert.

Dabei haben sich einige Eigenschaften und Events geändert - hier eine kurze Liste, die keinen Anspruch auf Vollständigkeit erhebt und in den letzten Tagen entstanden ist:

DataGrid GridView
ItemDataBound RowDataBound
e.Item e.Row
e.Item.ItemType

e.Row.RowType
e.Row.RowState

ListItemType DataControlRowType
e.ItemIndex e.RowIndex

Update:

Die Prüfung, ob es sich um ein ListItemType.EditItem, ListItemType.Item oder z.B. ListItemType.AlternatingItem handelt, wird jetzt durch DataControlRowState.Edit, DataControlRowState.Normal oder DataControlRowState.Alternate gegen e.Row.RowState durchgeführt.

Currently rated 1.3 by 7 people

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