Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
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 11:18am
vino20121.4K
Edited 6-Jul-11 12:03pm
v2
Comments
Monjurul Habib at 6-Jul-11 16:43pm
   
clarify your question. what you mean by "run time using mouse drag" ??
vino12345 at 6-Jul-11 17:02pm
   
coming to tell user use mouse cursor to change the size of the column.
understood ah ?
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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

Solution 1

hi,
yes its possible, if not how other 3rd party components are build, you can get idea regarding implementation from below links
http://robau.wordpress.com/2011/06/09/unobtrusive-table-column-resize-with-jquery/[^]
http://www.audenaerde.org/example.html[^]
http://reconstrukt.com/ingrid/src/example1.html[^]
http://bz.var.ru/comp/web/resizable.html[^]
  Permalink  
Comments
vino12345 at 6-Jul-11 17:11pm
   
Thank u Shahriar iqbal, But i am asking i already produced my product using asp.net components asp:gridview,columns,template,itemtemplate,edititemtemplate,asp:control,etc But ur answer is for html tag
vino12345 at 6-Jul-11 17:12pm
   
I am waiting for your answers...............
Shahriar Iqbal Chowdhury at 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 at 6-Jul-11 17:29pm
   
check this link http://www.dotnetfunda.com/articles/article6.aspx
vino12345 at 11-Jul-11 5:58am
   
Its working I fixed my problem.it will support only in IE browser.
- Thank You
Jadhav Abhijit at 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 abhijitja@gmail.com
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

  Permalink  
Comments
Member 9337078 at 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
0 OriginalGriff 319
1 Kornfeld Eliyahu Peter 265
2 Maciej Los 249
3 BillWoodruff 205
4 Sergey Alexandrovich Kryukov 175
0 OriginalGriff 5,107
1 DamithSL 4,157
2 Maciej Los 3,595
3 Kornfeld Eliyahu Peter 3,450
4 Sergey Alexandrovich Kryukov 2,741


Advertise | Privacy | Mobile
Web04 | 2.8.141216.1 | Last Updated 13 Apr 2012
Copyright © CodeProject, 1999-2014
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