Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
omerfaruk
Creator
Creator

Loading Qlik Objects at runtime without a full page postback

Hi,

In an Asp.Net page can we load qlikview objects on a list box's selected index changed event?

Update Panel method: Using the Following Code:

            QvObject myQvObject = new QvObject();

            myQvObject.QlikViewDocument = ListBox1.SelectedValue;

            myQvObject.ObjectID = ListBox3.SelectedValue;

            myQvObject.Height = 250;

            myQvObject.Width = Unit.Parse("100%");

            widgets.Attributes.Add("style", "width:100%;height:250px;border-collapse:collapse;");

            widgets.Controls.Add(myQvObject);//panel item inside update panel

The page didn't trigger a full postback but I get following html output:

<div style="width:100%;height:250px;border-collapse:collapse;">

  <div class="QvFrame" avqview="metrics" avq="object:.Document\CH38" id="Document\CH38" style="display:none;width:100%;height:250px;"></div>

</div>

Is there any way to achieve that?

1 Solution

Accepted Solutions
omerfaruk
Creator
Creator
Author

Please correct me if I am wrong.

This appears to be possible only single object integration using iframe.

<iframe src="http://localhost/QvAJAXZfc/singleobject.htm?document=Whats%20New%20in%20QlikView11.qvw&object=CH05" />

View solution in original post

1 Reply
omerfaruk
Creator
Creator
Author

Please correct me if I am wrong.

This appears to be possible only single object integration using iframe.

<iframe src="http://localhost/QvAJAXZfc/singleobject.htm?document=Whats%20New%20in%20QlikView11.qvw&object=CH05" />