|
Hi ,
IE showing a warning message when I refresh my page.It says "If you were making a purchase , you should click cancel to avoid a duplicate transaction.Otherwise click retry to display the web page again".How can I avoid this ?
With regards ,
|
|
|
|
|
Buddy, that is something that should have been there right from the start but, folks at Microsoft decided to include it only in IE7.
Its a security feature that says you should not press refresh button to refresh the data. Pressing refresh button repeats the last action, so doing so after doing a transaction like purchase, fund transfer etc would re-submit the transaction and ultimately you will end up with duplicate transaction.
I'm not sure if you can disable it, but even if you can NEVER try to disable it, trust me I know.
HTH!
|
|
|
|
|
Hi,
im using VS 2005 with ajax extension 1.0
i have to pass values in one form to another one form using popup window.
this is all are working fine. but once we can update the values in popup window. is automatically update in parent window(main).
example automatically refresh gridview in main window when i update child window(pop up)..
Yours,
KaNNaN
-----------------------------------------------------------------
"Success is When Ur Signature Becomes An Autograph"
|
|
|
|
|
Use the javascript window.parent property to access the parent window if you are using window.open to open the child window.
You can find tutorials for the same here[^]
HTH!
|
|
|
|
|
Use window.parent.ParentPageJavascriptMethod();
Write ParentPageJavascriptMethod() in your parent page to update tpur parent page content.
Thanks
|
|
|
|
|
Hi ,
Is there anyway to convert an aspx page into pdf ? Please help.
With warm regards
|
|
|
|
|
|
|
I remember answering the very same question just a few days ago.
Anyway, all you need to do is redirect to the details page from the client and not the server. If you do so your search results will be intact when you traverse back via history.back to the search page.
HTH!
|
|
|
|
|
plz, give me more details, How redirect page?
I don't know much about serverside redirection n clientside
Rt now i redirect page using response.redirect
|
|
|
|
|
When you use Response.Redirect from an event handler in the code behind it is called Server redirection. When you use links or window.location from the HTML then it is called Client redirection.
It is not straight forward to change server redirect to client redirect as it might involve a good amount of behavioral changes, but in most cases it would be a simple code change. The crux here is that you would have to generate the redirect URL, the one you use in the Response.Redirect on the server event on the button click, when you generate the search result and make it available as a HTML hyperlink for the user to click and navigate.
Hope I make sense to you.
|
|
|
|
|
|
Dont ever use history.back crap from your web site. Rather always go for an AJAX call, or full postback for your back button.
I always like to disable that back button in the browser. It is very old concept to maintain the history.
|
|
|
|
|
Hello sir,
plz tell me how to use ajax call or full postbox in brief or just forward me link if any
modified on Wednesday, February 3, 2010 3:25 AM
|
|
|
|
|
You can cache your all search page details into a cache and repopulate the search page when you come back from cache...
Thanks
|
|
|
|
|
Thanx
if u can share any example/ more detail then it will more helpful to me, Coz i didn't used cache yet
|
|
|
|
|
hi,
i'm getting problem with session ,while upload excell file and this data import into sql data base ,it works fine untill importing data ,when import finished session state 'null' ,and my session time =20min.could you please find me solution.
|
|
|
|
|
what IOC and why it is require and how it help us. if possible then please discuss the idea in detail.
Thanks in advance
tbhattacharjee
|
|
|
|
|
Hi,
I would suggest that you read the following article written by Martin Fowler:
http://martinfowler.com/articles/injection.html[^]
This article explains in great detail the idea behind IOC and Dependency Injection. The code examples are written in Java, but that should not be the problem.
Regards
Sebastian
|
|
|
|
|
suppose when user click on link or button for downloading file in asp.net then download start. so i just want to know how to detect that the file as been downloaded in client machine. is it possible to track from server side code. because i want to develop a file download section from where user at a time can download only single file. so in this case when file download start i will just capture client ip and store it in session and when file download will be over then i will clear that session and in this way my purpose will be solved and restric user to downlolad multiple file. so please me with sample code and idea.
Thanks in advance
tbhattacharjee
|
|
|
|
|
|
i am working with google chart and it is good and giving me the output but the problem is in case of barchart my label is getting verlap because my label text is lengthy. i hard that label text orientation can be change and i read google chart doc but not found any sample code from there for rotation of my label. so if anyone knows what i need to write to rotate label in case google bar chart please share the knowledge.
Thanks in advance
tbhattacharjee
|
|
|
|
|
Dear All,
I am using Asp.Net with C# in windows application (VS 2005). I create one test.bat file, which is executed by my application. I am using "System.Diagnostics.Process.Start" to execute test.bat. How can I get the result, that the bat file has been executed and closed.
Because, test.bat file is taking few seconds to run and it creates a table with data and gets closed. My application is gets the data from the table, which is done by test.bat and proceed further. I can have good result, if I debug the application. I can not have a good result at run mode.
I want to proceed my application, after executed the test.bat file. How can I identify that test.bat file has been executed fully?. What I need to do?. I have to handle threading? Is there any other way? Thanks in adv.
Balasubramanian K.
|
|
|
|
|
Hi,
the Process-class itself contains a method WaitForExit. Using this method the calling application will wait for the process to be finished. To get the output of your process you can redirect the stream by utilizing the StandardOutput-property.
Take a look into msdn to get further details:
http://msdn.microsoft.com/de-de/library/system.diagnostics.process.aspx[^]
Regards
Sebastian
|
|
|
|
|
Yes. It is working fine now. Thanks
Balasubramanian K.
|
|
|
|