i have a task to create a custom gridview(smartgrid) control .in which i can give the user facility to edit the Items in the grid on clicking on a particular row..
You can just drag and drop a GridView onto an ascx (Customized Control) and then bind it with a SqlDataSource that has generated CRUD methods. And then enable "Editing" that'll be fine with you.
I appreciate your suggesion.i already worked on ascx control...(its a user control any way!!)..but, i have a task to create a Brand New Custom Server control...which inherits the properties from the gridview....
naani1723
Member
14 Points
8 Posts
How can i create a custom asp.net grid view control with inline editing
Jan 05, 2013 11:26 AM|LINK
How can i create a custom asp.net grid view control which have the inline editing and updating Properties.plz help me out!!
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: How can i create a custom asp.net grid view control with inline editing
Jan 06, 2013 02:58 AM|LINK
Hi,
I don't understand what you mean inline and updating properties?
What do you wanna with these properties?
naani1723
Member
14 Points
8 Posts
Re: How can i create a custom asp.net grid view control with inline editing
Jan 06, 2013 01:28 PM|LINK
i have a task to create a custom gridview(smartgrid) control .in which i can give the user facility to edit the Items in the grid on clicking on a particular row..
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: How can i create a custom asp.net grid view control with inline editing
Jan 07, 2013 12:26 AM|LINK
Hello,
You can just drag and drop a GridView onto an ascx (Customized Control) and then bind it with a SqlDataSource that has generated CRUD methods. And then enable "Editing" that'll be fine with you.
Anything feedback, welcome your reply;)
naani1723
Member
14 Points
8 Posts
Re: How can i create a custom asp.net grid view control with inline editing
Jan 07, 2013 03:35 PM|LINK
hello Decker,
I appreciate your suggesion.i already worked on ascx control...(its a user control any way!!)..but, i have a task to create a Brand New Custom Server control...which inherits the properties from the gridview....
this is the link which i found finally to work on the custom controls.....http://msdn.microsoft.com/en-us/library/yhzc935f(v=vs.100).aspx
if you have any idea about that kindly let me know it plz..
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: How can i create a custom asp.net grid view control with inline editing
Jan 08, 2013 12:10 AM|LINK
Hi again,
Since you've created on ascx control successfully, you can convert this User control to a distruibted one according to this torturial:
http://koenwillemse.wordpress.com/2011/05/05/converting-user-controls-into-custom-controls/
Or from this MSDN article:
http://blogs.msdn.com/b/davidebb/archive/2005/10/31/turning-an-ascx-user-control-into-a-redistributable-custom-control.aspx
naani1723
Member
14 Points
8 Posts
Re: How can i create a custom asp.net grid view control with inline editing
Jan 09, 2013 03:22 PM|LINK
thanks Decker.. i ll seee to it....and i ll just post if i have any doubt ...