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

Ok so what's the actual problem?

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

<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>

Sorry I don't understand what you are asking :(

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

Sorry I still don't understand.

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

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?

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.

commented: 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

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.