Skip to main content

Microsoft Silverlight

Advanced Forum Search Results

  • Re: Re: Re: knowing when a html page is opened

    Wow!! it helped... such a simple solution!! thank u !
  • Re: Re: knowing when a html page is opened

    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 = ...
  • Re: Re: knowing when a html page is opened

    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);
  • knowing when a html page is opened

    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 ...
  • Re: Re: Re: save to Excel / PDF file from Silverlight application

    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) ...
  • Re: Saving a file

    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... 
  • Styling with XSL

    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 ...
  • Re: Saveing a file

    Does anybody have a way to do it?
  • Re: Saveing a file

    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.
  • Saveing a file

    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.)
1 2 3 4 5 Next >
Microsoft Communities