|
i have survey project.
i have consecutive 5 pages.
and each pages have some controls.
i want to use all the previous 4 pages values on last 5 th page
i don't want to use following techniques.
session
cache
application
context
previoupagedirectory
querystring
is there any other techniques to solve my problem
MBMB
|
|
|
|
|
create one class,
add static variables to that class,
in last page, retrive from these variables and save.....
Ramana
|
|
|
|
|
Thanks Ramana for Nice answer
mbmb
|
|
|
|
|
But you know that this data will be shared between all requests by all users??
This will never work if there is more than one user!
And actually, this would be the same as using the Application state.
-^-^-^-^-^-
no risk no funk ................... please vote ------>
|
|
|
|
|
MB_1981 wrote: session
cache
application
context
previoupagedirectory
querystring
Why not? Normally you would use the Session or Querystring for this kind of requirement.
-^-^-^-^-^-
no risk no funk ................... please vote ------>
|
|
|
|
|
hi,
I'm currently developing a business trandaction website for a company that owns machines (printers/scanners...etc)
This website handles all business transactions including ordering a product, viewing owners, managing the stock and so on..now users all have a user name and password to login to the website. So currently my home page contains only a login control and the logo of the company. I wanna make an attractive home page for the website..any ideas..maybe some links for home pages like that?
ps:this system is for owners of the company not for the public.
|
|
|
|
|
try to see this link http://www.xerox.com
or http://www.canon.com/index.html
or http://www.canon.co.uk/
or http://www.usa.canon.com/html/canonindex.html
Kareem Elhosseny
|
|
|
|
|
A login control? Wouldn't you use windows authentication in these circumstances?
Anyway, some suggestions:
1. Number of transactions so far
2. BBC Business News RSS feed
3. Company Slogan
4. Latest Products
|
|
|
|
|
Hi All,
When we create a web project and run it, it by default runs on IE. Can someone tell me how to make it run on Firefox without deploying??
Thanks in advance...
|
|
|
|
|
1) Right click on a .aspx page in your solution explorer
2) Select the "browse with" context menu option
3) In the dialog you can select or add a browser. If you want Firefox in the list, click "add" and point to the firefox.exe filename
4) Click the "Set as Default" button to make this the default browser when you run any page on the site.
Note that there is also an optional drop-down at the bottom of the dialog that lets you select the default browser window size when loading. You can choose 800x600 or 1024x768 if you want to visualize what the site will look like for people using those screen resolutions. This works for both IE and FireFox (and probably other browsers too -- those just happened to be the two I checked).
Hope this helps,
Ramana
|
|
|
|
|
|
thank a lot, things which look properly in IE doesnt look properly in firefox why is it so???controls are rearrange some width is incresed and decreased...
Thanks again...
|
|
|
|
|
Hi,
Friends, i need your help...in my project all the text attributes are reading from resource file for better customization..so in my project i keep all the values in resource file and read it from there, but the problem is that i want to read the resource file from anotherClasslibrary for adding text value to a label control....
if somebody help me how will i solve this issue....i am using asp.net c#
regards
alex.
|
|
|
|
|
|
Hai,
Thanks for ur response....but only this way we can solve this? anyother chance?
regards
alex.
|
|
|
|
|
you can use the help of reflection.
and can use the assembly.LoadAssembly method to load the assembly from another class project.
mbmb
|
|
|
|
|
hi,
Thanks for your response...the structure is like give below..
my web application contains the resource file and i have to use that in class libaray...how will do it...
regards
alex.
|
|
|
|
|
in u r class library project,
in the class constructor pass the path of resource file,
save this path in one string variable,
by using the code u can retrive using ResouceManger Class.
For the code..lookup into the link i have given
Ramana
|
|
|
|
|
Hi all,
I have a case where i want to minimize data entry mistakes for names. So i established a tables names in sql and developed a autocomplete function that reads from this table and opens a div undeneath the text box with possible entries from the table that starts with the same letters typed in the textbox. To make it faster iam saving these names on client side on page load cause i want to delete the server side trip. Later I was surprised that this text file(holdiong names) contain more than 30000 names and the same for last name. So my tool turned so slow when getting names client side on page load. Any ideas on a possible way to solve this issue or any body can suggest a tool that is fast enough to satisfy my client.
Please note that my client didn't like Ajax autocomplete because it is slow (according to him).
Thanks in advance
|
|
|
|
|
Use AutoCompleteExtender of Ajax Control Tool Kit.
see Live Demo
Best Regard
Pathan
---------------------------------------------------
|
|
|
|
|
Did u read my note at the end of the post??????
Please note that my client didn't like Ajax autocomplete because it is slow (according to him).
|
|
|
|
|
Without using Ajax, you are pretty much stuffed. You have cached the data on the client side and it is too large so that means you are going to need to go back to the server somehow. It's either postback or Ajax.
Really, you need to knock together a version of the site with Ajax on, and one with the data cached client side and do a comparison of speed - and then show the client. It is up to you to change his mind.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hi,
I have a table web control whose rows are generating dynamically in the Textbox's TextChanged event. After generating the table I am counting its rows in the same event and it is showing correct but on clicking on the save button in that page the row count of the table becomes 0.
Why it is so? I want to get the value.
Thanks & Regards
Mishra
|
|
|
|
|
You have to recreated thats rows on click of save Button.
Dynamically created controls need to be created at every Postback.
Best Regard
Pathan
---------------------------------------------------
|
|
|
|
|
Hi,
In my table I am dynamically adding dropdownlist and selecting some value in the dropdown list and I need to save those values on button click. So if i will recreate that rows than I can't get those values. Is there any other way with out recreating it?
Thanks & Regards
Mishra
|
|
|
|