|
Hi
Thanks a lot for solution. I am tried out for the same.
client.DownloadFile("http://132.186.90.79/RRM/SavedXML.xml","SavedXML.xml");
This works very fine if i run on the server itself, but when ran on client machine its not saving the file.
I seached the file in entire client machine, but could not find it.
I am generating XML file with fields entered by user and trying to provide a saved copy for the user.
Regards
Suma
Regards
Suma B R
|
|
|
|
|
Well..I think you should put your question as a new question (new thread) in this forum..There are some professional programmers who are better than me .I hope they answer your question.
"I am too late but i will never give up"
|
|
|
|
|
My situation,I have two pages ,A.aspx and B.aspx. On A.aspx i have a datagrid to show informaton, each row of the datagrid consists of its own select button. when the button clicked, B.aspx will pop up. When the second time the user click another row's button on A.aspx( B.aspx window not close yet), the B.aspx will auto refresh at that time and show another information. For the 3rd time ,the B.aspx also auto refresh when the user click the another button on A.aspx and so on.
So , may i know how to code to allow the B.aspx will auto refresh when the user click the button on A.aspx?
Thanks a lot.
-- modified at 23:45 Sunday 14th May, 2006
|
|
|
|
|
I don't know if anyone will be able to help me, but I have a real strange error with c++ on Visual Studio on my XP. I have a code fragment:
if( !Directory::Exists(out1))
Directory::CreateDirectory(out1);
Exists compiles with no problem but CreateDirectory gives me the following error:
error C2039 'CreateDirectoryA' is not a member of 'System::IO:Directory'
When I put the cursor on CreateDirectory, it correctly identifies it as System::IO:CreateDirectory(System::String __gc*). Then when I compile Exists goes through OK, but CreateDirectory turns into the ANSI version of CreateDirectory which it then claims isn't part of the class (as it probably isn't). Who asked the compiler to turn CreateDirectory into CreateDirectoryA?
If anyone has any suggestions, I'd be very grateful.
Thanks,
Ilan
|
|
|
|
|
I found the problem in WinBase.h. It has
#ifdef UNICODE
#define CreateDirectory CreateDirectoryW
#else
#define CreateDirectory CreateDirectoryA
#endif // !UNICODE
I added #undef CreateDirectory and it now compiles.
|
|
|
|
|
Hi
I have an asp.net app .I hold the userID in cookie caz next time that user want to connect to site username is shown to him as welcome text.
But sometimes user connect to site and see another username and doesnt see his username as welcome.
what should i do?
|
|
|
|
|
Could you show some code ?
------------------------------ "The Soapbox has been so ..."
|
|
|
|
|
|
Client script is the right way, Code behind way will cause the page to postback.
------------------------------ "The Soapbox has been so ..."
|
|
|
|
|
What do u mean by "Client script" ?
|
|
|
|
|
Client script means that page will not get post back to the server and on the client machine itself it will do the process.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hello, Friends
I'm binding some data in my GridView using ObjectDataSouce. I need too, specify some SelectParameters what are stored in ViewState, but in the "Parameter Collection Editor Dialog", the "Parameter Source" option shows only: Cookie, Control, Form, Profile, QueryString, Session
I wish bind to some value in ViewState. How not appears the option "ViewState", I need place my values in some HiddenField control to bind...
Someone knows how I do to bind to ViewState?
Regards
Fabio
|
|
|
|
|
Hi there,
There's no such a ViewState parameter existing, but there are two work-around options come to mind that you may consider:
+ Use the general Parameter for the select parameter, and create an event handler for the Selecting event. In the handler, you can populate the select parameter value from the ViewState, then add it to the InputParameters collection.
+ Develop your own custom parameter, say ViewStateParameter, which inherits from the base class Parameter . In the custom class, you at least override the protected method Evaluate to populate the ViewState and return the value. You also should remember that the ViewState is a protected property of the Control class, so if you want to access the ViewState of the control, for example the ViewState of the Page instance, from the outside of the control, you may consider using the reflection.
|
|
|
|
|
Perfect explanation! Thank you very much, I will do and maybe I place this custom parameter source here in CodeProject
Regards
Fabio
|
|
|
|
|
Hi,
what should be straight forward seems to be causing me a nightmare. Basically, I am reading a simple XML file into a dataset and then binding the dataset to a datalist. The XML contains links to images. Within my datalist is an image holder who's URL binds to what is stored in my XML file.
Here's the problem, my webpage shows some of the images but not others even though I know all the images exist. What's even stranger is when I press the refresh button some pictures that didn't display before now display! Can anyone help? is there a limit to the datalist in the amount it can store and display??
Thanks in advance
S
SEdwards
|
|
|
|
|
Hi there. Which browser are you using for testing? Do you have this problem with non-Microsoft browsers like FF?
|
|
|
|
|
I was using IE for testing. Just tried Firefox and although it took a while to load all the images, they all loaded. Do you think the problem could be to do with the file size of the images? They are on average 1mb.
Sion
|
|
|
|
|
|
Thanks, will check SP version later. I'm using IE 6 but not sure which service pack - should be SP2.
Sion
|
|
|
|
|
Checked IE 6 service pack and it is sp2. Any further suggestions?
Sion
|
|
|
|
|
I have a newsletter project, the writer load his doc file into the database (image data type), how can i open the doc in asp.net webform and also open the image beside that doc
can I modify the doc and save it again in the database
(Asp.net1.1 and Sqlserver2000)
thnks
DotNetMaster
|
|
|
|
|
i m going to develop a web site in which i want to include chat application. all user can access the website but some particular user can chat if they want to chat with other user on the web. sit the will login through login name n password.
When the user click on a button then a form will appear and ask for login name and password after verification the user enter for chat. the application must be in Asp.Net(web application) not in Desktop application.
but i have no idea of asp.net. so please help me in source code to develop the chat room.
Tanx
|
|
|
|
|
Here's something[^] that might help you ask the right questions...
---
b { font-weight: normal; }
|
|
|
|
|
hi,
How to schedule an aspx page..
I had created an application to send emails.. I want to send emails once/twice for a week,
I had call the method to send an Email in page_load event.. but how to put aspx page in schedule tasks..of System..
thanking you
Balu
|
|
|
|
|
I think you've misunderstood the technology somewhere.
If you want to create an applictation to send emails once or twice a week, why not create console application that the task scheduler can launch in the background for you?
"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question."
--Charles Babbage (1791-1871)
My: Website | Blog
|
|
|
|