Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1315
Question On Retrieving Values Client Side
posted

Here's my question, I have a text box named  Qty1  I know I can retrieve its value by:

x = $get('<%= Qty1.ClientID%>').value;

Is there a way that I can replace the  Qty1.ClientID  with a string that's been dynamically created?  I've tried alot of ways and still no luck 

Parents
No Data
Reply
  • 7566
    Suggested Answer
    posted

    Hello Legalke,

     

    Instead of that can you try to set the text box like this:

    <asp:TextBox ClientIDMode="Static" ID="TextBox1" runat="server"></asp:TextBox>

     

    And to access it by the ID. It should render with the same id without changes.

     

    If you need further assistance please let me know.

     

     

    Sincerely,

    Georgi Sashev

    Developer Support Engineer

    Infragistics, Inc.

    http://es.infragistics.com/support

Children