is it possible to access a Properties.Settings which I set in my visual studio asp.net project via javascript?
is it possible to access a Properties.Settings which I set in my visual studio
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Sort of. In ASP.NET, you can write these out to the client. But you cannot change the value from JavaScript. To write it out in markup, do:
I don’t use property settings too much. You would have to use the fully quantified name to be able to refer to it, and it would have to be public for this to work. If it’s not public, you can create a public property on the ASP.NET page, and then have the page return the setting. Page properties or methods very easily work in this fashion too.