Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 30, 2012 06:42 AM by BU XI - MSFT
Member
3 Points
23 Posts
Apr 26, 2012 06:32 AM|LINK
hi all,
in my application i am having a modal popup on master page and i want to display it on load
when am trying on single aspx page (independant) then its working fine . but when i write that code on master page
its not working.
i am using webhandler to retrive the data and repeater control to show that data and i want to show this on when every content page loads
thats why i am writing this code on master page
i have attched the servicerfference path of that webhandler file in script manager also
any idea????
how do i resolve this????
thanks in advance
645 Points
175 Posts
Apr 26, 2012 07:32 AM|LINK
Before i can help, can i just clarify a few things...?
You have a modal popup extender on a master page and you wish this to show on the page load event of every content page?
Could you post the code (both markup and code behind) and do you get any errors?
Thanks, Nic
Apr 26, 2012 07:39 AM|LINK
hello
All-Star
22367 Points
2704 Posts
Microsoft
Apr 30, 2012 06:42 AM|LINK
Hello
In a MasterPage, the Client ID may be rendered differently, you may view the page source to get correct Client ID for this line,
model = $find('showMreminders')
For your reference, http://www.codeproject.com/Articles/22111/Master-Pages-and-JavaScript-document-getElementByI
dem_here
Member
3 Points
23 Posts
modal popup not display on master page
Apr 26, 2012 06:32 AM|LINK
hi all,
in my application i am having a modal popup on master page and i want to display it on load
when am trying on single aspx page (independant) then its working fine . but when i write that code on master page
its not working.
i am using webhandler to retrive the data and repeater control to show that data and i want to show this on when every content page loads
thats why i am writing this code on master page
i have attched the servicerfference path of that webhandler file in script manager also
any idea????
how do i resolve this????
thanks in advance
fnshaikh786@hotmail.com
niceastham
Member
645 Points
175 Posts
Re: modal popup not display on master page
Apr 26, 2012 07:32 AM|LINK
Before i can help, can i just clarify a few things...?
You have a modal popup extender on a master page and you wish this to show on the page load event of every content page?
Could you post the code (both markup and code behind) and do you get any errors?
Thanks, Nic
dem_here
Member
3 Points
23 Posts
Re: modal popup not display on master page
Apr 26, 2012 07:39 AM|LINK
hello
fnshaikh786@hotmail.com
BU XI - MSFT
All-Star
22367 Points
2704 Posts
Microsoft
Re: modal popup not display on master page
Apr 30, 2012 06:42 AM|LINK
Hello
In a MasterPage, the Client ID may be rendered differently, you may view the page source to get correct Client ID for this line,
model = $find('showMreminders')
For your reference, http://www.codeproject.com/Articles/22111/Master-Pages-and-JavaScript-document-getElementByI
If you have any feedback about my replies, please contact msdnmg@microsoft.com.
Microsoft One Code Framework