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
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
Read Scott's post and get it solved.
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5
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
...and you should apply what you have learned...
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5
- 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
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
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