Click here to Skip to main content
15,921,793 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: json in HTML5 Pin
Sergejack30-Mar-14 22:27
Sergejack30-Mar-14 22:27 
GeneralRe: json in HTML5 Pin
Jassim Rahma30-Mar-14 23:28
Jassim Rahma30-Mar-14 23:28 
AnswerRe: json in HTML5 Pin
Kornfeld Eliyahu Peter30-Mar-14 23:37
professionalKornfeld Eliyahu Peter30-Mar-14 23:37 
GeneralRe: json in HTML5 Pin
Sergejack31-Mar-14 1:27
Sergejack31-Mar-14 1:27 
GeneralRe: json in HTML5 Pin
Richard Deeming31-Mar-14 1:28
mveRichard Deeming31-Mar-14 1:28 
QuestionCloud computing and private cloud computing security Pin
Amr Muhammed29-Mar-14 1:45
Amr Muhammed29-Mar-14 1:45 
AnswerRe: Cloud computing and private cloud computing security Pin
User 171649229-Mar-14 2:55
professionalUser 171649229-Mar-14 2:55 
QuestionUpdatePanel + Timer = Not Working Pin
GenJerDan28-Mar-14 7:15
GenJerDan28-Mar-14 7:15 
A simple asp.net page: GridView in an UpdatePanel with a timer to refresh the data every minute.

Works Fine On My Machine, hitting IIS Express.

Doesn't ever refresh when deployed to the actual IIS server. It just sits there and laughs at me.

I've tried various combinations of Timer outside the UpdatePanel with the AsynPostBackTrigger set, Timer inside UpdatePanel with no trigger set. Timer tick explicitly saying to update the UpdatePanel. Etc etc etc, just like the two million Google hits suggest, to no avail.

Every "fix" works fine on my machine.

It just refuses to work on the server.

Is there an IIS setting of some sort that might be causing it? Elsewhere on the page (outside the UpdatePanel) is a Panel with the CollapsiblePanel extender tacked on which works fine, so it isn't a matter of Ajax not being there. Looking at the webpage source from the server and from VS, I see no differences other than the extra crap VS puts in when hosting.

relevent code:
XML
<asp:Timer ID="Timer1" runat="server" OnTick="Timer1_Tick" Interval="60000" Enabled="true" EnableViewState="False">
                                </asp:Timer>
                        <asp:UpdatePanel ID="UpdatePanel1" runat="server" ChildrenAsTriggers="false" UpdateMode="Conditional" EnableViewState="False">

                            <Triggers>

                                <asp:AsyncPostBackTrigger ControlID="Timer1" EventName="Tick" />

                            </Triggers>

                            <ContentTemplate>
                                <asp:Label ID="lblLast" runat="server" Text="Newest Order: (waiting for update)" EnableViewState="False"></asp:Label>

                                <asp:Label ID="lblStatus" runat="server" Text="Checking for orders..." Visible="False" EnableViewState="False"></asp:Label>
                                <div class="Refreshed">
                                    <asp:Label ID="lblRefresh" runat="server" CssClass="Refreshed" Text="Last Refreshed:" EnableViewState="False"></asp:Label>
                                </div>
                                <br />
                                <asp:GridView ID="grdStatus" runat="server" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" Width="100%" CssClass="Grid" EnableViewState="False">


and

C#
protected void Timer1_Tick(object sender, EventArgs e)
{
    string Wards = Session["Wards"].ToString();
    RefreshGrid(Wards);
}


(Ye, I'll rename things if I ever get it to work.)

QuestionHTML5's new inputs. Black boxes that make layout a living hell? Pin
Sergejack28-Mar-14 3:22
Sergejack28-Mar-14 3:22 
AnswerRe: HTML5's new inputs. Black boxes that make layout a living hell? Pin
Kornfeld Eliyahu Peter28-Mar-14 4:47
professionalKornfeld Eliyahu Peter28-Mar-14 4:47 
GeneralRe: HTML5's new inputs. Black boxes that make layout a living hell? Pin
Sergejack28-Mar-14 4:55
Sergejack28-Mar-14 4:55 
AnswerRe: HTML5's new inputs. Black boxes that make layout a living hell? Pin
Kornfeld Eliyahu Peter29-Mar-14 7:46
professionalKornfeld Eliyahu Peter29-Mar-14 7:46 
SuggestionRe: HTML5's new inputs. Black boxes that make layout a living hell? Pin
W Balboos, GHB8-Apr-14 5:05
W Balboos, GHB8-Apr-14 5:05 
QuestionMVC WebAPI Controller Parameter Null Pin
Kevin Marois27-Mar-14 10:04
professionalKevin Marois27-Mar-14 10:04 
AnswerRe: MVC WebAPI Controller Parameter Null Pin
Matthew Dennis28-Mar-14 5:12
sysadminMatthew Dennis28-Mar-14 5:12 
GeneralRe: MVC WebAPI Controller Parameter Null Pin
Kevin Marois28-Mar-14 6:16
professionalKevin Marois28-Mar-14 6:16 
GeneralRe: MVC WebAPI Controller Parameter Null Pin
_Maxxx_15-Apr-14 20:12
professional_Maxxx_15-Apr-14 20:12 
GeneralRe: MVC WebAPI Controller Parameter Null Pin
Kevin Marois16-Apr-14 5:59
professionalKevin Marois16-Apr-14 5:59 
QuestionHelp with mysql duplicate row Pin
Izu Great26-Mar-14 0:54
professionalIzu Great26-Mar-14 0:54 
AnswerRe: Help with mysql duplicate row Pin
Kornfeld Eliyahu Peter26-Mar-14 1:02
professionalKornfeld Eliyahu Peter26-Mar-14 1:02 
GeneralRe: Help with mysql duplicate row Pin
Izu Great26-Mar-14 1:07
professionalIzu Great26-Mar-14 1:07 
AnswerRe: Help with mysql duplicate row Pin
ZurdoDev27-Mar-14 10:14
professionalZurdoDev27-Mar-14 10:14 
AnswerRe: Help with mysql duplicate row Pin
stevic9-Apr-14 7:07
professionalstevic9-Apr-14 7:07 
QuestionDecode or deobfuscate php Pin
Mahdi 8216102118-Mar-14 23:10
Mahdi 8216102118-Mar-14 23:10 
AnswerRe: Decode or deobfuscate php Pin
Richard Deeming19-Mar-14 2:56
mveRichard Deeming19-Mar-14 2:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.