Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. kamfl610

    Modal window disappears

    Hi, I ended up finding something that would stop the window from disappearing. At the end of my javascript of my onclientclick, I added this to it: return false; This stopped me from doing the postback to the parent page.
  2. kamfl610

    Modal window disappears

    Hi all, I have a problem with a modal window. I'm using a submodal window to bring up another asp.net page. In the parent page, i have the asp button onclientclick event to fire the javascript modal window. What happens is the load screen.html comes up and then when it goes to the asp.net...
  3. kamfl610

    Problems with Page Load

    Just thought I'd let everyone know I found a solution in case anyone wanted to know. I took all my code out of Page_Load because that's not where it gets saved. I found out that there are many steps in the page rendering before it shows up on the web page. After much research and headache, I...
  4. kamfl610

    Page Load only works the first time

    Just thought I'd let everyone know I found a solution in case anyone wanted to know. I took all my code out of Page_Load because that's not where it gets saved. I found out that there are many steps in the page rendering before it shows up on the web page. After much research and headache, I...
  5. kamfl610

    Problems with Page Load

    Hi all, I have a problem with some code and I'm not sure what's going on. When my page first loads, my Page Load event fires fine. I'm locating the footer field of active date and rendering it readonly and setting the onclick on the input button to javascript to fire if clicked. Works great...
  6. kamfl610

    Page Load only works the first time

    I will post it in that forum. The check for postback didn't affect it either.
  7. kamfl610

    Page Load only works the first time

    Hi all, I have a problem with some code and I'm not sure what's going on. When my page first loads, my Page Load event fires fine. I'm locating the footer field of active date and rendering it readonly and setting the onclick on the input button to javascript to fire if clicked. Works great...
  8. kamfl610

    asp variable in javascript

    Not on a calendar javascript popup. I'm looking for the actual ClientID of the textbox Active Date. It should render like the other controls and come up with the client id. I don't understand why it's treating the <% as less than but not the other %>.
  9. kamfl610

    asp variable in javascript

    Hi all, I'm trying to access an asp variable in javascript. Here's the snippet of code: <FooterTemplate> <asp:TextBox ID="txtActivedate" runat="server" Text='01/01/2007' MaxLength="10" Width="70px"></asp:TextBox><input type="button" runat="server" value="Cal"...
  10. kamfl610

    Adding a row in GridView for SqlDataSource

    Hi all, Thought I'd pass along a solution that I did for my GridView that uses SqlDataSource. Here was my problem: I was using the Footer Template to create an Add and Cancel button along with my fields so I could Add new records. But then came the problem, what if I had no data in that...
  11. kamfl610

    ObjectDataSource Update Problem

    Hi all, I'm getting this error: ObjectDataSource 'ObjectDataSource1' could not find a non-generic method 'Update' that has parameters: blah blah I searched the web and tried to find ways to fix this problem. Some suggestions were to change the OldValuesParameterFormatString="original_{0}"...
  12. kamfl610

    Sess0.Visible messing up my Excel when I close the workbook

    Thanks Skie for the suggestion. I did try it and it worked somewhat. I made some slight tweaks: Sub WaitForRows(MoveRows) For i = 1 To 100 If MyScn.Row = MoveRows Then Exit For Application.Wait (Now + TimeValue("0:00:01")) Next End Sub Chose to wait for the exact...
  13. kamfl610

    Sess0.Visible messing up my Excel when I close the workbook

    MrMilson, Why i had to put (-15) is that the cursor could be at row 22 on my screen but on the next screen, it would be row 7 and the only way waitforcursormove would work is that it remembers what the last screen row you were in (22) and I had to make it go back 15 rows so it would recognize...
  14. kamfl610

    Sess0.Visible messing up my Excel when I close the workbook

    I will try what you're suggesting skie on Monday. Let you know later that day what happens. I don't know why any of the Waitfor's freak out excel but it only freaks it out when you close the excel spreadsheet. So stupid. Might be a microsoft thing for all i know. I tried WaitforCursor...
  15. kamfl610

    Waitfor Commands messes up Excel

    I have a program that runs vba from Excel. It opens up an excel spreadsheet and then opens up Extra. It then puts data in Extra on some screens and writes any error messages from Extra to the Excel Spreadsheet. Everything runs great and I get my message at the end. Click okay and then I go...
  16. kamfl610

    Sess0.Visible messing up my Excel when I close the workbook

    I tried all the waitfor commands. They all do the same thing. Take it out, Excel has no problem. I'm about to go mad. Does this have anything to do with timing out?
  17. kamfl610

    WaitforCursorMove messing up Excel

    Okay...all the waitfor ones are killing Excel. this is evil.
  18. kamfl610

    WaitforCursorMove messing up Excel

    Okay. Now I've found the culprit. WaitforCursorMove is screwing up Excel in my vba code. When the code runs with it, it seems fine, i get the message, etc. But when I physically go to close out the excel workbook, Excel crashes on me. anyone else have this problem? and How do I fix it...
  19. kamfl610

    Sess0.Visible messing up my Excel when I close the workbook

    Okay. Found it. It's when I actually do the waitformovecursor. Code below: Public Sub Testing() Dim strmessage Set System = New ExtraSystem ' Declare variables to contain the OLE objects Dim objExcel As Object Dim objWorkBook As Object On Error Resume...
  20. kamfl610

    Sess0.Visible messing up my Excel when I close the workbook

    I'm at this point running parts of my code to see where it's freaking out. Let you know what I find out.

Part and Inventory Search

Back
Top