473,569 Members | 2,765 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How can I improve my process flow to reduce coding pain?

hello!
I use asp+vb before and new to ASP.NET.
And I have to write a new function with C#
I draw a prototype and the picture is here--- http://0rz.net/af1hy
let me explain this process in detail

User use this function to create a document.
First,he must upload a main file.
When he uploads his file,our component in backend can process this
file(txt or word) and
extract keywords or generate summary for it.
After these operation,keywo rds and summary will be filled into the
following fields.
User can modify these fields (ex: keywords,title, summary...) and
finally save this document.
Because we will have many kinds of document type in the system
and different document type will have different fields.
(ie.meeting type has "meeting date,participan ts" fields"
book type has "publisher,ISBN " fields)
So the fields are determined by *Document Type* and it means the fields
are dynamically generated after user choose *Document Type*.

In the prototype,I use different color to show my idea.
I hope in the beginning,user will only see yellow part.
If he wants to change Document Type
he can press "Advance Setting" and the hidden panel will be displayed
on the same screen.
After user uploads the file,green and pink part will be displayed and
those auto extraction info will be filled into the corresponding
fields.

well..maybe because I'm not familliar with ASP.NET and its feature,such
as web control,postbac k....etc
I think it's really painful to do this processs in ONE page.
Because I have to handle A LOT of postback situation in page_load.
That really kill me >_<~

Can any friends give me some advice to reduce coding pain?
maybe in UI design or manage front-end code...whatever you think about.
Thank you so much!

Apr 20 '06 #1
1 1628
Hello,

in this case you should use a placeholder for the green area:

<asp:placeholde r runat="server" id="keywords" />

For the individual document types, add WebControls (ascx) to your
project and place the required fields in there. These controls
have their own Page_Load event handlers and therefore can save the
data on their own favor.

In the change event for the document type dropdown list, you
can load the appropriate controls on-the-fly:

keywords.Contro ls.Add( LoadControl( "~/book.ascx" ) );

Hoping this helped you.

Jens Rieck

Ye*******@gmail .com schrieb:
hello!
I use asp+vb before and new to ASP.NET.
And I have to write a new function with C#
I draw a prototype and the picture is here--- http://0rz.net/af1hy
let me explain this process in detail

User use this function to create a document.
First,he must upload a main file.
When he uploads his file,our component in backend can process this
file(txt or word) and
extract keywords or generate summary for it.
After these operation,keywo rds and summary will be filled into the
following fields.
User can modify these fields (ex: keywords,title, summary...) and
finally save this document.
Because we will have many kinds of document type in the system
and different document type will have different fields.
(ie.meeting type has "meeting date,participan ts" fields"
book type has "publisher,ISBN " fields)
So the fields are determined by *Document Type* and it means the fields
are dynamically generated after user choose *Document Type*.

In the prototype,I use different color to show my idea.
I hope in the beginning,user will only see yellow part.
If he wants to change Document Type
he can press "Advance Setting" and the hidden panel will be displayed
on the same screen.
After user uploads the file,green and pink part will be displayed and
those auto extraction info will be filled into the corresponding
fields.

well..maybe because I'm not familliar with ASP.NET and its feature,such
as web control,postbac k....etc
I think it's really painful to do this processs in ONE page.
Because I have to handle A LOT of postback situation in page_load.
That really kill me >_<~

Can any friends give me some advice to reduce coding pain?
maybe in UI design or manage front-end code...whatever you think about.
Thank you so much!

Apr 20 '06 #2

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

Similar topics

226
12379
by: Stephen C. Waterbury | last post by:
This seems like it ought to work, according to the description of reduce(), but it doesn't. Is this a bug, or am I missing something? Python 2.3.2 (#1, Oct 20 2003, 01:04:35) on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> d1 = {'a':1} >>> d2 = {'b':2} >>> d3 = {'c':3}
0
1528
by: Praasd | last post by:
Hi I have a problem in understanding how to implement a process created in visio through code. For example I have a diagram in visio which is defining a process, lets assume some decision boxes i.e it's just like a flow chart. I have to write a program in c# which takes this file as input and follow the flow chart instructions based on the user...
14
2051
by: Xah Lee | last post by:
is there a way to condense the following loop into one line? # -*- coding: utf-8 -*- # python import re, os.path imgPaths= # change the image path to the full sized image, if it exists
8
26704
by: Gabe Moothart | last post by:
Hi, I'm writing a windows service which interacts with a separate process. Basically, it calls a process which creates a file, and then my service reads that file. The problem is, the external process can take a second or two to finish writing the file. If I try to read the file to soon, I get an exception that "The process cannot access the...
6
4641
by: Don Collins | last post by:
Can anyone point me to a white paper discussing the advantages / disadvantages to using “grid layout” vs. “flow layout” on webforms? I’m looking to address performance issues in particular.
22
2998
by: Zen | last post by:
Hi, My production machine has 2G of memory, when aspnet_wp.exe goes up to about ~1.2G of memory usage, I start get out-of-memory exception. Other processes don't use as much memory and I added all the peak memory usage of all the processes (including aspnet_wp.exe), it goes up to no more than 1.5. How is that possible? Would anyone know...
11
3363
by: Peted | last post by:
Im using c# 2005 express edition Ive pretty much finished an winforms application and i need to significantly improve the visual appeal of the interface. Im totaly stuck on this and cant seem to work out how to start on a solution. I have of course used a varienty of componets, mostly radio buttons with "button" appearence.
2
2423
by: alacmathew | last post by:
Hi everybody I am a project manager with a mid level software development company Some days back I came across a posting in a forum where a person otherwise a competent finance professional wanted to know about basics of software development process This got me thinking In todays world of multitasking it is not rare to see people from different...
4
1324
by: mrajanikrishna | last post by:
Hi friends, I have a page which has dropdownlists bound to data source controls. Its a big page has some input controls. How can I improve the page rendering time/ thanks
0
7697
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main...
0
7612
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8120
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7672
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7968
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5512
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
937
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.