Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
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
Updated 6-Jul-11 11:03am
v2
Comments
Monjurul Habib 6-Jul-11 16:43pm    
clarify your question. what you mean by "run time using mouse drag" ??
vino2012 6-Jul-11 17:02pm    
coming to tell user use mouse cursor to change the size of the column.
understood ah ?

 
Share this answer
 
Comments
vino2012 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.
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[^]
 
Share this answer
 
Comments
vino2012 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
vino2012 6-Jul-11 17:12pm    
I am waiting for your answers...............
Shahriar Iqbal Chowdhury/Galib 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/Galib 6-Jul-11 17:29pm    
check this link http://www.dotnetfunda.com/articles/article6.aspx
vino2012 11-Jul-11 5:58am    
Its working I fixed my problem.it will support only in IE browser.
- Thank You
 
Share this answer
 
Comments
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900