SSRS report with datetime parameter shown as text field

Zolotoy 226 Reputation points
2025-02-20T17:40:38.5833333+00:00

A client is complaining when he runs a report inside of the system where it runs inside of an iframe the two datetime pickers re rendered as textboxes, but running it directly works fine. Any idea?

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,998 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. ZoeHui-MSFT 40,901 Reputation points
    2025-02-21T06:22:13.08+00:00

    Hi @Zolotoy

    Will it be related with the browser or the Security Settings from client side?

    From my side, the datetime parameter works fine.

    User's image

    Or you may try to embed the report with a default value for the datetime.

    See https://stackoverflow.com/questions/49655631/setting-the-src-of-an-iframe-with-parameters-causes-x-frame-options-sameorigins

    Regards,

    Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

  2. Zolotoy 226 Reputation points
    2025-02-21T12:07:43.4733333+00:00

    Yes, as I said, running report directly works fine. However, I have to add more details. When I say it's not running properly inside of our system I have to explain what the system is. Our application is an angular application where we render reports inside of an iframe, but the most important thing is that we are NOT using SSRS server. Instead, we are using a concept of a Local report where report is processed on the server. Then it's rendered in the Browser using an iframe.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.