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
258
getting tab content values!
posted

hi all,

       i am using ultrawebtab with three seperate forms, all are loaded via target url property.

     My scenario is, i want to the get the date value from one of the tabs and to be displayed in a label above the ultrawebtab!

    i was not able to postback or submit the form which contains the ultrawebtab, only forms inside the tabs are getting postback!

   Is there anyoption available to submit the mainform via javascript or codebehind.

  Thanks in advance.

--vijayanand

 

 

Parents
No Data
Reply
  • 7694
    posted

    Hello,


    You can use the function document. getElementById(‘”ElementID”) and find the element that contain date value text box. After that you can change the value of label above tabs  with compatible  property.


    Please take a look at the sample code below:


      function Button1_onclick() {
                var dateContainer = document.getElementById("<%=ElemetnWithDate.ClientID %>");
                var label = document.getElementById("<%=LabelAboveTab.ClientID %>");
                textBox.value= dateContainer.value;
            }


    Hope this helps.

Children