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.

Empfohlene Antworten

Veröffentlicht

Hallo.

Das Problem, was ich bereits erwähnt habe (Klick) habe ich genauer Analysiert.

Mein Problem ist, dass Ich die SelectedValue, nicht im Page_Load bekomme.

Also: Combobox -> Auswahl verändert -> Postback -> Page_Load (Hier hab ich die SelectedValue nicht!) -> SelectedValue Event.

Das Problem ist, dass mein Grid in Abhängigkeit der Combobox (Ausgewählter Wert) erzeugt wird.

Es gibt also 2 Lösungen:

- Entweder, ich krieg den SelectedValue der Combobox im Page_Load()

- Oder ich lade den Viewstate des Gridviews erneut, wenn ich die SelectedValue's hab. Aber wie geht das? Das Control.Add(gridview) oder DataBind() Bringt nichts. Er lädt nicht den zustand den ich vorher hatte.

Danke für die Hilfe. Ich doktor schon seid 1ner woche vor dem Problem herum!

Nimm mal das OnLoadComplete-Event, musst ggf. selbst per +=-Operator einen EventHandler adden.

Schwer Zu sagen,

Wenn deine Datenquelle ungefähr so aussieht:

IDText, Text, IDDropDown und

IDDropDown, DropDownText

sprich eine 1:n Beziehung könntest du die Daten in der Datenquelle updaten. Dann musst du nur dafür sorgen, das jeweils das passende DropDown Feld ausgewählt ist.

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

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.