CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.web_parts_and_personalization Tags:
Item Type: NewsGroup Date Entered: 3/26/2008 1:49:00 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 18 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
srinivas.rajula
Asp.Net User
webpart3/26/2008 1:49:00 PM

0/0

Hi i had creatd a web part and used a datagrid in one of the webpart and it thrown an error can any one give me a solution for the problem

The DataSourceID of 'datagrid1' must be the ID of a control of type IDataSource.  A control with ID 'd1' could not be found.

when i kept the grid out of the web part it is working , and when i used the grid in the web part its throwing the error. can any one give me asuggestion or worked out example so that i could go ahead

regards

srinvias

srinvas@mtccrm.com

srinivas.rajulapudi@gmail.com 

 

simon.hatchard
Asp.Net User
Re: webpart3/26/2008 1:57:51 PM

0/0

Ensure that your web part implements INamingContainer

Public Class MyWebPart
   Implements INamingContainer
   ....

vinz
Asp.Net User
Re: webpart3/27/2008 12:02:13 AM

0/0

srinivas.rajulapudi:

Hi i had creatd a web part and used a datagrid in one of the webpart and it thrown an error can any one give me a solution for the problem

The DataSourceID of 'datagrid1' must be the ID of a control of type IDataSource.  A control with ID 'd1' could not be found.

when i kept the grid out of the web part it is working , and when i used the grid in the web part its throwing the error. can any one give me asuggestion or worked out example so that i could go ahead

regards

srinvias


Hi srinivas.rajulapudi,

Try to create a User Control and place you Grid and other stuff there.. After that you can now use that UserControl as Webparts by dragging it in the WebPartZone.. see link below

http://msdn2.microsoft.com/en-us/library/w9b5ett0.aspx 


Don't forget to click "Mark as Answer" on the post that helped you. That way future readers will know which post fixed your problem.


3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Microsoft Sharepoint: Building Office 2007 Solutions in C# 2005 Authors: Scot Hillier, Pages: 513, Published: 2007
Microsoft Office SharePoint Server 2007: The Complete Reference Authors: David Matthew Sterling, David Sterling, Pages: 788, Published: 2007
Pro ASP.NET 2.0 in VB 2005: From Professional to Expert Authors: Laurence Moroney, Matthew MacDonald, Pages: 1253, Published: 2006
Pro ASP.NET 3.5 in C# 2008 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1498, Published: 2007
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1255, Published: 2005
Beginning SharePoint 2007: Building Team Solutions with MOSS 2007 Authors: Amanda Murphy, Shane Perran, Pages: 552, Published: 2007
Microsoft SharePoint 2007 For Dummies Authors: Vanessa L. Williams, Pages: 438, Published: 2007
Sharepoint 2007: The Definitive Guide Authors: James Pyles, Christopher M. Buechler, Bob Fox, Murray Gordon, Michael Lotter, Jason Medero, Pages: 794, Published: 2007
Essential SharePoint 2007: A Practical Guide for Users, Administrators and Developers Authors: Jeff Webb, Pages: 428, Published: 2007
Pro SharePoint Solution Development: Combining .NET, SharePoint and Office 2007 Authors: Ed Hild, Susie Adams, Pages: 376, Published: 2007

Web:
WebPart Class (System.Web.UI.WebControls.WebParts) Serves as the base class for custom ASP.NET Web Parts controls, adding to the base Part class features some additional user interface (UI) properties, ...
Web part - Wikipedia, the free encyclopedia A web part is an ASP.NET server control which is added to a Web Part Zone on Web Part Pages by users at run time. Web Parts are an integrated set of ...
Sharepointserver.com - Webparts It’s a modification of the original search webpart include in SPS. ... If you have webparts you want to share .. send them to info@sharepointserver.com ...
Home - Downloads - Tools and Applications The Web Part Toolkit offers five of the most powerful SharePoint tools that free can buy. These tools are designed to give you a powerful insight to the ...
WebPart Class (Microsoft.SharePoint.WebPartPages) Provides the base class for creating Windows SharePoint Services Web Parts.
SharePoint Forums Web Part - Home The SharePoint Forums Web Part is a free, open source, single web part that provides a more feature rich discussion board for SharePoint Portal Server and ...
ASP.NET 2.0: WebPart Framework Basics ASP.NET 2.0 provides fantastic support for WebParts, reusable Web site widgets. With very little code, you can leverage WebParts to create a full-fledged ...
Content Editor WebPart: Flash - Alex Pearce's SharePoint Blog In part 2 of Using the Content Editor WebPart I want to talk about how you can integrate ... Click Edit on the webpart and then into Modify Shared Web Part. ...
ASP.NET WebParts CatalogPart Sample Another WebPart Sample ASP.NET WebPart CatalogPart.
Web Part Samples Asynchronous Web Parts allow you to take long-running code and fire off that code asynchronously in your web part so that you can return back the user ...

Videos:
Rules and Semantic Web - Part 1 This is the part 1 of a 3-part series that discuss on how we can use Semantic Web technologies for modeling Domain Model of Rule-based Business Appli...
Rules and Semantic Web - Part 2 This is the part 2 of a 3-part series that discuss on how we can use Semantic Web technologies for modeling Domain Model of Rule-based Business Appli...
Borås Djurpark for web part 2 Borås Djurpark for web part 2
Rules and Semantic Web - Part 3 This is the part 3 of a 3-part series that discuss on how we can use Semantic Web technologies for modeling Domain Model of Rule-based Business Appli...
InfoPath Forms in a Web Part Screencast showing how to configure sharepoint to show an InfoPath form in a web part.
Lecture -11 World Wide Web Part-I Lecture Series on Internet Technologies by Prof.I.Sengupta, Department of Computer Science & Engineering ,IIT Kharagpur. For more details on NPTEL vi...
SharePoint Silverlight Browser WebPart A Silverlight WebPart to display documents in SharePoint. See http://www.triplewood.com
PRIS ep40: The Impenetrable Web. Part 2/3 PRIS ep40: The Impenetrable Web. Part 2/3
spider's web: part 02 the honey trees [becky filip&co.] spider's web [live] the underground roseville, california, usa may 13th,2006
Beast Wars: Tangled Web Part 1 Series 2 Episode 4




Search This Site:










windows 2k server shared server security

error using response.redirect with wmv files

how to have more than one dnn project in vs.net?

how to transfer a page to another page?

need help for using inherits

has anyone tried to create asp based dnn module?

portal security in new aspx pages

reference properties of a user control

how do i do this?

expert help needed

how can i change formsauthentication redirectfromloginpage url

help please :(

open new file

login failed for user '' only when using membership provider

page ui with ascx components?

setting up listboxs for website

treeview control with radio button

profile table

web navigation problem

i can't login

quick questions (hopefully)

page.smartnavigation substitute to prevent blinking of page on post back to server

roll over image swapping within an html/text module?

check to see if an event has already been registered

australian dnn hosts

showing date

portal monthly payments - not user monthly payments

configuration class constructor

forms authentication problem after logout

asp.net website changes its settings on different browser

 
All Times Are GMT