User Profile

Collapse

Profile Sidebar

Collapse
akg
akg
Last Activity: Jun 27 '07, 03:54 PM
Joined: Jan 19 '07
Location: edison, nj
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • akg
    replied to content replicated twice
    resText contains the HTML which I am writing on this window. other thing is this content replication is not every time, it happens only occasionally.

    Amit
    See more | Go to post

    Leave a comment:


  • akg
    started a topic content replicated twice

    content replicated twice

    Hi,
    I am using following javascript code to write some content in a window. my problem is content in the document is written twice. can someone please help me how to avoid this.

    Code:
    _newwindow = window.open('',pr_OpenWindows[index].Name,'height=690,width=775,status= no, resizable= no, scrollbars=yes, toolbar=no,location=no,menubar=no,left=' + pr_OpenWindows[index].XPos + ',top=' + pr_OpenWindows[index].YPos);
    _newwindow.document.write(resText);
    ...
    See more | Go to post
    Last edited by akg; May 30 '07, 02:59 PM. Reason: change of subject

  • akg
    replied to javascript include
    thank you. it works now.
    See more | Go to post

    Leave a comment:


  • akg
    replied to javascript include
    I am using that way only but somehow it looks like embedded javascript file don't get included. any other idea please ?.

    <script src="twiaBase_3 _1.js">

    Amit
    See more | Go to post

    Leave a comment:


  • akg
    started a topic javascript include

    javascript include

    how do I include one javascript file (.js) inside another javascript file ?

    Regards,
    Amit
    See more | Go to post

  • acoder,
    you have posted following links here. could you please tell me which one i should refer for my problem.

    AJAX:Getting Started (Mozilla Developer Center)
    http://www.xul.fr/en-xml-ajax.html (GET, POST, text and XML examples)
    Jibbering
    W3Schools AJAX Tutorial
    Captain's AJAX Form Post/Get

    Thanks,
    Amit...
    See more | Go to post

    Leave a comment:


  • calling asp.net code behind function from window.onload javascript function

    Hi Gurus,

    I have a requirement like below. In my asp.net(C#) code behind file "MyPage.aspx.cs " file I have a function like below:

    void PopulateAccount (int AccountNumber)
    {
    this.AccountNum ber.Text = AccountNumber;
    }

    I want to call this function from JavaScript (inside the window.onload function) from my MyPage.aspx page, something like below:

    window.onload...
    See more | Go to post

  • akg
    replied to window.open
    please replace the options string with this one:

    var options = 'height=670,wid th=654,status= no, resizable= no, scrollbars=yes, toolbar=no,loca tion=no,menubar =no,left=-540,top=-20';

    even i am setting left and top and -ve value still my window is always opening in positive coordinate. Please help

    Thanks,
    Amit
    See more | Go to post

    Leave a comment:


  • akg
    started a topic window.open

    window.open

    Hi friends,
    I want to open a window with window.open method, but I want to set left and top coordinates in negative. but when i run this then it always open with positive top and left position. Please help me. its very urgent.

    code is like this:

    var options = 'height=670,wid th=654,status= no, resizable= no, scrollbars=yes, toolbar=no,loca tion=no,menubar =no,left=offset =-540,top=-20';

    var newwindow...
    See more | Go to post

  • akg
    replied to hiding window.open
    no abctech, I don't have to show scrollbar to the users....
    See more | Go to post

    Leave a comment:


  • akg
    replied to hiding window.open
    document.getEle mentById(id).of fsetWidth...
    See more | Go to post

    Leave a comment:


  • akg
    replied to hiding window.open
    problem is my asp.net page will be of varying width and height and before calling in window.open method I can't get its full height and width.

    Amit
    See more | Go to post

    Leave a comment:


  • akg
    replied to hiding window.open
    I am opening a url (asp.net page) from window.open which I am resizing if the loaded url document is bigger or smaller than the opened window, but my user didn't liked this resizing of the window. so, I thought if i could open the window with hide attribute set initially and after resizing if I could display it then users will not see the resizing effect.

    any suggestions ?
    See more | Go to post

    Leave a comment:


  • akg
    started a topic hiding window.open

    hiding window.open

    Hi friends,
    I am opening a popup window with window.open method. I want to hide it, someting like visible=false. is there some property or method available which solve this purpose.

    Thanks,
    Amit
    See more | Go to post

  • akg
    replied to window.open and stylesheet
    1 sec is expected bahaviour for my client as it displays lots of data in this new window....
    See more | Go to post

    Leave a comment:


  • akg
    replied to window.open and stylesheet
    Hi Acoder,
    user gets this popup window and they expect that they would be getting this popup window. Also my url takes approx 1 sec to load as it loads lots of data to show to the user and it seems user white flickering before page completly loads which I want to fill with stylesheet so that they don't see the flickering due to color change from defauly white to my url's background color.

    Thanks,
    Amit
    See more | Go to post

    Leave a comment:


  • akg
    started a topic window.open and stylesheet

    window.open and stylesheet

    Hi Friends,
    I am using window.open(myu rl, other parameters....) method to open my url in a window. The problem is that myurl takes some time to open in the window, till that time this newly created window shows the default white background which I want to change with my page color so that user doesn't feel wrong. could sombody please help me how to change the default background color of the window.

    I can set the background...
    See more | Go to post

  • akg
    replied to default focus on asp.net button
    in .NET
    you are right, 'btn2' gets focus but the problem is when you press the 'TAB' button then focus again shifts to 'btn1' which is not correct. focus should be on the second textbox.

    Regards,
    Amit...
    See more | Go to post

    Leave a comment:


  • akg
    started a topic default focus on asp.net button
    in .NET

    default focus on asp.net button

    Dear Friends,
    I have a problem. In one of my asp.net form, I have two buttons 'reset' and 'submit' and approx 20 textboxes. through javascript, I am setting focus on first textbox. What I am seeing that cursor is blinking in the first text box, and my first button 'reset' also have focus. I want this focus should be on the second button but I am not able to do that. can somebody please help me on this. I am using asp.net 1.1. Other thing...
    See more | Go to post
No activity results to display
Show More
Working...