Hi we are stack up in this problem of ContentUrl or NavigateUrl on WebDatamenu/ConentUrl on WebDialog.
This two works Ok with Pages that is on Root but it always not working if the pages comes from a folder.
this is my webApp PAges Structure sample.
Root Folder:
Default.aspx ContentUrl="Default.aspx"
PopUp Folder:
Create.aspx ContentUrl="~/PopUp/Create.aspx"
this works on first execution of Default.aspx but when i go click the next webdialog with Create page ,exception says The resource cannot be found /~/PoPup/Create.aspx.. And when i click again the WebDialog with default.aspx it also says: The resource cannot be found. /PopUp/Default.aspx
How To Fix this..?
We Really need your help about this,
Thanks in Regards
----------------------------------------------------------
I already solve my the problem about
Navigation Url of Webdatamenu if Pages are in different fodlers.
I just Add temaple and Hyperlink on WebdatamenuItem.
I tried this also in contentpane but it does not work.
Hi NewbApps,
Thank you for replying. Please do not hesiatate to contact me with any updates or questions regarding this scenario.
Best Regards,
Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://ko.infragistics.com/support
Thanks Again Sir...... I will try lot of test and i will update you if i will be successful. .
When putting / before the page you need to navigate you should also put the alias name with which the site is published. For instance you need to set the navigate URLs to :
"/pageAlias/forms/Create.aspx" and "/pageAlias/Default.aspx"
Please let me know if this resolves the matter.
This one works we just only need is to add / before the page we need to navigate on Debug Mode.
/forms/Create.aspx
/Default.aspx
but when i published it on IIS error still occurs.
Thanks Again for the quick response.
I believe the issue in this case is caused by assigning relative URLs as opposed to absolute ones to the NavigateURL properties. You can find more information about setting URLs in master pages at:
http://www.asp.net/web-forms/tutorials/master-pages/urls-in-master-pages-vb
In this scenario I would suggest trying to set the NavigateURL properties as such:
NavigateUrl = "/YourPageBaseFolder/Default.aspx" NavigateUrl = "/YourPageBaseFolder/Forms/Create.aspx"
NavigateUrl = "/YourPageBaseFolder/Default.aspx"
NavigateUrl = "/YourPageBaseFolder/Forms/Create.aspx"
Attached is my test sample setup with absolute paths.
Please let me know if this helps.