Jump to content

Generic Edit Framework GenericItem List Treating URLs undesirably


Recommended Posts

ginjaninja
Posted

I have a button in UI.cs defined such

        public GenericItemList ScheduledTaskLink { get; set; } = new GenericItemList
{
    new GenericListItem
    {
        PrimaryText   = "Configure Scheduled Task",
        SecondaryText = "Manage execution intervals and triggers for this plugin",
        HyperLink     = "#!/scheduledtasks"
    }

i set the hyperlink in  the View.cs with the worker id

as a label item when i click on the label item i get

http://192.168.4.162:8096/web/index.html#!/scheduledtask?id=fdd2f33a4070897a6b3df1bb84b5c2aa (correct)

but as a nice looking genericitemlist the client seems to treat the url into something invalid and gives me an extra index.html/

http://192.168.4.162:8096/web/index.html#!/index.html/scheduledtask?id=fdd2f33a4070897a6b3df1bb84b5c2aa

 

My goal is to have a nice looking button that takes me to the tasks config page, any ideas why the two controls are treated differently for the same hyperlink?

 

thanks

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...