|
You cannot "convert" Win app GUI into Web UI. You either need to build your Web UI or create a Win App that runs in sandbox (the client needs .Net Framework though).
If you want to build a Web-based rich-thin client, have a look at AJAX and learn some advanced object-oriented javascript.
I am currently using MyAjax.Net from Jason Diamond and can say I'm pretty much satisfied with it.
Ed
|
|
|
|
|
Hi All,
I have a button control.
By clicking the button a pop-up page should come.
I had written a javascript function to do that and that is working fine.
But the problem is like this,
if the popup is already opened thn again a new pop-up should not open even i am click
the button. ie, new pop-ups page should come only when there is no pop-ups are already
opened.
I think this is a common scenario in web developing.
Please let me know the solution.
Thanks in Advance,
ravi
|
|
|
|
|
Are u using Window.open() in javascript to open the pop up.
If yes then by specifying a name for the popup window as second argument of window.open u can solve this problem. That is
Window.Open(pageURL,SomeNameForPopUpWindow,WindowProperties);
|
|
|
|
|
Thank u very much Leena.
The problem was solved.
Thanku,
yeggu
|
|
|
|
|
Code:
parent.iframe.location.href = "a.apsx";
or
parent.iframe.document.location.href = "a.apsx";
But when the frame named "iframe" loaded successful the progress bar ( on the bottem) run slowly and when I click on other hyperlinks, nothing happen?
Hung
|
|
|
|
|
What is the question, really?
Where is the frame located relative to the code, as you are using "parent"?
Is the frame a frame or an iframe?
Do you really have a file with the extension "apsx"?
Where are the hyperlinks?
---
b { font-weight: normal; }
|
|
|
|
|
well i want to add dynamic row in my table using javascript. i m using insertRow() method of table and then using innerHtml property of row to insert my HTML code. here is the code
var Header = '111111111111111111111';
var row;
table = document.getElementById('tblRecords'); //getting my table
row = table.insertRow(0); //row insert at first location
row.innerHTML = Header;
wats wrong with this , or any other solution for this kind of issue
|
|
|
|
|
Why do you think that there is something wrong with that? Do you get an error message, or what?
---
b { font-weight: normal; }
|
|
|
|
|
there are no errors and also not working
|
|
|
|
|
Standard question #1:
What do you mean by "not working"?
---
b { font-weight: normal; }
|
|
|
|
|
I have this weird issue on *some* computers where the ONCLICK event handler that calls a function to open a popup just doesn't work until after all the images on the page have loaded. After all images are loaded the popup works fine.
Now the <script src=....></script> is specified in the <HEAD> and does get loaded *before* images by IE.
I don't think it's a popup blocker issue since the popups DO work after the page is fully loaded.
Has anyone heard of something like this? What's irritating is that I cannot reproduce this on my setup with same browser / google toolbar etc. Could it be norton internet security?
thanks, any tip would be appreciated.
|
|
|
|
|
Do you use the onload event for anything? That doesn't fire until all images are loaded.
---
b { font-weight: normal; }
|
|
|
|
|
there's no onload logic for the page. What's too weird is that it works fine on 3 development machines running IE6, but a client's machine on IE6 has this problem.
|
|
|
|
|
Hi all,
Currently I am using the following javascript code
document.pdfObjCommit.printAll();
to print a .pdf file which is displayed as an object on a web page.
Is there anyway which I can programmatically setup different printer trays? I want the first page to be printed on Tray 1 and the rest on Tray 2.
Any help will be much appreciated
Kind regards
Tony
|
|
|
|
|
Hi
How can I use the get method tag in the jsp page used to restrict the query string in the browser.
The tag is not working.
Amandeep
|
|
|
|
|
hi there,
what do u mean 'not working' here?
<< >>
|
|
|
|
|
I am coding a graphics heavy website and am having a problem with the way IE loads my images. More specifically after i open an image popup window using javascript then click elsewhere on the main page the images which should have been preloaded seem to need to be loaded again. This only happens in IE and only after i open an image popup. The website is portfolio.actionstar.ca/ci.html
Any help is appreciated
|
|
|
|
|
IE stops loading images once you click an <A HREF=__>, so you need to put the popup code in a ONCLICK event. Looks like you might have figured this out already yeah?
|
|
|
|
|
Thanks For your reply. The problem is not that IE stops loading images. The problem is that IE reloads all the images that should have been loaded already when clicking on a link(only after the popup is opened). If you do no open any popups and click on a link within the page everything works fine(images are not reloaded). I am not using <a href=___> to popup images. I am using
<img src="Images/btn1.jpg" name="btn1" onMouseOver="rollOver('btn1',true);" onMouseOut="rollOver('btn1',false)" onClick="openPopImg('Images/ciexample1.jpg', 'Corporate Identity - example 1', '553', '529')">
The openPopImg is a js function within the head tags.
|
|
|
|
|
I'm writing a .NET application in which I have a html page that uses a calendar based on html and javascript. The calendar itself has it's own html-file which contains mostly javascript. To start using the calendar a javascript-function has to be called. Like this:
The textbox:
<input type="text" readonly="true" size="11" class="formfield" name="DOB" onClick="popFrame.fPopCalendar(DOB,DOB,popCal);return false;" />
then the iframe where popFrame can be found:
<DIV id="popCal" onclick="event.cancelBubble=true" style="BORDER-RIGHT: 2px ridge; BORDER-TOP: 2px ridge; Z-INDEX: 100; VISIBILITY: hidden; BORDER-LEFT: 2px ridge; WIDTH: 10px; BORDER-BOTTOM: 2px ridge; POSITION: absolute">
<IFRAME frameBorder="0" height="220" name="popFrame" scrolling="no" src="pages/calendar/popdob.htm" width="183"></IFRAME></DIV>
the called html-page (popdob.htm) holds the fPopCalendar function.
All works fine in IE (and in NN when you select the IE engine to work with) but NOT in FireFox. I realy don't know why. The error-message I get is:
Error: popFrame.fPopCalendar is not a function
IE thinks otherwise...
Who can help?
-- modified at 10:39 Sunday 11th September, 2005
|
|
|
|
|
What is "popFrame"? Is it an object that is created by the script?
Have you created the variables DOB and popCal, or are you just trying to use elements in the page as if they where variables?
---
b { font-weight: normal; }
|
|
|
|
|
popFrame is the name of the IFRAME. DOB is not a variable but the name of the text (input) object and popCal is nothing more than the name of the DIV.
What I want is starting a javascript function in the html-page called in the IFRAME.
|
|
|
|
|
The reason it doesn't work is that you use a non-standard way of accessing the elements.
Som browsers let the elements be accessible directly through the window object or the document object. This only works in those specific browsers.
Use the document.frames collection to access the iframes in the page.
Use the document.getElementById() method to access elements in the page.
From the code inside the input element, the keyword 'this' references the input element itself.
---
b { font-weight: normal; }
|
|
|
|
|
Please tell me how to go about taking an existing, working C# application and web enable it.
Rather than produce Windows output as it now does, I need to get it to produce output that can be accessed from a web browser. The output is very simple and contains no clever bits just text and two buttons, one to Print and one for Done.
Regards,
Alf Stockton
|
|
|
|
|
Assuming you application is properly designed with a data layer, business layer and presentation layer (each in their own assemblies) it should be a simple task of adding a new assembly to the project as a second presentation layer assembly, but this time presenting the information over the web as an ASP.NET Web Forms application. You then just need to connect up the buttons to the existing business layer.
If this is not the case then you probably have a lot of hard work ahead of you.
My: Blog | Photos
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucious
|
|
|
|