Page 1 of 1

Height of editable textbox does not grow with text entered

Posted: Mon Dec 16, 2019 11:37 am
by Pooja.Sathe
Hi,

We have integrated stimulsoft report with AngularJS and now facing issue with editable textbox which when edited does not grow to the size of text entered.

Any idea what can be wrong there?

Can Grow and Grow to Height properties of text box has been set to true.

Thanks,
Pooja

Re: Height of editable textbox does not grow with text entered

Posted: Tue Dec 17, 2019 3:05 pm
by HighAley
Hello.

The components on the rendered report can't change its size.
If any component change its size the whole report should be rendered again.
So an only solution for you would be to make the size of the components as large as you need at design time.

Thank you.

how to get stiweb_parameters in GetReport

Posted: Fri Apr 17, 2020 10:26 am
by Pooja.Sathe
Hi,

We have integrated stimulsoft with Angular. for testing purpose we need stiweb_parameters's value to pass it to some script.

Is there anyway to get stiweb_parameters's value? and how stimulsoft generate stiweb_parameters in clientside?

Thanks,
Pooja

Re: Height of editable textbox does not grow with text entered

Posted: Fri Apr 17, 2020 9:17 pm
by Lech Kulikowski
Hello,

Sorry, maybe we did not exactly understand your question. Could you explain your issue in more detail?

Thank you.

Re : how to get stiweb_parameters in GetReport

Posted: Sat Apr 18, 2020 5:56 am
by Pooja.Sathe
Hi ,

This is related to GetReport() method.

Api: ../ReportViewer/GetReport/6aac9e1e-6388-88fa-f01d-39da0433a867

The parameter is : stiweb_parameters=eyJ2aWV3ZXJJZCI6IlZpZXdlcl8yMzY1MDU5Iiwicm91dGVzIjp7ImFjdGlvbiI6IkluZGV4IiwiY29udHJvbGxlciI6IlJlcG9ydFZpZXdlciIsImlkIjoiNmFhYzllMWUtNjM4OC04OGZhLWYwMWQtMzlkYTA0MzNhODY3In0sImZvcm1WYWx1ZXMiOnsic2VsZWN0aW9uRGF0YSI6IntcIk1vZGVsSWRcIjpcImY1MjU3ZWJhLWY5ZTgtYzNmZS1lZjk4LTM5ZTJkZDQ4N2IzY1wiLFwiUmVwb3J0SWRzXCI6W1wiOThiYzU4MTUtMDA3MC1jMDY3LWZkMDMtMzljZDAzMTA0NWZhXCIsXCJlNzUxOTNjNC0zYzBjLTIxNTktZTVkOC0zOWNkMDMyMzQ3ZmZcIixcIjliNjc3OWI4LTI5N2ItNTE4ZC0yNzFmLTM5Y2QwOTJhMjU1ZVwiXSxcIlVzZXJUaW1lem9uZU9mZnNldFwiOjMzMH0iLCJyZXBvcnRUeXBlIjoiQ29uc29saWRhdGVkIn0sImNsaWVudEd1aWQiOiI5N2Y4NmZjM2ZjYTI0N2E0OGRmOGRkMjBlNjA2MTY2ZSIsImRyaWxsRG93bkd1aWQiOm51bGwsImNhY2hlTW9kZSI6Ik9iamVjdENhY2hlIiwiY2FjaGVUaW1lb3V0IjoxMCwiY2FjaGVJdGVtUHJpb3JpdHkiOiJEZWZhdWx0IiwicGFnZU51bWJlciI6MCwiem9vbSI6MTAwLCJ2aWV3TW9kZSI6IkNvbnRpbnVvdXMiLCJzaG93Qm9va21hcmtzIjpmYWxzZSwib3BlbkxpbmtzV2luZG93IjoiX2JsYW5rIiwiY2hhcnRSZW5kZXJUeXBlIjoiQW5pbWF0ZWRWZWN0b3IiLCJyZXBvcnREaXNwbGF5TW9kZSI6IkRpdiIsImRyaWxsRG93blBhcmFtZXRlcnMiOltdLCJlZGl0YWJsZVBhcmFtZXRlcnMiOm51bGwsInVzZVJlbGF0aXZlVXJscyI6dHJ1ZSwicGFzc1F1ZXJ5UGFyYW1ldGVyc0ZvclJlc291cmNlcyI6dHJ1ZX0%3D.

this stiweb_parameter is different for each report template.

We need to this stiweb_parameter to pass to certain script for further work.

is it possible to get this by any chance using some method?

and stimulsoft generate this parameter?

Re: Height of editable textbox does not grow with text entered

Posted: Mon Apr 20, 2020 7:00 am
by Lech Kulikowski
Hello,

In the latest versions - that parameter is encrypted, you can’t get the value in any way.

You can get a special parameters collection on the server side:
var requestParams = StiNetCoreViewer.GetRequestParams(this);
also, you can add your own

Code: Select all

<script>
  jsNetCoreViewer1._postAjax = jsNetCoreViewer1.postAjax;
  jsNetCoreViewer1.postAjax = function (url, data, callback) {
    // If you want to add a parameter to the URL
    url += url.indexOf("?") > 0 ? "&" : "?";
    url += "myParameter=123456";

    // If you want to add a parameter to the POST data
    data.myTestParameter = "9999";

    jsNetCoreViewer1._postAjax(url, data, callback);
  }
</script>
Thank you.

Re: Height of editable textbox does not grow with text entered

Posted: Tue Apr 21, 2020 5:52 am
by Pooja.Sathe
Hi ,

Is there any Api exposed to get encrypted value of sti_web parameter?

Re: Height of editable textbox does not grow with text entered

Posted: Tue Apr 21, 2020 11:28 am
by HighAley
Hello.

This is a Base64 string.
You could decode it if you need.

Thank you.