View Full Version : [CLOSED] MVC - RenderTo/ApplyTo

Sep 29, 2014, 9:08 AM
Hi there,

Let see my page have a div and id is 'orgplaceholder'


I want that link to be rendered into orgplaceholder element but it is not. Even I don't see any attribute of applyTo of script.

Do you have any advise?

Thank in advance.

Sep 29, 2014, 11:50 AM
Hi @thchuong,

Please use RenderTo instead.

I think the ApplyTo property is an atavism since Ext.NET v1 and no longer supported. I will remove it.

Thanks for the question.

Sep 30, 2014, 1:14 AM
Hi Daniil,

RenderTo does not work either.

Sep 30, 2014, 3:34 AM
Based on only your description and simple code sample, using .RenderTo is the correct answer.

Sep 30, 2014, 4:41 AM
Hi Geoffrey,

If it is the correct answer then it should prove something correct in script.

Let take a look at

I declare
@ext.LinkButton().RenderTo("orgplaceholder").Text("Link Button")
and here what I received

Sep 30, 2014, 5:23 AM
Unfortunately I don't think we'll be able to provide any additional help.

You are not providing enough information for us to diagnose the problem.