Portal Engine
Version 3.x > Portal Engine > WebPart linking (using variables) View modes: 
User avatar
Member
Member
cschlichter-fossind - 11/6/2008 7:11:59 AM
   
WebPart linking (using variables)
I've seen a similar post but am still confused...

I have a page with 2 webparts. One webpart has a DataGrid (left zone) and the other has a Details Control (right zone). Both are connected to a SQL database outside of KenticoCMS. What I want to happen is when I select a record in the webpart in the left zone, I want the webpart in the right zone to display the Details of that record. Also, I want to pass the User Logon name into the left zone webpart to quickly select userdata after logon.

I have had success doing all of the above without webparts but then I cannot get the datagrid and details formatted nicely side-by-side.

I understand there is an obsolete Web Part Binding method (tab) but I would rather not go that method as it is obsolete for a reason, right?

Anybody have any answers or sample code to share ???

Thanks!
Chuck

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 11/6/2008 9:40:29 AM
   
RE:WebPart linking (using variables)
Hi Chuck,

I am not sure I got your point - is your issue about layout of web parts? I am a bit confused about meaning of a Web Part Binding method and a Web Part linking.

Would you like to have two web parts (placed in different zones) side-by-side?

If so, you could for example envelope your web parts with <div> tags and set their absolute positioning in CSS.

If I made a mistake in understanding you, please provide us more details.

Thank you.

Best regards,
Helena Grulichova