Description:I have tried creating a custom detail widget in which I am getting item details against UrlName property and dropped that newly created widget on my detail page but when I am appending UrlName after my detail page url it redirects me to error page 404 instead of passing the UrlName to my widget's code behind. I am using sitefinity 8 (project built using asp.net web forms). is there a way that will allow me to pass UrlName after my details page url.(similar to news detail using default widget)
Posted by: Khalid Abbas | Posted on: Jun 20, 2019
3
To get that UrlName in your detail's widget/control you can create a property in your C# code which will fetch that appended UrlName for you as shown in the following code chunk.
Replied by: Junaid Aziz | Replied on: Jun 20, 2019