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!
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:
I am extremely impressed with your writing skills and also with the layout on your blog
qlikview online training
Post a Comment