Advanced Forum Search Results
-
Wow!! it helped...
such a simple solution!!
thank u !
-
On my SL app I have a button when it's pressed, This is what happens:
HtmlPage.Window.Invoke("PreviewTaskList", taskList);
taskList holds a html string of the table i want to view.
so on default.aspx there's a function - PreviewTaskList()
what I want to do there is to open a new html page with a table:
taskWindow = ...
-
I tried to give my page a name, but I get a JS error for the next row(when I try to write on the page) - "Access is denied".
taskWindow = window.open("http://Preview.TaskList", "viewTaskWindow");
taskWindow.document.write(taskListTable);
-
Hi,
On SL I invoke (with a button) a function written on default.aspx:
HtmlPage.Window.Invoke("PreviewTaskList", taskList);
On the func 'PreviewTaskLis't I open a new html page with a table:
taskWindow = window.open("", "viewTaskWindow");
taskWindow.document.write(taskListTable);my problem is - when ...
-
At first you build an html string (on your SL app).
Then you send it to JS:
HtmlPage.Window.Invoke("Build&Save", htmlString);
(your html page is Default.aspx)
"Build&Save" = the name of the function to invoke in JS:
function Build&Save(htmlString) ...
-
I can't use silverlight 3, I'm using SL 2, and saving through JS,
I want to know if I could save in different formats and not only html?
because in JS, there's only html...
-
Hi, I'm building an html page (a table) through JS: var newWindow = window.open("", "newWindow1");
newWindow.document.write("<html><body>"); .........
But at first I'm building a string on my SL application,
then I invoke a JS function and send the whole string,
I want to know if I ...
-
Does anybody have a way to do it?
-
yes, thats what I wanna use, and I used it!
but in JS:
window.document.execCommand('SaveAs', true, "savedFile");
my problem is that in the combo box thatlets u pick an extention for the file,
there's only html... I want different files like - txt,xls etc.
-
Hi,
I'm calling a JS function from silverlight,
overthere I want to save a file:
window.document.execCommand('SaveAs', true, "savedFile");
but it saves only to html,
can I save to a different format? (txt,xls, etc.)