| | |
Placing a Multiline textbox over a datagrid
Please support our VB.NET advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Jul 2006
Posts: 5
Reputation:
Solved Threads: 0
Hi,
I would like to know how can we place the textbox dynamically over a datagrid.
My requirement is ;
I have a datagrid , with filles datas.And when i click on a particular cell, then a tectbox, with multline ability, should be displayed exactly in the same position as that of the clikced cell.
I tried with dynamucally creating and placing a textbox on 'cellmouse click' event.but it is getting placed on the form and not above the datagrid's clicked cell.Can anyone help me.
I would like to know how can we place the textbox dynamically over a datagrid.
My requirement is ;
I have a datagrid , with filles datas.And when i click on a particular cell, then a tectbox, with multline ability, should be displayed exactly in the same position as that of the clikced cell.
I tried with dynamucally creating and placing a textbox on 'cellmouse click' event.but it is getting placed on the form and not above the datagrid's clicked cell.Can anyone help me.
Chepps:lol:
Hi,
Any code you will write on server side (ASP.Net) will cause a round trip to the server (page refresh) and anything you do on the client side with JScript won't affect the real datagrid which is on the server side. You might put a template column but this would only add one multiline textbox for each row. You might consider using Atlas.Net or a AJAX variant but in either case it is difficult. I advise you to reevaluate your UI design and add one more step/page if required.
Loren Soth
Any code you will write on server side (ASP.Net) will cause a round trip to the server (page refresh) and anything you do on the client side with JScript won't affect the real datagrid which is on the server side. You might put a template column but this would only add one multiline textbox for each row. You might consider using Atlas.Net or a AJAX variant but in either case it is difficult. I advise you to reevaluate your UI design and add one more step/page if required.
Loren Soth
Best regards,
Loren Soth
Crimson K. Software _________________________________________________________________ Crimson K. Blog
Loren Soth
Crimson K. Software _________________________________________________________________ Crimson K. Blog
•
•
Join Date: Jul 2006
Posts: 5
Reputation:
Solved Threads: 0
hi Loren Soth ,
Thank you for your message.
iam not using asp.net/java script.
But iam using VB.net that too winforms.
The scenario is that, the datagrid shows the details of operation done on a Patient.ANd one column in the grid , that is the last column is 'Operation Outcome'.So when viewing the datagrid, if the client wants to update the 'Operation Outcome', he/she should be able to do this.And since the 'Outcome' can be multiline, when the grid column is clicked , i need to show a textbox above that datagrid column, so that when he finishes the typing and leave the focus, the content is saved.
So what should be done.
Thank you for your message.
iam not using asp.net/java script.
But iam using VB.net that too winforms.
The scenario is that, the datagrid shows the details of operation done on a Patient.ANd one column in the grid , that is the last column is 'Operation Outcome'.So when viewing the datagrid, if the client wants to update the 'Operation Outcome', he/she should be able to do this.And since the 'Outcome' can be multiline, when the grid column is clicked , i need to show a textbox above that datagrid column, so that when he finishes the typing and leave the focus, the content is saved.
So what should be done.
Chepps:lol:
![]() |
Similar Threads
- Datagrid - Help (VB.NET)
- separating line by line from textbox with textmode=multiline (ASP.NET)
- How to update a Datagrid cell in Javascript (C#)
- Positioning a long text file in a Text Box (Visual Basic 4 / 5 / 6)
- how to print datagrid only? (ASP.NET)
- print datagrid (JavaScript / DHTML / AJAX)
- i need help (VB.NET)
Other Threads in the VB.NET Forum
- Previous Thread: Downloading VB Express
- Next Thread: Need help to create a login form
Views: 7756 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for VB.NET
.net .net2008 2005 2008 access account application array arrays basic bing button buttons c# center check checkbox code convert crystalreport data database datagrid datagridview date design designer dissertation dissertations dropdownlist excel fade file-dialog filter ftp generatetags google gridview hardcopy images inline input insert installer intel internet listview mobile monitor net networking objects output panel passingparameters picturebox port position print printing problem read remove save searchbox searchvb.net select serial shutdown soap sorting studio survey table tcp temperature text textbox time timer timespan toolbox trim update user validation vb vb.net vb.netformclosing()eventpictureboxmessagebox vb2008 vbnet visual visualbasic visualbasic.net visualstudio2008 web webbrowser winforms wpf year





