Click here to Skip to main content
12,954,522 members (54,981 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hello friends, I am having a asp grid with columns tag containing asp:Template and inside that having asp:control. Now i need of column resizing using mouse drag option(by user).But I know it is possible by using components like telerik, etc.
I am asking whether is it possible without using 3rd party component ? and if yes by how?
I am ready to use javascript......
Plz , suggest me........ with your experience
Posted 6-Jul-11 10:18am
Updated 6-Jul-11 11:03am
Monjurul Habib 6-Jul-11 16:43pm
clarify your question. what you mean by "run time using mouse drag" ??
vino12345 6-Jul-11 17:02pm
coming to tell user use mouse cursor to change the size of the column.
understood ah ?
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

vino12345 7-Jul-11 6:32am
Thank u Wonde Tadesse its gives me how 3rd party components are building to give product services.
Wonde Tadesse 7-Jul-11 9:57am
You're most welcome.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

yes its possible, if not how other 3rd party components are build, you can get idea regarding implementation from below links[^][^][^][^]
vino12345 6-Jul-11 17:11pm
Thank u Shahriar iqbal, But i am asking i already produced my product using components asp:gridview,columns,template,itemtemplate,edititemtemplate,asp:control,etc But ur answer is for html tag
vino12345 6-Jul-11 17:12pm
I am waiting for your answers...............
Shahriar Iqbal Chowdhury 6-Jul-11 17:27pm
GridView/DataGrid whatever you used final output is table, so you have to work on rendered output
Shahriar Iqbal Chowdhury 6-Jul-11 17:29pm
check this link
vino12345 11-Jul-11 5:58am
Its working I fixed my will support only in IE browser.
- Thank You
Jadhav Abhijit 27-Mar-12 17:34pm
Hi Vino,
I have similar issue so Can you please help me to resolve it?

Resizing the column width of GridView. Please email me on
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

Member 9337078 2-Jul-13 21:51pm
how to swap 2 columns in grid either right or left in simple c# language please give the solution with out rad controls and ajax

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month
OriginalGriff 6,539
CHill60 3,490
Maciej Los 3,153
ppolymorphe 2,030
Jochen Arndt 1,975

Advertise | Privacy | Mobile
Web02 | 2.8.170525.1 | Last Updated 13 Apr 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100