Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

asp.net edit-seite

Empfohlene Antworten

Veröffentlicht

Hallo

Hab grad mal wieder ein problem:

Und zwar hab ich eine Seite wo Einträge einer datenbank aufgelistet sind (Name, Pfad). Bei jedem eintrag ist ein link zum editieren des eintrags dabei, sodass man dann auf die seite


http://localhost:xxxxx/Edit.aspx?id=3&name=mustermann&pfad=musterpfad

auf der editseite sind dann 2 textboxen, welche im onLoad-Ereignis die daten name und pfad zugewiesen bekommen. so nun soll der benutzer etwas ändern und dann auf speicher klicken. Dann sollen die neuen daten aus den textboxen geschrieben werden, jedoch steht in den textboxen immer noch das drin, was beim aufruf der seite drinstand... :( woran liegt das??? bzw. wie kann ich das ändern? Wenn ich den textboxen im onLoad-Ereignix nichts zuweise funktioniert es einwandfrei... Die Zuweisung der Textboxen im onLoad

this.tbName.Text = Request.Params["name"];

Poste mal bitte mehr Code, dann kann man dir bestimmt helfen.

Übrigens falls du dich nur so in das Thema Webseitenprogrammierung einarbeitest, dann versuche mal von ASP.NET Webforms auf ASP.NET MVC über zu siedeln. Dort gibt es diesen ganzen Event Kram nicht und der Code ist übersichtlicher, weil er besser aufgeteilt ist ("Seperation of Concerns"). Das nur so am Rande ;)

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.