M
Miguel Dias Moura
Hello,
I am using a Master Page (MyMaster) with a Content Place Holder
(ID="ContentPlaceHolder1").
In MyPage.aspx I inserted an Aspanel (ID="Panel1") inside
ContentPlaceHolder1.
I am having problems using javascript functions with Panel1.
For example, my javascript functions say they can't find an element with
ID="Panel1" in my page.
The same happens when I use CSS styles like "#Panel1 {...}".
I believe the problem is that when MyPage.aspx runs Panel1's ID becomes
"ctl00_ContentPlaceHolder1_Panel1".
I saw the Panel1's ID in IE and Firefox "View Source" option.
How can I solve this so I can use my javascript functions and CSS "#..."
type styles?
Thank You,
Miguel
I am using a Master Page (MyMaster) with a Content Place Holder
(ID="ContentPlaceHolder1").
In MyPage.aspx I inserted an Aspanel (ID="Panel1") inside
ContentPlaceHolder1.
I am having problems using javascript functions with Panel1.
For example, my javascript functions say they can't find an element with
ID="Panel1" in my page.
The same happens when I use CSS styles like "#Panel1 {...}".
I believe the problem is that when MyPage.aspx runs Panel1's ID becomes
"ctl00_ContentPlaceHolder1_Panel1".
I saw the Panel1's ID in IE and Firefox "View Source" option.
How can I solve this so I can use my javascript functions and CSS "#..."
type styles?
Thank You,
Miguel