? 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


HomeHomePublicPublicDevelopmentDevelopmenttransforming view.asx to multiple asx controlstransforming view.asx to multiple asx controls
Previous
 
Next
New Post
8/6/2014 12:11 PM
 
I am a newbie in programming modules for dotnetnuke.

At this moment I use only the view.ascx for displaying my logic. I need to display different views based on the login user and the attach user role. I can do it by setting some of the controls visible and non visible but I think it is not the right way and make the code unnecessary complex.


I think I need the following solution:

MasterControl.ascx calling userview1.ascx userview2.ascx ... userviewk.ascx based on some conditions

How to achieve the above scenario? I have no experience at all with user controls and registering additonal modules. I only work sofar with the view.asx ...
I used DNN 7.2.x with the Cristoc addin.

I am a complete newbie so I need a step by step "cookbook recipe" how to convert my current module with, only using, one "view.ascx" approach with a more flexible multiple ascx solution.

Thanks in advance,

Regards,

Ton
 
New Post
8/6/2014 1:45 PM
 

Hi Ton,

Not sure if the path you are taking is the most appropriate one for a DNN module but I think you would benefit quite a log for this videos series created by Scott Wilkinson: Module Definition basics in DNN

It is a 6 part series and he goes step by step.

Cheers,

Aderson

 
Previous
 
Next
HomeHomePublicPublicDevelopmentDevelopmenttransforming view.asx to multiple asx controlstransforming view.asx to multiple asx controls



Try FREE
30 days money back guaranteed