This is a migrated thread and some comments may be shown as answers.

RadContextMenu ClientID in JS

1 Answer 69 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Max
Top achievements
Rank 1
Max asked on 02 Mar 2012, 05:07 PM
Hi,
 I've created a custom control, say,

public class ImageManager : HtmlGenericControl
    {
        public RadContextMenu ContextMenu { get; set; }
...
}

NO Apsx Form.
I'm trying now to pop this menu. it's been initialized properly
OnLoad shows valid ClientID, but when I'm using that ID as

var menuObjX = document.getElementById("xxxxxxxxxxxx");


there's no show() or showAt() methods they're 'undefined'

why would that be and how could you advise me to go around with ClientID in Client-Side JS without forms (no aspx no <%= %>).

regards,
Max

1 Answer, 1 is accepted

Sort by
0
Max
Top achievements
Rank 1
answered on 16 Mar 2012, 10:56 AM
Somehow resolved with Pop up menu over control
Tags
Menu
Asked by
Max
Top achievements
Rank 1
Answers by
Max
Top achievements
Rank 1
Share this question
or