Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
470
Get reference to WebSplitter in JavaScript client-side code.
posted

I have a WebSplitter (let’s name it “splitterMain” for clarity.) I need to reference it from client-side code.

When I make this call:

 

var varSplitter = document.getElementById("<%=splitterMain.ClientID%>");

 

varSplitter gets a reference to some DOM object, not WebSplitter (it lacks properties documented in WebSplitter CSOM).

More information:

I noticed that some controls have designated client-side functions that can be used instead of “getElementById”. For example, WebCalendar has function called “igcal_getCalendarById” that retrieves the reference to WebCalendar, not corresponding DOM object.

Please advise:

How to get reference to WebSplitter in JavaScript client-side code.

 

Thank you.

Parents
No Data
Reply Children
No Data