C# Class PBIWebApp._Default

Show file Open project: Microsoft/PowerBI-CSharp

Protected Properties

Property Type Description
Button2 global::System.Web.UI.WebControls.Button
PanelDashboards global::System.Web.UI.WebControls.Panel
PanelEmbed global::System.Web.UI.WebControls.Panel
ReportEmbedUrl global::System.Web.UI.WebControls.TextBox
SignInPanel global::System.Web.UI.WebControls.Panel
Table1 global::System.Web.UI.WebControls.Table
accessToken global::System.Web.UI.WebControls.HiddenField
accessTokenTextbox global::System.Web.UI.WebControls.TextBox
getReportButton global::System.Web.UI.WebControls.Button
getTileButton global::System.Web.UI.WebControls.Button
signInButton global::System.Web.UI.WebControls.Button
signInStatus global::System.Web.UI.WebControls.Panel
tileEmbedUrl global::System.Web.UI.WebControls.TextBox
userLabel global::System.Web.UI.WebControls.Label

Public Methods

Method Description
GetAccessToken ( string authorizationCode, string clientID, string clientSecret, string redirectUri ) : string
GetAuthorizationCode ( ) : void

Protected Methods

Method Description
GetReport ( int index ) : void
Page_Load ( object sender, EventArgs e ) : void
getDashboardsButton_Click ( object sender, EventArgs e ) : void
getReportButton_Click ( object sender, EventArgs e ) : void
signInButton_Click ( object sender, EventArgs e ) : void

Method Details

GetAccessToken() public method

public GetAccessToken ( string authorizationCode, string clientID, string clientSecret, string redirectUri ) : string
authorizationCode string
clientID string
clientSecret string
redirectUri string
return string

GetAuthorizationCode() public method

public GetAuthorizationCode ( ) : void
return void

GetReport() protected method

protected GetReport ( int index ) : void
index int
return void

Page_Load() protected method

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

getDashboardsButton_Click() protected method

protected getDashboardsButton_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

getReportButton_Click() protected method

protected getReportButton_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

signInButton_Click() protected method

protected signInButton_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

Property Details

Button2 protected property

Button2 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button Button2
return global::System.Web.UI.WebControls.Button

PanelDashboards protected property

PanelDashboards control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Panel PanelDashboards
return global::System.Web.UI.WebControls.Panel

PanelEmbed protected property

PanelEmbed control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Panel PanelEmbed
return global::System.Web.UI.WebControls.Panel

ReportEmbedUrl protected property

ReportEmbedUrl control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox ReportEmbedUrl
return global::System.Web.UI.WebControls.TextBox

SignInPanel protected property

SignInPanel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Panel SignInPanel
return global::System.Web.UI.WebControls.Panel

Table1 protected property

Table1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Table Table1
return global::System.Web.UI.WebControls.Table

accessToken protected property

accessToken control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.HiddenField accessToken
return global::System.Web.UI.WebControls.HiddenField

accessTokenTextbox protected property

accessTokenTextbox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox accessTokenTextbox
return global::System.Web.UI.WebControls.TextBox

getReportButton protected property

getReportButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button getReportButton
return global::System.Web.UI.WebControls.Button

getTileButton protected property

getTileButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button getTileButton
return global::System.Web.UI.WebControls.Button

signInButton protected property

signInButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button signInButton
return global::System.Web.UI.WebControls.Button

signInStatus protected property

signInStatus control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Panel signInStatus
return global::System.Web.UI.WebControls.Panel

tileEmbedUrl protected property

tileEmbedUrl control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox tileEmbedUrl
return global::System.Web.UI.WebControls.TextBox

userLabel protected property

userLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label userLabel
return global::System.Web.UI.WebControls.Label