N
Nilay Shah
Hi,
I am coding in 1.1 framework.. And we have created Page Template classes
(the way Master Page works in 2.0) in 1.1 framework.. All the pages would
have code between follwoing tags.
<custom
agebody id="pagebody" runat="server" templatepath=
"../PageTemplate.ascx">
.....
</custom
agebody>
Because of this, all the control ids are rendered and names are changed once
page is loaded. In my page, Page1.aspx, there is a user control UC1.ascx.
And I want to create the javascript dynamically in my parent page i.e.
Page1.aspx where in I want to get the client id of one of the control in
UC1.ascx.
I was trying to get Client ID and Build Javascript in Page_Load function of
my page. But the client ID that I get on Page_load, gets modified because of
Page Template concept.
I am not able to find where should I build my dynamic JavaScript on parent
Page?
Please let me know,
Thanks,
Nilay.
I am coding in 1.1 framework.. And we have created Page Template classes
(the way Master Page works in 2.0) in 1.1 framework.. All the pages would
have code between follwoing tags.
<custom
"../PageTemplate.ascx">
.....
</custom
Because of this, all the control ids are rendered and names are changed once
page is loaded. In my page, Page1.aspx, there is a user control UC1.ascx.
And I want to create the javascript dynamically in my parent page i.e.
Page1.aspx where in I want to get the client id of one of the control in
UC1.ascx.
I was trying to get Client ID and Build Javascript in Page_Load function of
my page. But the client ID that I get on Page_load, gets modified because of
Page Template concept.
I am not able to find where should I build my dynamic JavaScript on parent
Page?
Please let me know,
Thanks,
Nilay.