Displaying MojoPortal data in a GridView on my own page

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
6/23/2014 3:18:01 PM
Gravatar
Total Posts 11

Displaying MojoPortal data in a GridView on my own page

Hello Forum:

I read this other forum post (link below) and the pages it links to (SQL Query Tool & Fill Chart Data from a Query). I have found these most helpful.

I want to do what is described in the subject line of this post.

My plan of action is:

- Enable the Query tool
- write and debug the query that extracts the data I want
- store that query as a saved query using the Query Tool
- create a new ascx
- Define a GridView in the markup
- in the C# code, pull the saved query and (using a DataReader), populate the GV

My questions are:

1. Should I use ASP:GridView (standard ASP.NET) or is there a MojoPortal:GridView control I should use?
2. The chart example uses ZGW for rendering and "pulls" the query in the OnRenderUserChart() method. For GV should I "pull & populate" by overriding the OnPreRender() method?
3. Can saved queries do DML (UPDATE, etc.)?

Thanks in advance.

Regards..

RogerW
SF
-----------------------------------------------------
Hello World Quick Start Tutorial
 

Using The SQL Query Tool
 

Populating a Chart With Data From a Saved Query
 

6/27/2014 11:25:49 AM
Gravatar
Total Posts 11

Re: Displaying MojoPortal data in a GridView on my own page

OK I got this to work...main thing I was missing?

The %Import for System.Data...sure make a big difference to IDataReader..

Regards..

You must sign in to post in the forums. This thread is closed to new posts.