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.

[Vb.Net] Webbrowser Control Selecten

Empfohlene Antworten

Hallo weiß jemand von euch vllt wie mann einen radiobutton selected?

also im webbrowser das bedeutet ich möchte über ein programm auf einer webseite ein radio button

Aslo einen wert setzen

meine html code sehen wie folgt aus

<td><input name="title" id="title_m" value="Herr" title="Herr" type="radio"><label for="title_m">Wahl1</label><input name="title" id="title_f" value="Frau" title="Frau" type="radio"><label for="title_f">Wahl2</label><a style="display: inline;"

Gibtes da eine möglickeit dioese zu selecten?

hier noch mal das html dokument:

tewst.html ... at uploaded.to - Free File Hosting, Free Image Hosting, Free Music Hosting, Free Video Hosting, ...

Meine derzeitigen code in Vb.net

Dim Element As HtmlElement = WebBrowser1.Document.GetElementById("title_m")

        Element.All("Herr").SetAttribute("selected", "true")

Aber leider bekomme ich immer den fehler es sei nicht auf einer objekt oinstanz gerichtet

Bearbeitet von sunny-boy3

Gibt es einen speziellen Grund warum du HTML Controls benutzt?

ASP.NET -> ASP Controls

Denn mit einem ASP Radiobutton

<asp:RadioButton ID="RadioButton1" runat="server" />

kannst du anhand der ID direkt im Code den Wert ansprechen.

Dort läuft das Schema dann nach Name.Checked = bool-Wert

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.