how to use mp_Table_ToGridView.cst (codesmith)

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.
4/6/2013 4:51:04 PM
Gravatar
Total Posts 5

how to use mp_Table_ToGridView.cst (codesmith)

I tried to use codesmith to show mydata in grid view and I generated my cide using mp_Table_ToGridView.cst

but I got some error in VS

such as :

1-   The name 'ModuleID' does not exist in the current context    

and same error for pageNumber ,spnPager,pageid,pagesize,pagenumber,...

and

2-It use some functions (like Delete,Getpage) from business object  that wasnt declared in my business object(I use codesmith to generate my business class)

3- 'project3.UI.ShowContactModule' does not contain a definition for 'ModuleID' and no extension method 'ModuleID' accepting a first argument of type 'project3.UI.ShowContactModule' could be found (are you missing a using directive or an assembly reference?) 

could plz help me to solve these problem and explain to me how to use this template to show data in gridview 

 

 

 

 

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