473,396 Members | 2,024 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,396 software developers and data experts.

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,keywords 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,participants" 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,postback....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 1623
Hello,

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

<asp:placeholder 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.Controls.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,keywords 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,participants" 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,postback....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
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...
0
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...
14
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
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...
6
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
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...
11
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...
2
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...
4
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
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
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...
0
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...

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.