Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

UpdatePanel posts back to wrong URL when URLMappings used in a "subdirectory"

$
0
0

I have an update panel that has a button that expands a section for editing content, however after it loads the content to edit, the postback throws a 404, I can track the pages it's trying to go to as well.

 say this is a URL Mapping:

<addurl="~/products/myproduct.aspx"mappedUrl="~/prodTemplate.aspx?pageID=6"/>

The postback will go to  "/products/prodTemplate.aspx?pageID=6", which doesn't work as products is an 'imaginary" directory

 if I set the postback URL on the button explicitly to go to"~/products/myproduct.aspx", it goes to"products/products/myproduct.aspx"

This used to work fine in the betas when it was called Atlas, now it's broken.  Also have the image button problem where if you click the topmost or leftmost column of pixels in the image, it gives an error.


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>