I recommend you use "Fiddler" to look at the HTP Post when the crash
happened. That will help you identify what about the posted form is freaking
out IE.
On 12/5/05, Ravi Swaminathan <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I have a web form with a number of textboxes and one
> datagrid. In one of my buttons I do a
> response.redirect to another page and it works fine.
>
> However, when I add another datagrid , and do a
> response.redirect to another page from a button
> associated to the second datagrid, IE crashes. When I
> remove this second datagrid, it works fine.
>
> Surprisingly, I have another page with as many as 4
> datagrids, and all the response.redirects from buttons
> on that page work fine.
>
> Any help would be greatly appreciated.
>
> Thanks
>
> Ravi
> My code behind on Page Load is as follows:
> ------------------------------------------
> If Not IsPostBack Then
>
> Dim myConnection, myConnection2 As
> OleDbConnection
> Dim myCommand, myCommand2 As OleDbCommand
>
> Dim strSql As String = "Select
> security_grep,notes from test_notes"
> Dim strSql2 As String = "Select
> c_itm,t_desc from mtaprodcmpntt"
> myConnection = New
> OleDbConnection("Provider=OraOLEDB.Oracle;Data
> Source=proddb.timelife.timeinc.com;User
> ID=admin1;Password=admin1;")
> myConnection2 = New
> OleDbConnection("Provider=OraOLEDB.Oracle;Data
> Source=proddb.timelife.timeinc.com;User
> ID=admin1;Password=admin1;")
> myCommand = New OleDbCommand(strSql,
> myConnection)
> myCommand2 = New OleDbCommand(strSql2,
> myConnection2)
>
> Try
> myConnection.Open()
> DataGrid3.DataSource =
> myCommand.ExecuteReader()
> DataGrid3.DataBind()
> 'myConnection2.Open()
> 'Datagrid1.DataSource =
> myCommand2.ExecuteReader()
> 'Datagrid1.DataBind()
> Catch ex As OleDbException
> Response.Write(ex.ToString)
> Finally
> myCommand.Dispose()
> myCommand2.Dispose()
> myConnection.Dispose()
> myConnection2.Dispose()
> End Try
> End If
>
>
> HTML
> ======
> <%@ Page Language="vb" AutoEventWireup="false"
> Codebehind="STROPSUpdate.aspx.vb"
> Inherits="LoginTable.STROPSUpdate" %>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
> Transitional//EN">
> <HTML>
> <HEAD>
> <title>ItemDetails</title>
> <meta content="Microsoft Visual Studio .NET 7.1"
> name="GENERATOR">
> <meta content="Visual Basic .NET 7.1"
> name="CODE_LANGUAGE">
> <meta content="JavaScript"
> name="vs_defaultClientScript">
> <meta
> content="http://schemas.microsoft.com/intellisense/ie5"
> name="vs_targetSchema">
> </HEAD>
> <body MS_POSITIONING="GridLayout">
> <form id="Form1" method="post" runat="server">
> <asp:label id="lblItemDetails" style="Z-INDEX: 101;
> LEFT: 424px; POSITION: absolute; TOP: 8px"
> runat="server" Font-Size="Larger"
> BorderWidth="10px" BackColor="Transparent"
> ForeColor="Blue"
> BorderStyle="None" Width="208px"
> Font-Bold="True">Strategic Ops Item Update</asp:label>
> <asp:listbox id="ListBox11" style="Z-INDEX: 166;
> LEFT: 624px; POSITION: absolute; TOP: 216px"
> runat="server" Width="113px" Height="48px"
> Enabled="False">
> <asp:ListItem Value="US">US</asp:ListItem>
> <asp:ListItem Value="Canada">Canada</asp:ListItem>
> </asp:listbox>
> <asp:textbox id="TextBox30" style="Z-INDEX: 165;
> LEFT: 624px; POSITION: absolute; TOP: 192px"
> runat="server" Width="113px">N</asp:textbox>
> <asp:textbox id="TextBox29" style="Z-INDEX: 164;
> LEFT: 624px; POSITION: absolute; TOP: 168px"
> runat="server" Width="113px">None</asp:textbox>
> <asp:label id="Label41" style="Z-INDEX: 163; LEFT:
> 512px; POSITION: absolute; TOP: 216px" runat="server"
> Width="100px">Country Rights</asp:label>
> <asp:label id="Label28" style="Z-INDEX: 162; LEFT:
> 512px; POSITION: absolute; TOP: 192px"
> runat="server">Spl package cost</asp:label>
> <asp:label id="Label27" style="Z-INDEX: 161; LEFT:
> 512px; POSITION: absolute; TOP: 168px"
> runat="server">Spl package type</asp:label>
> <asp:CheckBox id="CheckBox1" style="Z-INDEX: 159;
> LEFT: 640px; POSITION: absolute; TOP: 8px"
> runat="server"
> BorderStyle="Ridge" BackColor="#E0E0E0"
> Text="Complete" Height="10px"></asp:CheckBox>
> <asp:button id="Button7" style="Z-INDEX: 158; LEFT:
> 88px; POSITION: absolute; TOP: 264px" runat="server"
> BorderStyle="Groove"
> Text="Add/Update/Delete"></asp:button>
> <asp:button id="Button9" style="Z-INDEX: 157; LEFT:
> 352px; POSITION: absolute; TOP: 8px" runat="server"
> Width="64px" BorderStyle="Groove" Text="Next
> item"></asp:button>
> <asp:button id="Button8" style="Z-INDEX: 156; LEFT:
> 280px; POSITION: absolute; TOP: 8px" runat="server"
> Width="64px" BorderStyle="Groove" Text="Prev
> item"></asp:button>
> <asp:button id="Button3" style="Z-INDEX: 155; LEFT:
> 960px; POSITION: absolute; TOP: 8px" runat="server"
> Width="46px" BorderStyle="Groove"
> Text="Exit"></asp:button>
> <asp:button id="Button2" style="Z-INDEX: 154; LEFT:
> 792px; POSITION: absolute; TOP: 8px" runat="server"
> Width="46px" BorderStyle="Groove"
> Text="Cancel"></asp:button>
> <asp:button id="Button1" style="Z-INDEX: 153; LEFT:
> 736px; POSITION: absolute; TOP: 8px" runat="server"
> Width="46px" BorderStyle="Groove"
> Text="Save"></asp:button>
> <asp:Button id="Button4" style="Z-INDEX: 152; LEFT:
> 848px; POSITION: absolute; TOP: 8px" runat="server"
> Width="104px" BorderStyle="Groove" Text="View
> audit trail"></asp:Button>
> <asp:label id="Label63" style="Z-INDEX: 151; LEFT:
> 16px; POSITION: absolute; TOP: 216px" runat="server"
> Width="80px">Retail SRP</asp:label>
> <asp:ListBox id="ListBox5" style="Z-INDEX: 149;
> LEFT: 856px; POSITION: absolute; TOP: 80px"
> runat="server"
> Width="278px" Height="52px" Enabled="False">
> <asp:ListItem
> Value="Manufacturer1">Manufacturer1</asp:ListItem>
> <asp:ListItem
> Value="Manufacturer2">Manufacturer2</asp:ListItem>
> <asp:ListItem
> Value="Manufacturer3">Manufacturer3</asp:ListItem>
> </asp:ListBox><asp:label id="Label66"
> style="Z-INDEX: 148; LEFT: 16px; POSITION: absolute;
> TOP: 192px" runat="server">DR
> SRP</asp:label><asp:textbox id="TextBox64"
> style="Z-INDEX: 147; LEFT: 80px; POSITION: absolute;
> TOP: 48px" runat="server"
> Width="184px"
> Enabled="False"></asp:textbox><asp:textbox
> id="TextBox63" style="Z-INDEX: 146; LEFT: 624px;
> POSITION: absolute; TOP: 144px"
> runat="server"
> Width="113px">2/6/2003</asp:textbox><asp:textbox
> id="TextBox61" style="Z-INDEX: 145; LEFT: 624px;
> POSITION: absolute; TOP: 120px"
> runat="server" Width="112px"
> Enabled="False">2/1/2007</asp:textbox><asp:textbox
> id="TextBox60" style="Z-INDEX: 144; LEFT: 176px;
> POSITION: absolute; TOP: 120px"
> runat="server" Width="89px"
> Enabled="False">DRC</asp:textbox><asp:textbox
> id="TextBox59" style="Z-INDEX: 143; LEFT: 104px;
> POSITION: absolute; TOP: 72px"
> runat="server" Width="160px"
> Enabled="False">R4322-3</asp:textbox><asp:textbox
> id="TextBox52" style="Z-INDEX: 142; LEFT: 624px;
> POSITION: absolute; TOP: 96px"
> runat="server"
> Width="112px">A4567</asp:textbox><asp:textbox
> id="TextBox51" style="Z-INDEX: 141; LEFT: 624px;
> POSITION: absolute; TOP: 72px"
> runat="server"
> Width="113px">TL1</asp:textbox><asp:label id="Label65"
> style="Z-INDEX: 140; LEFT: 16px; POSITION: absolute;
> TOP: 48px" runat="server">Item
> No</asp:label><asp:label id="Label64" style="Z-INDEX:
> 139; LEFT: 16px; POSITION: absolute; TOP: 168px"
> runat="server">Format</asp:label><asp:label
> id="Label62" style="Z-INDEX: 138; LEFT: 512px;
> POSITION: absolute; TOP: 120px" runat="server">Launch
> dt</asp:label><asp:label id="Label61" style="Z-INDEX:
> 137; LEFT: 16px; POSITION: absolute; TOP: 144px"
> runat="server">UPC</asp:label><asp:label id="Label60"
> style="Z-INDEX: 136; LEFT: 16px; POSITION: absolute;
> TOP: 72px" runat="server">Retail item
> #</asp:label><asp:label id="Label58" style="Z-INDEX:
> 135; LEFT: 24px; POSITION: absolute; TOP: 256px"
> runat="server"
> Font-Underline="True">Notes</asp:label><asp:label
> id="Label54" style="Z-INDEX: 134; LEFT: 512px;
> POSITION: absolute; TOP: 144px" runat="server"
> Width="70px">Retail St dt</asp:label><asp:label
> id="Label53" style="Z-INDEX: 133; LEFT: 512px;
> POSITION: absolute; TOP: 96px" runat="server"
> Width="110px">Label selection
> no</asp:label><asp:label id="Label52" style="Z-INDEX:
> 132; LEFT: 512px; POSITION: absolute; TOP: 72px"
> runat="server">Label code</asp:label><asp:label
> id="Label50" style="Z-INDEX: 131; LEFT: 760px;
> POSITION: absolute; TOP: 88px"
> runat="server">Manufacturer</asp:label><asp:textbox
> id="TextBox36" style="Z-INDEX: 130; LEFT: 624px;
> POSITION: absolute; TOP: 48px"
> runat="server" Width="114px"
> Enabled="False">24.99</asp:textbox><asp:textbox
> id="TextBox25" style="Z-INDEX: 129; LEFT: 392px;
> POSITION: absolute; TOP: 240px"
> runat="server" Width="114px"
> Enabled="False">100</asp:textbox><asp:textbox
> id="TextBox24" style="Z-INDEX: 128; LEFT: 392px;
> POSITION: absolute; TOP: 216px"
> runat="server" Width="114px"
> Enabled="False">500</asp:textbox><asp:textbox
> id="TextBox23" style="Z-INDEX: 127; LEFT: 368px;
> POSITION: absolute; TOP: 192px"
> runat="server" Width="138px" Enabled="False">Music
> - Video</asp:textbox><asp:textbox id="TextBox22"
> style="Z-INDEX: 126; LEFT: 368px; POSITION: absolute;
> TOP: 168px"
> runat="server" Width="137px"
> Enabled="False">BOOMERS (BORN
> '47-'64)</asp:textbox><asp:textbox id="TextBox21"
> style="Z-INDEX: 125; LEFT: 368px; POSITION: absolute;
> TOP: 144px"
> runat="server" Width="138px"
> Enabled="False">Video</asp:textbox><asp:textbox
> id="TextBox20" style="Z-INDEX: 124; LEFT: 368px;
> POSITION: absolute; TOP: 120px"
> runat="server" Width="140px"
> Enabled="False">Music</asp:textbox><asp:label
> id="Label30" style="Z-INDEX: 123; LEFT: 512px;
> POSITION: absolute; TOP: 48px" runat="server">Last
> COGS</asp:label><asp:label id="Label22"
> style="Z-INDEX: 122; LEFT: 272px; POSITION: absolute;
> TOP: 216px" runat="server">Reorder
> qty</asp:label><asp:label id="Label21" style="Z-INDEX:
> 121; LEFT: 272px; POSITION: absolute; TOP: 240px"
> runat="server">Min initial order
> qty</asp:label><asp:textbox id="TextBox19"
> style="Z-INDEX: 120; LEFT: 368px; POSITION: absolute;
> TOP: 96px"
> runat="server" Width="138px" Enabled="False">Music
> - Video</asp:textbox><asp:textbox id="TextBox18"
> style="Z-INDEX: 119; LEFT: 368px; POSITION: absolute;
> TOP: 72px"
> runat="server" Width="138px"
> Enabled="False">50S/60S - MUSIC -
> VIDEO</asp:textbox><asp:textbox id="TextBox17"
> style="Z-INDEX: 118; LEFT: 368px; POSITION: absolute;
> TOP: 48px"
> runat="server" Width="136px" Enabled="False">Dick
> Clark - Video</asp:textbox><asp:textbox id="TextBox12"
> style="Z-INDEX: 117; LEFT: 120px; POSITION: absolute;
> TOP: 216px"
> runat="server" Width="146px"
> Enabled="False">24.99</asp:textbox><asp:textbox
> id="TextBox11" style="Z-INDEX: 116; LEFT: 120px;
> POSITION: absolute; TOP: 192px"
> runat="server" Width="146px"
> Enabled="False">22.99</asp:textbox><asp:textbox
> id="TextBox9" style="Z-INDEX: 115; LEFT: 120px;
> POSITION: absolute; TOP: 168px"
> runat="server" Width="145px"
> Enabled="False">VHS</asp:textbox><asp:textbox
> id="TextBox8" style="Z-INDEX: 114; LEFT: 80px;
> POSITION: absolute; TOP: 144px" runat="server"
> Width="185px"
> Enabled="False">1234567891234567</asp:textbox><asp:label
> id="Label16" style="Z-INDEX: 113; LEFT: 272px;
> POSITION: absolute; TOP: 192px" runat="server">PM
> Franchise</asp:label><asp:label id="Label15"
> style="Z-INDEX: 112; LEFT: 272px; POSITION: absolute;
> TOP: 168px"
> runat="server">Demographic</asp:label><asp:label
> id="Label14" style="Z-INDEX: 111; LEFT: 272px;
> POSITION: absolute; TOP: 144px"
> runat="server">Division</asp:label><asp:label
> id="Label13" style="Z-INDEX: 110; LEFT: 272px;
> POSITION: absolute; TOP: 120px"
> runat="server">Franchise</asp:label><asp:label
> id="Label12" style="Z-INDEX: 109; LEFT: 272px;
> POSITION: absolute; TOP: 96px" runat="server">Super
> Genre</asp:label><asp:label id="Label11"
> style="Z-INDEX: 108; LEFT: 272px; POSITION: absolute;
> TOP: 72px" runat="server">Genre</asp:label><asp:label
> id="Label10" style="Z-INDEX: 107; LEFT: 272px;
> POSITION: absolute; TOP: 48px" runat="server">Product
> Family</asp:label><asp:label id="Label8"
> style="Z-INDEX: 106; LEFT: 16px; POSITION: absolute;
> TOP: 120px" runat="server">MPC</asp:label><asp:label
> id="Label3" style="Z-INDEX: 105; LEFT: 16px; POSITION:
> absolute; TOP: 8px" runat="server"
> BackColor="White" Font-Bold="True">Go To
> Field</asp:label><asp:textbox id="TextBox2"
> style="Z-INDEX: 103; LEFT: 48px; POSITION: absolute;
> TOP: 96px" runat="server"
> Width="216px">DOMINGO ROSS CARRERAS: CHRISTMAS IN
> VIENNA (1-V)</asp:textbox><asp:label id="Label2"
> style="Z-INDEX: 102; LEFT: 16px; POSITION: absolute;
> TOP: 96px"
> runat="server">Title</asp:label><asp:dropdownlist
> id="DropDownList1" style="Z-INDEX: 104; LEFT: 120px;
> POSITION: absolute; TOP: 8px"
> runat="server" Width="152px" AutoPostBack="True">
> <asp:ListItem Value="Channel Rights">Channel
> Rights</asp:ListItem>
> <asp:ListItem Value="Item">Item</asp:ListItem>
> <asp:ListItem Value="Retail">Retail</asp:ListItem>
> </asp:dropdownlist>
> <HR style="Z-INDEX: 150; LEFT: 20px; WIDTH:
> 165.13%; POSITION: absolute; TOP: 40px; HEIGHT: 3px"
> width="165.13%" color="#000000" SIZE="3">
> <asp:Button id="Button5" style="OVERFLOW-Y:
> scroll;Z-INDEX: 160;LEFT: 904px;POSITION:
> absolute;TOP: 48px"
> runat="server" Width="130px" BorderStyle="Outset"
> Text="Add/Update/Delete"></asp:Button>
> <asp:Panel id="Panel1" style="Z-INDEX: 167; LEFT:
> 32px; POSITION: absolute; TOP: 296px" runat="server"
> Width="712px" Height="144px">
> <asp:DataGrid id="DataGrid3" runat="server"
> Width="712px">
> <HeaderStyle Font-Size="Larger"
> Font-Names="Arial" Font-Bold="True"></HeaderStyle>
> </asp:DataGrid>
> </asp:Panel>
> <asp:Label id="Label1" style="Z-INDEX: 168; LEFT:
> 32px; POSITION: absolute; TOP: 456px" runat="server"
> Font-Underline="True">Component Items</asp:Label>
> <asp:Button id="Button6" style="Z-INDEX: 169; LEFT:
> 168px; POSITION: absolute; TOP: 456px" runat="server"
> Text="Add/Update/Delete"
> BorderStyle="Outset"></asp:Button>
> </form>
> <script language="javascript">
> function SetFocus()
> {
> if (document.getElementById)
> document.getElementById('textbox2').focus();
> else
>
> if (document.all)
> document.all("textbox2").focus();
> return false;
> }
>
> </script>
> </body>
> </HTML>
>
>
>
> __________________________________________
> Yahoo! DSL � Something to write home about.
> Just $16.99/mo. or less.
> dsl.yahoo.com
>
>
>
> SPONSORED LINKS
> Basic programming
> language<http://groups.yahoo.com/gads?t=ms&k=Basic+programming+language&w1=Basic+programming+language&w2=Computer+programming+languages&w3=Programming+languages&w4=Java+programming+language&c=4&s=126&.sig=bnac3LCZpttb3c9FvbVU-A>
> Computer
> programming
> languages<http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=Basic+programming+language&w2=Computer+programming+languages&w3=Programming+languages&w4=Java+programming+language&c=4&s=126&.sig=1Czd2hKCO9_u4KVZQperFQ>
> Programming
> languages<http://groups.yahoo.com/gads?t=ms&k=Programming+languages&w1=Basic+programming+language&w2=Computer+programming+languages&w3=Programming+languages&w4=Java+programming+language&c=4&s=126&.sig=TyHGCjod4YOKITrSq1xccQ>
> Java
> programming
> language<http://groups.yahoo.com/gads?t=ms&k=Java+programming+language&w1=Basic+programming+language&w2=Computer+programming+languages&w3=Programming+languages&w4=Java+programming+language&c=4&s=126&.sig=PZAexF9LyXpKb3HDJSlB1g>
> ------------------------------
> YAHOO! GROUPS LINKS
>
>
> - Visit your group
> "AspNetAnyQuestionIsOk<http://groups.yahoo.com/group/AspNetAnyQuestionIsOk>"
> on the web.
>
> - To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]<[EMAIL PROTECTED]>
>
> - Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/>.
>
>
> ------------------------------
>
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/