Wrox Programmer Forums
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 20th, 2007, 03:51 PM
Friend of Wrox
Join Date: Aug 2006
Posts: 107
Thanks: 0
Thanked 0 Times in 0 Posts
Default Binding from usercontrol

Hi all,

I am trying to bind a grid(in webform1.aspx) from my user control.

The purpose is that, I have some cotrols in my usercontrols, and as the control's value changes, i have to rebind.

So, is there any possiblity to bind the grid(which is in say webform1.aspx) from my usercontrol's control event?(eg: button click event in usercontrol, can i bind the grid)

Hope someone will help me


Old June 12th, 2007, 04:32 AM
Friend of Wrox
Join Date: Oct 2004
Posts: 553
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to vinod_yadav1919 Send a message via Yahoo to vinod_yadav1919

Hi sarah lee!!
Offcourse you can do this, to achieve ur requirement you need to wire up an event based on that you can rebind the grid.
Hope this will help you

Cheers :)


Similar Threads
Thread Thread Starter Forum Replies Last Post
UserControl in a GridView Aaron Edwards ASP.NET 2.0 Professional 0 November 22nd, 2007 01:00 PM
how to make usercontrol touyakira Visual C++ 2005 0 May 17th, 2006 10:13 PM
usercontrol in datagrid flickerslair ASP.NET 1.0 and 1.1 Basics 0 January 5th, 2006 11:59 AM
Usercontrol properties. chakravarthy_vb General .NET 1 March 31st, 2005 02:39 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.