|
Have you tried
Response.Cache.SetNoStore();
when one visits your page ?
Also add these
Response.ExpiresAbsolute=DateTime.Now.AddDays(-1d);
Response.Expires =-1500;
Response.CacheControl = "no-cache";
Hope this will help.
|
|
|
|
|
|
Thank you so much for your vote.
I hope I could produce more like this in future.
Cheers.
|
|
|
|
|
Thank you for your reply and wish you luck in this.
I think you will win.
Keep doing your good work.
|
|
|
|
|
Yes thank you.
|
|
|
|
|
hello -
there is a shopping cart issue what I am working on right now. I am adding a back button, but for posting back to the server, the required fields need to be validated. Is there a way how I can skip the validation for the back button?
Thanks, Laziale
|
|
|
|
|
I think dont rely heavily on back button.
Rather always handle everything using code.
Please let us know how you are validating your page , so that I can tell you how to handle this.
|
|
|
|
|
|
Hi Friends,
My crstal report not working in online, it works fine on local system. is there is any
issue with .net framework . m using 3.5 framework.
|
|
|
|
|
Sneha Bisht wrote: is there is any
issue with .net framework
No, there is not.
The only issue I can see is that you have not deployed your application properly.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Does it gives you any error. Please specify... so that I can help you with whats wrong.
Actually the Crystal report is processed inside the viewer and passes an html to the browser. Check what it is rendered...
|
|
|
|
|
Hi guys,
I have used Ajaxcontroltoolkit in my website in Visual Studio 2008.
Some times i am getting this error.
Assembly "AjaxControlToolkit, Version=3.0.30512.17815, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" does not contain a script with hash code "865923e8"
can u people help me regarding this issue.
Thanks In Advance.
Muni
|
|
|
|
|
It happens when you mix 32bit and 64bit web farms.
The reason is that the page requests a javascript using the hashcode present in the page which is generated using GetHashCode the value of which is different in 32 and 64bit machines.
The hashcode 865923e8 might be generated from one server and the request of the combined javascript might be placed on another server.
Hope you got the issue.
|
|
|
|
|
hiii i have created a form for buyers demand where the buyer is submitting his demand.m showing the demand of buyers in grid view using datasource.
i want that the demand posted by the user shud last for 72 hours.can u give me idea how can i do this...
thanks....
|
|
|
|
|
mylogics wrote: i want that the demand posted by the user shud last for 72 hours
ASP.Net has to do nothing with this.
You will have to think of executing a process/script, which will basically run a SQL query on the database and change the status of the demands which have been older than 72 hours in the system.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
can u tell me how can i do this...
|
|
|
|
|
mylogics wrote: can u tell me how can i do this...
Did you read my reply? I already told you a way to do this.
If you are expecting the code, than excuse me as I have no idea of your database structure.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Create a Windows service on the server which polls every second and checks whether there are any request being made which is more than 72 hours old.
If so, then cancel the Entry.
Running simple query will do the trick. From your website, you remove the entry based on its status.
|
|
|
|
|
Abhishek Sur wrote: Create a Windows service on the server which polls every second
Do you think it is wise to poll every second for such a simple task?
I would rather poll every hour or may be more. This will keep my database up to dated.
And for the diaply in website, I would put a filter in the code behind for the submission date is older than 72 hours. This way I am also handling the data which has not been takled since the last poll was done by the windows service.
Does this make sense?
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Btw, I posted an extended approach to Abhishek's reply.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
hii everbody i want to create a color dialog box or color palette in an asp.net web application using c# , plz help me as soon as possible also if anyone knows how to retrieve the system fonts and bind it for example to a drop down list?
|
|
|
|
|
pradeepamca wrote: plz help me as soon as possible also if anyone knows how to retrieve the system fonts
Have a look at InstalledFontCollection [^]class to retrieve the list of installed fonts.
pradeepamca wrote: hii everbody i want to create a color dialog box or color palette in an asp.net web application using c#
Did you search for it? There are already many examples of it on CP for it.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
|
try karpach.webcontrols.dll
|
|
|
|
|
hello every one .I have datatable which i assign as a source of grideview.Now i want bind column of that datatable with a link button which is inside the gride.Tell me the idea.
|
|
|
|