|
Hello,
How to save IE page? I would like to save exactly as IE's Save As menu command (it saves images,...).
Thank you.
|
|
|
|
|
Right click -> View Source -> File -> Save As...
|
|
|
|
|
Nope, I think he mean that he want to this programatically, not manually ;(
<< >>
|
|
|
|
|
Hi
you can use :
<br />
execCommand(sCommand [, bUserInterface] [, vValue]);<br />
<br />
sCommand: SaveAs <br />
bUserInterface: [Optional]. This command displays a dialogue box if the bUserInterface argument of execCommand is set to true or omitted. It does not display a dialogue box if the argument is set to false or null and the vValue parameter is present (even if it's null). <br />
vValue [Optional]: String that specifies the path and file name of the file to which to save the Web page. When the path contains more than one folder name, separate the folder names with two backward slashes (\\).
Use it like
<input type=button value=save onclick="execCommand('SaveAs');">
Iman Ghasrfakhri
|
|
|
|
|
Does any one have good documentation on FCK Editor?
I need to know how to change the text of the editor? I have other textboxes on the same page which has a standard font and colour, and I want to change the font and colour of the FCK Editor like the rest of the textboxes. I see I have to change the fck_editorarea.css stylesheet, but it is not working. Does any one have samples or how to do it?
Regards,
ma se
|
|
|
|
|
After you change the .css file, remember to clear the browser cache files.
|
|
|
|
|
Always clear your cache files and do force refresh (Ctrl + F5 in IE, and Ctrl + Shift + R in Firefox).
You can either modify the fck_editorarea.css or specify your own css and pass it to the EditorAreaCSS property (this differs slightly depending on which programming language you're using).
Edbert P.
Sydney, Australia
|
|
|
|
|
Hi,
I am having this weird problem which i cannot locate the cause of it.
When i did not pass in parameters, the following error is being generated.
------------------------------------------------------------------------------------------------------------------------------------------
Missing parameter field current value.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: CrystalDecisions.CrystalReports.Engine.ParameterFieldCurrentValueException: Missing parameter field current value.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[ParameterFieldCurrentValueException: Missing parameter field current value.]
.F(String , EngineExceptionErrorID
) +574
CrystalDecisions.CrystalReports.Engine.FormatEngine.internalSetReportInfo(RequestContext reqContext) +1293
CrystalDecisions.CrystalReports.Engine.FormatEngine.internalGetViewContext(ReportPageRequestContext reqContext, * viewContext) +217
CrystalDecisions.CrystalReports.Engine.FormatEngine.GetPage(PageRequestContext reqContext) +280
CrystalDecisions.ReportSource.LocalReportSourceBase.GetPage(PageRequestContext pageReqContext) +189
CrystalDecisions.Web.ReportAgent.u(Boolean N) +164
CrystalDecisions.Web.CrystalReportViewer.OnPreRender(EventArgs e) +108
System.Web.UI.Control.PreRenderRecursiveInternal() +62
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Page.ProcessRequestMain() +1499
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
------------------------------------------------------------------------------------------------------------------------------------------
When i do pass in parameters, the follow error is being generated.
------------------------------------------------------------------------------------------------------------------------------------------
Exception of type System.Exception was thrown.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Exception: Exception of type System.Exception was thrown.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[Exception: Exception of type System.Exception was thrown.]
CrystalDecisions.Web.ReportAgent.u(Boolean N) +358
CrystalDecisions.Web.CrystalReportViewer.OnPreRender(EventArgs e) +108
System.Web.UI.Control.PreRenderRecursiveInternal() +62
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Page.ProcessRequestMain() +1499
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
My codes are very simple. For first case is (no parameters),
crv.ReportSource=new report1();
For the second case is (with parameters),
ParameterFields paramFields = new ParameterFields ();
ParameterField paramField = new ParameterField ();
ParameterDiscreteValue discreteVal = new ParameterDiscreteValue ();
ParameterRangeValue rangeVal = new ParameterRangeValue ();
paramField.ParameterFieldName = "countryString";
discreteVal.Value = "india";
paramField.CurrentValues.Add (discreteVal);
discreteVal = new ParameterDiscreteValue ();
discreteVal.Value = "japan";
paramField.CurrentValues.Add (discreteVal);
paramFields.Add (paramField);
crv.ParameterFieldInfo = paramFields;
crv.ReportSource=new report1();
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
i had tried setting reportsource before i assign my parameters but the Exception type of Exception is still being thrown. I had looked around but could not find the answer.
Thanks for the help
|
|
|
|
|
Hi guys,
How do I submit an article?
Thanks
|
|
|
|
|
hi there
Go to the menu Articles > Submit an Article
or this link Submit article
<< >>
|
|
|
|
|
Hi..I having some problems regarding C# web application. I need to use C# web application program to design a web page. In VB we can use context menu to click on it and goes to the next page we have sleclected.But somehow, C# program doesn't have context menu and i know that i have to use javascript to design it out.. I not too sure how javascript can be done in C# web application.. Thankz =)
|
|
|
|
|
Cheese_kid wrote: not too sure how javascript can be done in C# web application
You just go ahead to use the javascrip that u have done with VB for C#
and post the questions here if problems
<< >>
|
|
|
|
|
i want to write code in asp which allow user to upload his files but i got error each time that "unknown progid" what its means.
can anybody give me source code for uploaing file
|
|
|
|
|
idreesbadshah wrote: but i got error each time that "unknown progid"
how is ur code working? maybe a snippet of code is more eaiser !!!
<< >>
|
|
|
|
|
|
Hi,
R u doing any operatu=ion while uploading? like writing to file etc. The read and write functions are not completing.
|
|
|
|
|
Hi guys!
I'm having a problem with opening an Excel spreadsheet located on a network drive using the old ASP (not ASP.NET). I tried opening the same file from my local test server and the code works perfectly. But when I try to open the file from a network path it gives the following error:-
Error Type:
Microsoft Excel (0x800A03EC)
'\\server\exceltest.xls' could not be found. Check the spelling of the file name, and verify that the file location is correct. If you are trying to open the file from your list of most recently used files on the File menu, make sure that the file has not been renamed, moved, or deleted.
I've also tried using a mapped path, ie. "G:\exceltest.xls" but still doesn't work. I've looked everywhere on MSDN for info on access rights but can't find any on this subject. Does anyone know if opening an Excel file from a network drive is possible?
Thanks for your help. Much appreciated.
|
|
|
|
|
Does anyone know of a good, cheap and reliable wildcard ssl certificate seller out there? Any that you use? Verisign is pretty costly...
Dirk Watkins
|
|
|
|
|
This is one of my first attempts at adding an RSS feed to a website.
I can load the feed at start.com, but it won't load on my Google personalized homepage.
http://www.dlarsen.com/feed.aspx
Any ideas?
I think it may have something to do wtih the encoding, but I'm so new to this that it's just a guess. It does validate, but something else is still wrong since Google doesn't like it.
|
|
|
|
|
Ye olde Feed Validator[^] says it's OK so there's probably something wrong at Google's end.
The two most common elements in the universe are Hydrogen and stupidity. - Harlan Ellison
Awasu 2.1.3 [^]: A free RSS reader with support for Code Project.
|
|
|
|
|
Hi
In my project I am having a browser control which will load a web page and perform some click events automatically without user interface. I made this in a lib file and using in Web application.
This browser control is executing without any problem in certain machines and also it is not at all loading in some others.
I have enabled all my options in 'Internet Options'..
I can't find the problem.
I am very thank full to Help me..
Regards,
Jaya
|
|
|
|
|
what probs u r facing on some machines?
<< >>
|
|
|
|
|
On some machines it is loading properly.
In some others its not at all loading. Simply a symbol of the browser control is loading. AxBrowser is used.
Please reply me the solution
Thank You,
Regards,
Jaya
|
|
|
|
|
Just wild guess
what happenning at the code line that downloads from the site when debugging?
How about if u launch that page by IE??
<< >>
|
|
|
|
|
Hi
I have my browser control in a DLL which is reffered to the Web Form. When I try to debug it is not stepping into that page which contains the browser(AxBrowser) control. I have attached the DLL to the Debug process.
Whats the problem?
Can any one Help me?
<< >>
|
|
|
|