473,322 Members | 1,314 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

How can i use 2 usercontrols containing Gridview in a webpart

My goal is to have 2 webparts connected which will have Gridviews in it.
I have tried the following sample at:

http://www.carlosag.net/Articles/Web...ealSample.aspx
But i can't get it to work as its an old article and the Ifield interface i
guess is obsolete.
But when i tried changing it to IWebPartField Interface i keep getting
error:

'IWebPartField.GetFieldValue' in explicit interface declaration is not a
member of interface

When using the approach on that page do i need to use the IWebPartRow
interface?
So my question is how can i use usercontrols in webparts to achieve this.If
possible how?
Oct 31 '08 #1
0 1067

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: J. Jespersen | last post by:
Hi people, I fiddling with webparts, and have created my own custom webpart from scratch. The webpart itself is contained in a myPart.dll I have two different sites. SiteA and SiteB. Both are...
0
by: Aaron C. Roberts | last post by:
Hi there: I am working with ASP.NET 2.0 and I've implemented a WebPartPanel control to server as a wrapper for my WebPart enabled site. The wrapper has a custom omplementation of the HelpVerb...
0
by: larry | last post by:
Hi, I have two webparts with updatepanel and gridview in each webpart. Using the web part manager and web part connection gives me the key to filter the second (detail) gridview, which works...
0
by: Basman | last post by:
I am trying to find out how to Import User Controls as Webparts using ImportCatalogPart and the steps necessary to do this. These will not be Webparts in Sharepoint. They will be strickly in the...
0
by: Steinbrenner | last post by:
I have tried to upgrade my code to use a gridview instead of a datagrid. My datasource is a dataset, and the dataset contains embedded HTML (i.e., <HRand <BRtags). The datagrid would interpret...
0
by: Christian Petersen | last post by:
Hi, I've got a WebForm with a GridView, I want to databind this to an ObjectDataSource (ODS1). The input parameters for the ODS1 is placed on a Web UserControl, in the form of public properties...
7
by: Nathan Sokalski | last post by:
I have a page which I dynamically add several usercontrols (*.ascx files) to using the following code: Public Sub Refresh() For Each section As DataRow In Me.GetSections().Rows...
0
by: shane.niebergall | last post by:
Hi - I've been able to create my own webparts as a custom control, by compiling as a class library and then importing the dll on my asp.net page. However, I do appreciate the convenience of the...
2
by: Mr Nobody | last post by:
Hi all, I have two user controls that contain there respective own gridview and objectdatasource. Now when i add both controls to a page, i want gridview A's selected value to be a parameter...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.