Help! Control Displays ASHX Reponse Instead of UserControl View

Apr 30, 2009 at 7:09 PM
Hi there - I'm having a lot of trouble trying to use this control. If I have the control set initially to Serverside, the inital display renders correctly. But, if I dynamically change the control path all I see is what appears to be the response containing the viewstate like this:
0|hiddenField|__EVENTTARGET||0|hiddenField|__EVENTARGUMENT||0|hiddenField|__LASTFOCUS||2924|hiddenField
|__VIEWSTATE|/wEPDwUKLTc3MzY4NDA0NQ9kFgZmDxYCHgRUZXh0BXk8IURPQ1RZUEUgaHRtbCBQVUJMSUMgIi0vL1czQy8vRFR
EIFhIVE1MIDEuMCBUcmFuc2l0aW9uYWwvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvVFIveGh0bWwxL0RURC94aHRtbDEtdHJhbnNpdGlvbmFsLmR0ZCI
gT25saW5lIEhlbHBkZAITD2QWAmYPDxYCHwoFDlZpZXcgU29sdXRpb25zZGQCFQ8PFgIfAAUFRmlsZXNkZAIXDw8WAh8ABQRIZWx
wZGQCGQ8PFgIfAAUJU29sdXRpb25zZGQCDQ9kFgICAg9kFgQCAw9kFgICAg9kFgZmDxYCHwMFBEVkaXRkAgEPFgIfAwUGVXBkYXR
lZAICDxYCHwMFBkNhbmNlbGQCBQ9kFgICAQ8PZBYCHwgFFUhlYWx0aGNvbXBfRURJQ29udGVudGQYAQUeX19Db250cm9sc1JlcXV
pcmVQb3N0QmFja0tleV9fFgQFFGRubiRkbm5TRUFSQ0gkb3B0V2ViBRRkbm4kZG5uU0VBUkNIJG9wdFdlYgUVZG5uJGRublNFQVJDSCRvcHRTaXRlBRVkbm4kZG5uU0VBUkNIJG9wdFNpdGWYtteDBsHORdABR3hIP5llhpbIpg
==|0|asyncPostBackControlIDs|||0|postBackControlIDs|||0|updatePanelIDs|||0|childUpdatePanelIDs|||0|panelsToRefreshIDs
|||2|asyncPostBackTimeout||90|11|pageTitle||EDIWorkDesk|45|scriptBlock|ScriptPath|/DNN5/js/jQuery/jquery-ui-1
.7.1.custom.min.js|32|scriptBlock|ScriptPath|/DNN5/js/jQuery/jQuery.Cookie.js|32|scriptBlock|ScriptPath
|/DNN5/js/jQuery/jquery.ui.all.js|36|scriptBlock|ScriptPath|/DNN5/js/jQuery/jquery.layout.min.js|31|scriptBlock
|ScriptPath|/DNN5/js/jQuery/jQueryCorner.js|47|scriptBlock|ScriptPath|/DNN5/Portals/_default/Skins/EDI
/js/EDI.ascx.js|34|scriptBlock|ScriptPath|/DNN5/js/jQuery/jQuery.Editable.js|23|scriptBlock|ScriptPath
|/DNN5/js/jQuery/JSON.js|49|scriptBlock|ScriptPath|/DNN5/DesktopModules/_EDI/EDIWorkDeskMenu.ascx.js
|43|scriptBlock|ScriptPath|/DNN5/js/jQuery/jquery-ui-1.7.custom.min.js|45|scriptBlock|ScriptPath|/DNN5
/js/jQuery/jqGrid-3.4.3/jquery.jqGrid.js|50|scriptBlock|ScriptPath|/DNN5/js/jQuery/jqGrid-3.4.3/js/jquery
.tablednd.js|42|scriptBlock|ScriptPath|/DNN5/js/jQuery/jqGrid-3.4.3/js/jqModal.js|40|scriptBlock|ScriptPath
|/DNN5/js/jQuery/jqGrid-3.4.3/js/jqDnR.js|48|scriptBlock|ScriptPath|/DNN5/js/jQuery/jqGrid-3.4.3/js/grid
.treegrid.js|49|scriptBlock|ScriptPath|/DNN5/js/jQuery/jqGrid-3.4.3/js/grid.tbltogrid.js|28|scriptBlock
|ScriptPath|/DNN5/js/jQuery/ww.jquery.js|76|scriptBlock|ScriptPath|/DNN5/DesktopModules/_EDI/UserControls
/Configuration/TradingPartners.ascx.js|22|scriptBlock|ScriptPath|/DNN5/js/JSONParser.js|146|scriptBlock
|ScriptPath|/DNN5/ScriptResource.axd?d=J50IRwYwkfwfTEDnS0v6Ez1cse8B8zYVV6jb_dPRa_6-KZMb_FbsmNyVVj6nLRewQzh74ahpdftCnALsrgGo3bRiUkMR0bjaa8085MU_kXc1
&t=6dfb7beb|157|scriptBlock|ScriptPath|/DNN5/ScriptResource.axd?d=J50IRwYwkfwfTEDnS0v6Ez1cse8B8zYVV6jb_dPRa_6-KZMb_FbsmNyVVj6nLRewQzh74ahpdftB1oB4wuIs5cp0_y1ii1ofQvjD5elKgd_f9ZiilcTh_w2
&t=6dfb7beb|454|scriptStartupBlock|ScriptContentWithTags|{"text":"dnn.controls.toolbars[\u0027tbEIPTitle
\u0027]={vis:-1,css:\u0027eipbackimg\u0027,btns:[{ca:\u0027edit\u0027,key:\u0027edit\u0027,css:\u0027eipbutton_edit
\u0027,alt:\u0027Edit\u0027},{ca:\u0027save\u0027,key:\u0027save\u0027,css:\u0027eipbutton_save\u0027
,alt:\u0027Update\u0027},{ca:\u0027cancel\u0027,key:\u0027cancel\u0027,alt:\u0027Cancel\u0027}],cssb
:\u0027eipbuttonbackimg\u0027,cssbh:\u0027eipborderhover\u0027};","type":"text/javascript"}|


I changed the control to initally render "none", but as soon as I try to change the control path I get what's shown above. The reponse in Firebug shows that everything is OK:
POST http://localhost/dnn5/EDIWorkDesk/tabid/67/PartialUpdatePanelLoader.ashx   200OK  132ms.

Here are the properties I have set on the control:
<iucon:PartialUpdatePanel runat="server" ID="pudEDIControl"
UserControlPath='/DNN5/DesktopModules/_EDI/UserControls/Configuration/TradingPartners.ascx'
DisplayLoadingAfter="150"
InitialRenderBehaviour="None"
EncryptUserControlPath="false" >

Can you please point me in the right direction so I can use the control? Thanks so much in advance!