473,320 Members | 1,872 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Fancy News Editor

Hello,

For your information, my program is written in Visual C# .NET.

At present, I have a DataGrid bound to some data from a database. I'm
using inline editing to edit the records. For all intents and purposes
this works fine. However it isn't too practical for what I'm doing.

The table contains a list of news articles. As you can imagine, editing
the body of a news item inline isn't too nice to look at.

I'm proposing, that when the user clicks the "Edit" link at the end of
the row, instead of just that row having text boxes, another row
appears below the origional row containing the news body.

For example, the following is what the table would look like when
nothing is selected.

+------------+--------------+--------------+
| Author | Title | Edit |
+------------+--------------+--------------+
| Joe Bloggs | My Post | Edit |
| Bob Marley | Another Post | Edit |
+------------+--------------+--------------+

However, when I click edit at the end of the first row, I would like
the table to look like this.

+----------------+----------------+----------------+
| Author | Title | Edit |
+----------------+----------------+----------------+
| [ Joe Bloggs ] | [ My Post ] | Update Cancel |
| |
| [ Here is where I shall write the body of my ] |
| [ news post. This will allow me to write on ] |
| [ more than one line. ] |
| |
+----------------+----------------+----------------+
| Bob Marley | Another Post | Edit |
+----------------+----------------+----------------+

Baring in mind, I wrote this using monospace characters, it may look a
bit odd, but hopefully it should show what I'm trying to explain.

Thanks,
Nick

Nov 17 '05 #1
0 940

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Emile van Sebille | last post by:
QOTW (in the OS agnostic category): "There is a (very popular) Python package out there which exposes the win32 api. I'm not sure what it's called. (win32api? pythonwin? win32all?)" -- Francis...
0
by: Emile van Sebille | last post by:
QOTW (advanced interfaces track): "I'm firmly in favour of any language that can DWIMNWIS." -- Tim Delaney QOTW (MS roadkill track): "Underestimate MS at your own risk. It is one thing to not...
0
by: Josiah Carlson | last post by:
QOTW: "I still think this is a silly idea, but at least it doesn't track mud all over Python's nice clean rugs." -- Michael J. Fromberger...
71
by: tomy_baseo | last post by:
I'm new to HTML and want to learn the basics by learning to code by hand (with the assistance of an HTML editor to eliminate repetitive tasks). Can anyone recommend a good, basic HTML editor that's...
5
by: Mel | last post by:
i want to have a block, like some articles i see, with the first char (very Fancy and huge) and have the rest of the block kind of wrap around this char (to the right of). something like below...
0
by: 356523600 | last post by:
HTML To PHP Converter 4.2.1.8 Free download Get more for less ... HTML To PHP Converter 4.2.1.8 Get more for less! With a new version of HTML To PHP Converter 4, we've dropped the price and given...
1
by: Jacky Luk | last post by:
How can I put fancy seperators between menu items in VC++.NET? Thanks Jack
0
by: comboytw | last post by:
Hi all, I'm developing a VOIP application in wince 5.0 which supports rich features like video conferencing, media player, FM radio, etc. I found there is a VOIP template called "TUI" and I may...
6
by: neovantage | last post by:
Hey all, i have installed Uber uploader on my server. and it is working perfectly. It shows progress bar after submitting form. I want that when i upload an image or a file it shows the progress in...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.