jeudi 18 février 2021

How can i make on Selected index changed for html backdrop?

I am using vb.net with asp controls but i want to use html and css in the project. i made a backdrop list using html in the asp content and it is visible in the web form but i want to access it using vb.net code behind as we acces the dropdownlist by using dropdownlist.Selectedindexchanged.

this is the code:

<html>
    <body>
        <h1>Hello sami</h1>
        <form action="">
            <select name="backdrop" id="background" runat="server">
                <option value="random">Random</option>
                <option value="red">Red</option>
                <option value="green">Green</option>
                <option value="reset">Reset</option>

            </select><br />
            <asp:Label ID="Label8" runat="server" Text="Label"></asp:Label>
        </form>
    </body>
</html>



Aucun commentaire:

Enregistrer un commentaire