0

I need to ScriptManager.RegisterStartupScript(this, GetType(), "getTextValue()", "getTextValue();", true); this value in variable

4
Contributors
11
Replies
32
Views
2 Years
Discussion Span
Last Post by AleMonteiro
0

i am useing prise slider in .net but these slider is java i convert java to .net on page load by Secript Manager and i need to to these value in Lable or variable

0

<script type="text/javascript">

 <script type="text/javascript">
       $(function () {
           $("#slider-range").slider({
               range: true,
               min: 0,
               max: 10000,
               values: [75, 300],
               slide: function (event, ui) {
                   $("#amount").val("Rs" + ui.values[0] + " - Rs" + ui.values[1]);
               }
           });
           $("#amount").val("Rs" + Rs("#slider-range").slider("values", 0) +
      " - Rs" + Rs("#slider-range").slider("values", 1));


       });
  </script>  


       $("#slider-range").slider({
           range: true,
           min: 0,
           max: 10000,
           values: [75, 300],
           slide: function (event, ui) {
               $("#amount").val("Rs" + ui.values[0] + " - Rs" + ui.values[1]);
           }
       });
       $("#amount").val("Rs" + Rs("#slider-range").slider("values", 0) +
  " - Rs" + Rs("#slider-range").slider("values", 1));


   });

</script>

0

sir i have a script manager on page with value ScriptManager.RegisterStartupScript(this, GetType(), "getTextValue()", "getTextValue();", true); i need to this value in .net Lable

0

sir, please tell me how to get the value of scriptmanager in a label of asp .net
website

0

I'm really sorry but your sentence doesn't make much sense.

Try writing it in your native langauge and then running it through google translate maybe?

1

dbissu, if I undertand correcly, you want to use the returned value of 'getTextValue()' and use it to set one label on the codebehind? If that's it, you can't do it, or at least, you shouldn't.

Instead, why don't you set the label value from JavaScript?

$(function() {
    $("#yourLabelId").text(getTextValue());
});

You don't need to use ScriptManager at all.

Votes + Comments
hi this is my id vbiss20
0

Thanks AleMonterio i Know this but i have a value in script managar on page load in .net and i need to Script Manager value in Lable

0

Are you using two accounts? Why?

And I'm sorry man, but as Dave said, it's quite hard to understand what you want.
Post more of your code to see if we can decifre it.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.