Click here to Skip to main content
15,884,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have to show model popup extender using jquery. popup is in Master page.

That JS i am registering using RegisterClientScriptBlock.

In JS page using $find(Behaviourid) and making it show but it is giving error null object.
if i am using only $('') then it is neither giving error nor showing popup.

From Codebehind its working fine but i need to show it through JS.

Help me..

Thanks in Advance...
Posted

1 solution

I have used $find(Behaviourid) several times. Please check the following points

- Whether jquery file is included in the page.
- Whether you have assigned the Behaviourid property to extender
- Check whether bth placed Behaviourid is same

I dont see any other reason.
 
Share this answer
 
Comments
Member 7217874 27-Oct-10 13:17pm    
jquery file is included, behaviourid is same in extender and in js code.
I tried finding through ClientId also but not working.
If i am finding a div which is in that extender for displaying message, then it is finding but not finding extender.
raju melveetilpurayil 27-Oct-10 15:53pm    
to find client ID you can use firebug or IEWebdeveloper tool.
Brij good answer, take my 5
Member 7217874 27-Oct-10 16:15pm    
I tried that.. But i think that extender is in Master of Master Page.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900