Let me explain my scenario for better understanding:
- my Model contains a list of products. All these products are displayed in GridView
- there is a nested detail template with TabStrip for each product
- one tab/item of this TabStrip contains all ebay auctions of this product in another GridView
ie. something like this http://demos.telerik.com/aspnet-mvc/grid/detailtemplate
My view in razor syntax:
But I don't want to display the strEbayID just like that, I want to display a link to the actual auction on the Ebay website.
The closest I got was this (replacing the above column):
But unfortunately this doesn't work. To build the String I can use variables from the main model without a problem. But I don't know how I can use values from the nested model, ie. strEbayID here. It's displayed as undefined this way.
I couldn't solve this yet and I am running out of ideas. But I should be pretty close I guess. Can you help me?
With kind regards...