[CLOSED] MVC - RenderTo/ApplyTo

  1. #1

    [CLOSED] MVC - RenderTo/ApplyTo

    Hi there,

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

     @ext.LinkButton().Text("LINK").ApplyTo("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.
    Last edited by Daniil; Oct 07, 2014 at 5:43 AM. Reason: [CLOSED]
  2. #2
    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.
    Last edited by Daniil; Sep 29, 2014 at 4:01 PM.
  3. #3
    Hi Daniil,

    RenderTo does not work either.
  4. #4
    Based on only your description and simple code sample, using .RenderTo is the correct answer.
    Geoffrey McGill
    Founder
  5. #5
    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
    Attached Thumbnails Click image for larger version. 

Name:	2014-09-30_1137.png 
Views:	37 
Size:	43.9 KB 
ID:	15361  
  6. #6
    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.
    Geoffrey McGill
    Founder

Similar Threads

  1. ApplyTo in Ext.net 2.2
    By rishu in forum 2.x Help
    Replies: 3
    Last Post: Sep 29, 2014, 11:31 AM
  2. [CLOSED] Window Renderto Parent
    By Kricher in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Apr 11, 2014, 1:26 PM
  3. DesktopWindow modal renderto whole page ?
    By xtremexploit in forum 1.x Help
    Replies: 4
    Last Post: Nov 16, 2011, 6:50 PM
  4. Populate a TabPanel with AutoLoad and RenderTo
    By Tallmaris in forum 1.x Help
    Replies: 2
    Last Post: Jul 05, 2011, 10:30 AM
  5. [1.0] Panel RenderTo
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 22, 2010, 10:31 PM

Posting Permissions