Question T12144
Visible to All Users

Integrate with C#

created 2 years ago

i have C# MVC website and i want to add the admin panel into my admin panel and show the survey into the website and hide the survey js header and use my website header how to do that

my site is https//innovationsoases.com

Answers approved by surveyjs Support

created 2 years ago

Hello Omar,
Please review our asp.net mvc example on this page. It contains full source code. It does what you need.

Thank you,
Andrew
SurveyJS Team

    Comments (2)
    OA OA
    Omar AbdElhadi 2 years ago

      i saw the sample i just want to know how to hide the header ,


        Hello Omar,
        That sample uses the following front-end application: https://github.com/surveyjs/surveyjs-react-client. To remove the header, open the App.tsx page and remove the header HTML element:

        TypeScript
        function App() { return ( <Provider store={store}> <Router> <div className="sjs-client-app"> {/* <header className="sjs-client-app__header"> <img src={logo} className="sjs-client-app__logo" alt="logo" height={'50px'} /> <NavBar/> </header> */} <main className="sjs-client-app__content"> <Content/> </main> <footer className="sjs-client-app__footer"> </footer> </div> </Router> </Provider> ); }

        I attached the modified sample. Please let us know if you have any questions or require further assistance.