Search

You searched for the word(s): userid:763411

Matching Posts

  • Re: callback not working after exporting to excel ONLY IN IE

    This is the markup. After i use the export excel feature my cboSearchby combobox doesnt work anymore. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" EnableEventValidation="false"%> <%@ Register TagPrefix="oajax" Namespace="OboutInc" Assembly="obout_AJAXPage" %> <%@ Register TagPrefix="obout" Namespace="OboutInc.Combobox" Assembly="obout_Combobox_Net"
    Posted to Client Side Web Development (Forum) by ionafi on 4/23/2009
  • callback not working after exporting to excel ONLY IN IE

    Hi guys, I have a gridview which i export to excel(as attachment) and after that the ajax part of my page, a dropdown populating another one in a callback panel, doesnt work anymore. In FF works perfectly, not on IE. What i noticed is that if i refresh the page manually, my callback panel functions well again. Does anyone know what's causing this and how can i fix it? I'm thinking i should probably force a refresh of the page after export (download of the file in the browser ends). But how
    Posted to Client Side Web Development (Forum) by ionafi on 4/23/2009
  • Re: updatepanel and client-side events

    Persistence is the mother of wisdom . The only trick was to stop the settimeout function before each request. Simple solutions are always hard to find :) <script language='JavaScript' type='text/javascript'> var timerOutID = 0; function BeginRequestHandler(sender,args) { if(timerOutID != 0) { clearTimeout(timerOutID); } } function EndRequestHandler(sender,args) { if(args.get_error() == undefined) { var display_text = document.getElementById('txtbactivetrack').value;
  • Re: updatepanel and client-side events

    Tried that too. Scrolling text doesnt work at all in the scenario. I dont know, might reconsider using this update panel.
  • Re: updatepanel and client-side events

    Ok guys, pretty clear where the bug is. Not javascript. Same function used in onLoad event without an update panel works perfectly. <body onload="scroll_text()"> <form id="form1" runat="server"> <div> <asp:TextBox ID="txtbactivetrack" runat="server" Width="260" Height="11" Text="oo" EnableViewState="false"></asp:TextBox> <asp:LinkButton ID="TrackSelectButton" runat
  • Re: updatepanel and client-side events

    Hi guys, Thanks alot both of you. Misha, i need this event to be loaded on every postback. This is part of an audio player project, with a playlist. Everytime a song is played i have a postback(panel update) and i update the cover art and track name on that tetxbox. I've been playing with the javascript function myself too. It runs fine first time but as soon as i click the link one more time, everything messes up. Text flickers and also overlaps if is longer. Now, my logic says that if that
  • Re: updatepanel and client-side events

    I've checked the javascript function line by line and looks ok to me. The logic is good, actually works well for one call. Dont understand why the second call still has the first value scrolling too. I added clearTimeout(timerOutID) right before the function scroll_text() but doesnt change anything.
  • Re: updatepanel and client-side events

    Hi Tom, Yes, this piece of javascript i got from the net is for scrolling the text that i display inside a textbox. Every select on the gridview (playlist) changes the text on the textbox and i want this to scroll in between. Thought that javascript would be kind of off topic for this thread but here it is. It's working well for the first run, postback, at the second run the previous text is overlapped by the current one, so figured out it's a matter of settimeout not being cleared. Did that
  • Re: updatepanel and client-side events

    Hi Guys, Tom, i haven't answered because it took me a while to figure out what was wrong. I didnt try your approche with webservices because honestly, i haven't worked with them before and all i know about them is that they help in connecting applications. I dont say you are not right, i just say that this is something else i intend to study and figure out how to use. For my problem, after googling alot, i realised there had to be a way to make it work, since for other people worked, handling
Page 1 of 10 (97 items) 1 2 3 4 5 Next > ... Last »