Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Custom Table Lookups View modes: 
User avatar
Member
Member
Armysniper89 - 10/11/2011 11:56:01 AM
   
Custom Table Lookups
I am trying to build a Web Part or utilize the web parts of Kentico to create something that looks like this:

User image

I thought maybe I could create this with a Custom Table Data Source and then a grid and a custom control to handle the search filtering. Problem is that the query that loads the grid wont let me do any kind of stored procedure call to bring in the needed Lookup tables for things in the grid.

Then I thought I would use the grid in a custom web part and just handle how it loads but I cannot seem to find the web part in Visual Studio to load it. I can see custom table data source and Custom Table Form but not the grid. Any help and suggestions on how to pull off that as easily as possible would be great.

User avatar
Member
Member
Armysniper89 - 10/11/2011 11:56:49 AM
   
RE:Custom Table Lookups
Looks like my image did not come through...here is a link to it on Skydrive

https://skydrive.live.com/redir.aspx?cid=3d4b35a6a85fd3ce&page=play&resid=3D4B35A6A85FD3CE!1579

User avatar
Member
Member
kentico_michal - 10/16/2011 12:17:21 AM
   
RE:Custom Table Lookups
Hello,

You always need to register given control and use it like this:

<%@ Register src="../../CMSWebParts/CustomTables/CustomTableDataGrid.ascx" tagname="CustomTableDataGrid" tagprefix="uc1" %>

<uc1:CustomTableDataGrid ID="CustomTableDataGrid1" runat="server" />


Please note path in src property of Register directive is relative, so you need to use a valid path.

Best regards,
Michal Legen