You can replace the code <?php echo $this->baseurl ?>/ <% = this.ResolveUrl("~/") %>
For the code <?php echo $this->template ?> Replace it with <% = this.ResolveUrl("~/") %> , and then you must define the template accessory in the code:
protected string Template { get; set; }
Then, you need to set this property (for example, on the PageLoad page) to populate the code above.
For the operator <?php if($this->direction == 'rtl') : ?> ... <?php endif; ?> <?php if($this->direction == 'rtl') : ?> ... <?php endif; ?> can this be replaced by:
<% if(this.Direction) {%>...<%}%>
Again, this will require an accessory in the code, as well as an example template.
source share