Vincent Nguyen
I tried your suggestions...I broke out the steps...
strRedirectURL = DotNetNuke.Common.Globals.NavigateURL(TabId, "ProviderOptions_List")
>>>> strRedirectURL = "http://localhost/TestPage/tabid/82/ct..."
strRedirectURL = UrlUtils.PopUpUrl(strRedirectURL, Me, PortalSettings, True, False)
>>>> strRedirectURL = dnnModal.show('http://localhost/TestPage/tabid/82/ctl/ProviderOptions_List/Default.aspx?popUp=true',/*showReturn*/true,550,950,true,'')
Me.cmdTrainings.Attributes.Add("onclick", "return " & strRedirectURL)
>>>>> Result: Popup appears with a blank page, nothing loads.
Wes Tatters
O...M...G... I swear I've done exactly what you wrote. But for some reason....NOW it works. I've been staring at this code for two days banging my head and I have no clue what I was doing differently then what you wrote, but I must have done
something different otherwise it would have worked for me long ago.
Thank you for your help!!!
P.S. I have 1 final question about Popups though... Can a popup pass back data to the webpage that called it?
ie: User goes to the "Edit" page (Using the MANAGE button) which by default creates a new record for the user to work with. While populating the new record, they click a button that opens a popup which allows them to make changes to a list which is stored in the same record. (Utilizing the DualList control). When the user finishs changing the list, they click a save button which closes the popup. How, how do I get the list changed inside the popup, back into my Edit webpage so I can save it into the record... or can't I? Is there a "global" type of memory area reachable by all pages?
Forgive me if I seem ignorant about this. I am a VB.Net programmer and have programmed in ASP but rarely. But now we are looking to update some in-house software to ASP and I am trying to figure out how to do some of the same things that the original windows-based apps I designed can do, but in web format.
Thank you for all your help!