desperately trying to get parameters into reports
Posted: Wed Aug 21, 2019 4:35 am
I don't know how to articulate this so bear with me.
I have a page with something as simple as a textbox.
I need to somehow get that value into my controller.. or somewhere?
I have these actions:
None of these have any variables from my page. If I try to include a model .. well, my model is null when one of the above methods is fired.
So it does not pass the model back even tho the model was returned to the page and the forms are filled with data from that model.
It seems to me that the only way to make this work is to have a page where the user can enter their data and then post that to a second page?
There has to be a better solution than something hacky like that.
I can do that and it works but that's just crap.
All I have been able to do so far is get it to refresh:
jsNetCoreViewer.postAction('Refresh');
That's it.
How do I get new variables into the report on refresh?
I amn lost... this web stuff isn't my thing so I am really out of my element.
I have a page with something as simple as a textbox.
I need to somehow get that value into my controller.. or somewhere?
I have these actions:
Code: Select all
Actions =
{
GetReport = "GetReport",
ViewerEvent = "ViewerEvent",
Interaction = "ViewerInteraction"
}
So it does not pass the model back even tho the model was returned to the page and the forms are filled with data from that model.
It seems to me that the only way to make this work is to have a page where the user can enter their data and then post that to a second page?
There has to be a better solution than something hacky like that.
I can do that and it works but that's just crap.
All I have been able to do so far is get it to refresh:
jsNetCoreViewer.postAction('Refresh');
That's it.
How do I get new variables into the report on refresh?
I amn lost... this web stuff isn't my thing so I am really out of my element.