fletchsod
Programmer
- Dec 16, 2002
- 181
I'm getting a bit miffed over this... I'm using the Master Page and Content Page.
I need to pass WebControl ID from Content Page to JavaScript caller in the Master Page. For this, I need to build a string variable, that way JavaScript can use getElementById to find this WebControl. (I'm using RegisterStartUpScript function).
On CodeBehind in Content Page, I'm able to get Master ID and Web Control ID but I couldn't figure out how to get ContentPlaceHolder ID.
--snip--
this.Master.ClientID
this.btnEmail.ClientID
--snip--
I welcome advice on how to get ContentPlaceHolder.
Thanks...
I need to pass WebControl ID from Content Page to JavaScript caller in the Master Page. For this, I need to build a string variable, that way JavaScript can use getElementById to find this WebControl. (I'm using RegisterStartUpScript function).
On CodeBehind in Content Page, I'm able to get Master ID and Web Control ID but I couldn't figure out how to get ContentPlaceHolder ID.
--snip--
this.Master.ClientID
this.btnEmail.ClientID
--snip--
I welcome advice on how to get ContentPlaceHolder.
Thanks...