? orus casino? bodog? ruleta? luckia? betano? sportium? spin casino? stakes? 3 reyes? 888? lottoland? coolbet? 777 casino? gana777? betfair? bwin? yak casino? ivy casino? oddschecker? red casino? netbet? william hill? vip casino? rey casino? marathonbet? dafabet? sol casino? 1bet? winland? bet777? parimatch? 18bet? 888casino? campobet? mostbet? ganabet? rushbet? betcris? betsson? lucky? novibet? winner? winpot? betmaster? betmexico? cancun? playcity? strendus? pokerstars? codere? caliente? fun88? bbrbet? 1win? 10bet? betway? pin up? spinbet? 7cslot? pickwin? spin bet? mr fortune? w88? pragmatic? gamdom? crasher? jojobet? betmex? bcasino? foliatti? winner mx? bets 10? big bola? bet master? inbet? 7slots? lucky day? m777? mexplay? luckydays? bet caliente? 1x? plinko

Forum


HomeHomePremiumPremiumDevelopmentDevelopmentDisplay Edit.ascx in it's own pageDisplay Edit.ascx in it's own page
Previous
 
Next
New Post
12/29/2014 3:37 AM
 

Hi Scott,

Thank you for your reply.

I tried calling $('.dnnToggleMax').trigger('click'); externally from my module, but couldn't get that to work.

I will have another go at it, may be I missed something.

Best Regards,


Steve

 
New Post
12/29/2014 5:00 AM
 

Hi Scott,

So I've had another go at this.

This time I put the code on a button, so I'm sure there's not a timing issue:

        alert('got here');
        $('.dnnToggleMax').trigger('click');

 

But it doesn't work.

 

Using Inspect Element I can see that the dnnToggleMax class is nested as follows:

        $('.dnnFormPopup .dnnModalCtrl a.dnnToggleMax').trigger('click');

        $('.dnnFormPopup > .dnnModalCtrl > a.dnnToggleMax').trigger('click');


But alas, this doesn't work either.


Steve

 
New Post
4/24/2015 7:52 AM
 

Hi Scott,

Finally, I got this working , a mere 6 months later :-)

I couldn't get $('.dnnToggleMax').trigger('click'); to work in I.E.

In case anyone is interested, it just needed a bit of Javascript instead of JQuery:
$link = $('.dnnToggleMax:first');$link[0].click();

So the link becomes:
lnkEdit.NavigateUrl = EditUrl(string.Empty, string.Empty, "Edit", Params) + ";$link = $('.dnnToggleMax:first');$link[0].click();";

All the best,

Steve

 

 

 

 
Previous
 
Next
HomeHomePremiumPremiumDevelopmentDevelopmentDisplay Edit.ascx in it's own pageDisplay Edit.ascx in it's own page



Try FREE
30 days money back guaranteed