Forum Discussion
Anonymous
1 year agoNot applicable
Paginated report not embedding inside update panel ASP.net
Using Javascript SDK in asp.net framework application. The Power BI contianer DIV is not rendering the Paginated report under ASP.updatepanel. Outsite the updatepanel the report is rendering.
Anonymous
1 year agoNot applicable
not working Ssriganesh, can you guide me how to render power BI Paginated report inside <ASP.UpdatePanel>
v-ssriganesh
Community Support
1 year agoHello Anonymous,
Thank you for the update and please try below code:
var models = window['powerbi-client'].models;
var embedConfig = {
type: 'report',
isPaginatedReport: true,
id: reportId,
embedUrl: embedUrl,
accessToken: embedToken,
tokenType: models.TokenType.Embed,
settings: {
panes: {
filters: { expanded: false, visible: false },
pageNavigation: { visible: true },
parameters: { expanded: false, visible: false }
},
navContentPaneEnabled: true,
parameterPaneEnabled: false
}
};
I trust this information proves useful. If it does, kindly “Accept as solution” and give it a 'Kudos' to help others locate it easily.
Thank you.