[CLOSED] RAZOR / JS component Ref question
Hi Guys
I am cracking on through my dynamic tab creation and now I have a wee reference question. I am adding
Code:
TempData["tabNumber"]
To my id's that I need to be unique but part of the code uses a javascript direct method to build and fire a url in this I was just saying
Code:
App.assetType.getDisplayValue()
Which worked fine but of course it wont now are the ID will be assetType1 , assetType2, etc, etc
I thought that using
Code:
Ext.getTextField('sStock' + tabnumber).getValue()
might work as
Code:
Ext.getStore('OrderLegs')
does the trick for stores. But just get errors
Not sure how I should reference these text fields etc.