Tuesday 18 March 2014

How To Create/Load a Qlikview Object From Asp.Net Codebehind using Workbench

In this blog post you will find a short c# code snippet allowing QlikView Workbench developers to create a new QlikView Object on Visual Studio IDE's code behind.


protected void Page_LoadComplete(object sender, EventArgs e)
{
        QvObject myQvObject = new QvObject();
        myQvObject.QlikViewDocument = "documentName (Local)";//(Local) should be added
        myQvObject.ObjectID = "Document\\CH04";
        myQvObject.Height = 250;
        myQvObject.Width = 400;
        myQvObject.CustomInitialization = false;

        Panel objectPanel = new Panel();
        objectPanel.Controls.Add(myQvObject);

        UpdatePanel1.ContentTemplateContainer.Controls.Add(objectPanel);//Already created from code beside
}

Enjoy while use!

1 comment:

Unknown said...

I am extremely impressed with your writing skills and also with the layout on your blog
qlikview online training