user control inheriting SimpleView, how to access property f

Posted by Community Admin on 04-Aug-2018 21:56

user control inheriting SimpleView, how to access property from javascript

All Replies

Posted by Community Admin on 16-Mar-2012 00:00

I have a control that inherits from SimpleView class, and have a string property defined as the following. I am wondering how I can access the value from the javascript in ascx page.

in a normal user control or page i can use '<%= ServerUrl %>' to get the value

thanks

[Category("Server Url")]
        public string ServerUrl get; set;

This thread is closed