This is a migrated thread and some comments may be shown as answers.

Problem Postingback in IE7

4 Answers 56 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
David Meier
Top achievements
Rank 1
David Meier asked on 19 Feb 2010, 10:09 PM
I am having a problem posting back in ie7 when a row is selected from a grid.  I am using the following code:

<

 

telerik:RadGrid ID="grdDropBox" runat="server" AutoGenerateColumns="False"

 

 

GridLines="None" onselectedindexchanged="grdDropBox_SelectedIndexChanged"

 

 

Skin="Office2007" Width="827px"

 

 

ondeletecommand="grdDropBox_DeleteCommand" AllowAutomaticDeletes="True"

 

 

DataSourceID="SqlDropBoxDS" AllowAutomaticUpdates="True"

 

 

onneeddatasource="grdDropBox_NeedDataSource">

 

 

<ValidationSettings EnableValidation="False" />

 

 

<MasterTableView datakeynames="Email,UploadedBy,UploadDate"

 

 

datasourceid="SqlDropBoxDS">

 

 

<Columns>

 

 

<telerik:GridButtonColumn CommandName="Select" HeaderText="Download"

 

 

Text="Download" UniqueName="SelectRow">

 

 

</telerik:GridButtonColumn>

 

 

<telerik:GridBoundColumn DataField="Email" HeaderText="Email"

 

 

UniqueName="Email" ReadOnly="True" SortExpression="Email">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="FileName" HeaderText="FileName"

 

 

UniqueName="FileName" SortExpression="FileName">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="FileType" HeaderText="FileType"

 

 

UniqueName="FileType" SortExpression="FileType">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="UploadedBy" HeaderText="UploadedBy"

 

 

UniqueName="UploadedBy" ReadOnly="True" SortExpression="UploadedBy">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="UploadDate" HeaderText="UploadDate"

 

 

UniqueName="UploadDate" DataType="System.DateTime" ReadOnly="True"

 

 

SortExpression="UploadDate">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="EmailNotify" HeaderText="EmailNotify"

 

 

UniqueName="EmailNotify" SortExpression="EmailNotify">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridButtonColumn ButtonType="ImageButton" CommandName="Delete"

 

 

HeaderText="Delete" Text="Delete" UniqueName="DeleteColumn"

 

 

ConfirmText="Are you sure you want to delete this item?"

 

 

ConfirmTitle="Delete Confirmation">

 

 

</telerik:GridButtonColumn>

 

 

</Columns>

 

 

</MasterTableView>

 

 

<ClientSettings EnablePostBackOnRowClick="true" EnableRowHoverStyle="true">

 

 

</ClientSettings>

 

 

</telerik:RadGrid>

The strange part is this works fine in firefox, in VS development server, and on the same network as the Webserver.  It doesn't postback when outside of the network (Both the Download and Delete don't). Any ideas?

 

4 Answers, 1 is accepted

Sort by
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 20 Feb 2010, 02:59 AM
Are there any javascript errors?
0
David Meier
Top achievements
Rank 1
answered on 20 Feb 2010, 04:38 PM
No.  Like I said the weird part is that it works in testing and if the machine is on the internal network of the webserver.  Once I try to get to it remotely it doesn't work.  I thought it might be an iis error but a standard vs gridview posts back fine.
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 20 Feb 2010, 09:59 PM
So on every other browser outside  the network you work fine? 0_o?

Install Debugbar and Companion.JS see if you notice anything funky going on  (with IE there's always something funky going on)
http://www.debugbar.com/
http://www.my-debugbar.com/wiki/CompanionJS/HomePage


0
David Meier
Top achievements
Rank 1
answered on 22 Feb 2010, 06:08 PM
So I ran those and nothing.  This is perplexing... It's looks like the browser is posting back but nothing happens.  I even changed the code behind to simply send me an email when the download button is clicked.  Sends me one in firefox from outside the network but nothing with ie7.
Tags
Ajax
Asked by
David Meier
Top achievements
Rank 1
Answers by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
David Meier
Top achievements
Rank 1
Share this question
or