Mitchel's Forums

Subject: Providing a key to the View Control
Prev Next
You are not authorized to post a reply.

AuthorMessages
r_honeyUser is Offline
Regular User
Regular User
Posts:70

05/14/2008 12:46 PM  

When I provide a key to my View control, it simply doesn't gets rendered. I need to refer the View control by its key from other controls.

So, is it possible to provide a key to it??? Otherwise, how do I make a direct to it from other controls, which are not necessarily Edit controls (My searching revealed that using EditUrl() without any arguments takes to the View Control from Edit control, but if the referring control is not a View Control)???

Morover, is it possible to have multiple view controls, and navigate between them in a single module???

Mitchel SellersUser is Offline
Site Admin/Owner
Guru
Guru
Posts:5501

05/14/2008 12:50 PM  
Yes you can have multiple view controls without incident. There is an interesting way though that you have to do it. You use navigate url, but you have to also pass a mid parameter.

NavigateUrl(this.tabId, "ControlKey", "mid=" + this.moduleId)

for example would navigate to a control with a key value of "ControlKey" from the current module.

-Mitchel Sellers
MCITP, MCPD, MCTS
Director of Development
IowaComputerGurus Inc.

View Mitchel Sellers's profile on LinkedIn

This site is hosted by 3Essentials

To get Guaranteed DNN Support check out our affordable DNN Technical Support Programs
You are not authorized to post a reply.
Forums >Development Discussion >DotNetNuke > Providing a key to the View Control



ActiveForums 3.7