User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the VB.NET section within the Software Development category of DaniWeb, a massive community of 391,550 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,566 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our VB.NET advertiser:
Views: 4784 | Replies: 2
Reply
Join Date: Jul 2006
Posts: 5
Reputation: chepps is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
chepps chepps is offline Offline
Newbie Poster

Placing a Multiline textbox over a datagrid

  #1  
Aug 2nd, 2006
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.
Chepps:lol:
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Mar 2006
Posts: 219
Reputation: Lord Soth is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 2
Lord Soth's Avatar
Lord Soth Lord Soth is offline Offline
Posting Whiz in Training

Re: Placing a Multiline textbox over a datagrid

  #2  
Aug 9th, 2006
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
Crimson K. Software _________________________________________________________________ Crimson K. Blog
Reply With Quote  
Join Date: Jul 2006
Posts: 5
Reputation: chepps is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
chepps chepps is offline Offline
Newbie Poster

Re: Placing a Multiline textbox over a datagrid

  #3  
Aug 10th, 2006
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.
Chepps:lol:
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb VB.NET Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the VB.NET Forum

All times are GMT -4. The time now is 9:14 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC