Get Value from textBox at RunTime...

Posted on 2007-08-06
Last Modified: 2010-04-15
I load some fields at runTime to an .aspx page.
TextBox, RadioButtonList, DropDownList.
Now, i need to get the values from those fields, after populate them with values.
What is the best way of doing it?
Question by:udir
    LVL 53

    Expert Comment

    Do you mean that you need the values in some kind of function ?

    Just use textbox.text, dropdownlist.selectedtext, ...
    LVL 29

    Accepted Solution

    ?? s use the Just use textbox.text, dropdownlist.selectedtext props or are u looking for something else. like getting it from script or something

    then documet.getElementById("textbox").innerText;
    LVL 1

    Author Comment

    I'l try to use script...

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
    We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    how to add IIS SMTP to handle application/Scanner relays into office 365.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now