|
When you change page in the menu, do you actually have to load a new page, or can't you just hide one div and show another? That way you could have all the editable data on a single page, and there is no problem in keeping the data until it should be saved.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
As I explained, I must change the page. I cannot have the elements all on one page.
|
|
|
|
|
But, why not ? Why is it that you want to solve this problem without using any of the methods that are available to solve it ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
crystal9154 wrote: As I explained, I must change the page. I cannot have the elements all on one page.
No, you haven't explained that. Why do you think that you can't have the elements on the same page?
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
I've been telling him to do that for days. He insists in this latest post that he cannot.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Bind the controls to a DataTable, or DataSet, that is stored as a session variable for use between pages. When editing is complete call Update. A DataSet is after all an in-memory cache of data. i.e. not connected to a database.
only two letters away from being an asset
|
|
|
|
|
He says there's 'too much data' to store in the session. He's basically asked the same thing for days, and in this post, lists all the reasons he believes he cannot use any of the solutions he's been offered ( which, as far as I can see, is all the realistic possible solutions ). As the data is 'too big', I suspect his web server is a Commodore 64.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I thought the question sounded familiar, I didn't recognize the username though.
Ask a question enough times and you're bound to get an answer you like
only two letters away from being an asset
|
|
|
|
|
I think a lot of the sort of people who ask these sort of questions over and over, have several accounts.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Your too sarcastic for me Christian, don't think I need your input any further
|
|
|
|
|
I doubt he wants to give you any more input.
You claim the data is "too big". How can it be too big, if its small enough to be sent to a client and back over the internet?
We don't think you have thought your constraints through properly. How much data per page? How many concurrent users?
Why separate pages?
It sounds like your problems are only caused by poor design and imaginary constraints.
|
|
|
|
|
The data is initially identical for everyone, so it will be hard code to a template than copied to a virtual directory.
There will be thousands of users per day using the application.
I have found some ajax controls that will allow hard coding the information permanently into the form again for the respective virtual directory. As of yet, I am unlucky in finding an ajax textbox, checkbox or radio that will utilize fso.
|
|
|
|
|
So you are basically selling templated websites.
I suggest you keep the information as a draft in the database, and allow them 'Publish'. Probably be useful to keep the entire version history as well. (Charging for backup recovery will then be free money).
"Thousands" a day isn't very many for the amount of round trips that will be happening. Sounds like your client will be spending more time typing than posting back and forth.
You'll want to save the data often, as it sounds like they will be making a fair few changes - taking a while to do so. If they lose their session / lose the viewstate then they will lose all their changes and be quite mad.
|
|
|
|
|
crystal9154 wrote: Most frustrating.
People who ask the same question day after day, and cross post into inappropriate forums ? Yes, that is frustrating.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I have reevaluated the entire process.
I've decided to utilize the file stream object and have them edit their entire page.
Now, I have to figure out how to reiterate thru these modified forms to place the data into the db.
|
|
|
|
|
I'm not sure I follow - you're storing a file stream on the server side between pages ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
You have the following choices:
1. Use a Session.
2. Save to a temporary database area and then apply the changes to the master tables at the end.
3. Use panels instead.
4. Resign and take up yak milking.
Based on your inability to articulate your problems with proposed solutions I would suggest option 4.
|
|
|
|
|
I have reevaluated the entire process.
I've decided to utilize the file stream object and have them edit their entire page.
Now, I have to figure out how to reiterate thru these modifed forms to place thae data into the db.
|
|
|
|
|
I'm trying to get a DIV to display at will, as a sort of dialog, but I'm stuck on setting the visibility as follows. Please could someone suggest why this isn't working:
<br />
function showSearchAndReplace()<br />
{<br />
var dSr = document.getElementById("divSR");<br />
dSr.style.display="inline";<br />
debugger; <br />
return true;<br />
}<br />
My DIV is marked up as:
div id="divSR" style="display: none;"
Last modified: 2hrs 53mins after originally posted --
|
|
|
|
|
I want to bind column name to a dropdownlist.
For ex. A table contains 3 columns "first name", "last name" and "address".
I want to bind those columns to a dropdownlist.I mean to say that that column should appear in the dropdownlist.(i am binding column by Store procedure.).
Can you suggest me how it can be done.
Regars.
Pranav Dave
|
|
|
|
|
You can only bind one of the columns, not all three to the same dropdown, unless you concatenate them in your stored proc, or elsewhere prior to binding.
only two letters away from being an asset
|
|
|
|
|
Hi Developers
I want to cache page's header and footer(which are infact two different user controls) on client's browser. . . !
Any suggestion is this regard..?
|
|
|
|
|
Hi.
I need help reading a file which is created via memory stream.
I know how to read a file (in byte array form) and write to memory stream, but i need to attach this file from the memory stream and email it.
I am doing this to remove the hassles of reading and writing files to disk.
Any help is greatly appreciated.
Thanks
|
|
|
|
|
Just create the attachment from the stream:
Attachment a = new Attachment(theMemoryStream);
The constructor also has overloads so that you can specify file name and mime type.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Thanks, I just found that out.
|
|
|
|