views:

268

answers:

2

Your typical "It doesn't work" freak out going on over here. Any direction would help.

I have a login control on my master page and I'm trying to only display it using jquery fancybox and then redirect the user once they are logged in.

But any buttons or controls that should do "something" when pressed when I put inside the fancy box are not responding. If I keep the div visible and then use the control not using fancybox I get the expected result.

What are my options?

A: 

Sounds like you have some javascript errors on the page. ASP.Net controls will often stop responding when javascript is broken.

womp
A: 
Radek
Forgot to mention!i create a CSS .myDummyClass due to if you have an ID on the a-tagand you put it in a repeater the ID on the a-tag will not be the same once you run it. ASP.net put their own ID on the tags and you can not have the same ID on a-tags. But you can have the same name on class.If you however create a dummy CSS class and put it on the link and then connect it to Jquery or JavaScript then you will always have a reference. ANd it will always be the same :-)
Radek