Calling javascript function after composite control rendering

360 Views Asked by At

Is there any way to call a javascript function after composite control rendering.I need to place four movable anchors on top of the image control. I am planning to implement the anchors using html Img control. I have already embedded a javascript resource but I cant draw anchors on top of the image control

1

There are 1 best solutions below

1
On

No,you can not do that with javascript.But you can do that in the backgroud code with override Render.

Like this:

Protected Overrides Sub Render(ByVal writer As System.Web.UI.HtmlTextWriter)

    'you can composite control rendering here.

    MyBase.Render(writer)

End Sub