Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Girish Khadse 52 posts 132 karma points
    Sep 19, 2013 @ 06:09
    Girish Khadse
    0

    Adding custom resource key for custom added tab

    Hi.. I wanted to add a Sales report tab to completed order list view as existing report of sales was not enough. Clicking on this tab UI should be shown which will have button to export sales report in the excel.

    I have added a new custom tab for the order view page by following article : But I am facing 2 issues with them.

    1. I have added entries in the mentioned tables of ucommerce. But while adding entries I didnt understand what resourceKey value should be added. Where are the resource files in the directory? How should I add my custom resource to them?

    2. I wanted to show tab only for completed order view. The tab I have added is being shown for all order status view. How can I restrict to show only in completed order view?

    Can anyone help me on this?

  • Martin 181 posts 740 karma points
    Sep 19, 2013 @ 18:43
    Martin
    100

    Hi Girish,

    As answer to question 1 you find the resource file for tabs in App_GlobalResources\Tabs.resx

    I actually don't know about number 2 but I can try to take a look into it.

    Best regards Martin

  • Lars Horne-Mortensen 40 posts 184 karma points
    Sep 20, 2013 @ 15:57
    Lars Horne-Mortensen
    2

    Hi Girish,

    To answer your second question, you can implement the ISection interface in your user control, and then set the Show property, something like this:

    public bool Show { get { return View.OrderStatus.OrderStatusId == 3; } }
    

    Hope that helps,

    Lars

  • Girish Khadse 52 posts 132 karma points
    Sep 23, 2013 @ 06:29
    Girish Khadse
    0

    Hi Martin..
    Yup I looked into the entire solution apart from that file :(.. But you got me on line. Thanks

    Lars Horne-Mortensen  

    YUp dat worked like a charm. Cant mark two replies as a solution. So high five for u.... :)

Please Sign in or register to post replies

Write your reply to:

Draft