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

EditMode="Popup" Problem

28 Answers 732 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Josh
Top achievements
Rank 1
Josh asked on 11 Jun 2009, 01:26 PM
I am having two problems with the popup right now.  My first issue is when
I set EditMode="Popup" and try to edit a row the grid columns expand slightly like
EditMode="InPlace" and textboxes were showing, however, there is nothing.
I cancel the edit and the grid column widths shrink back down slightly and
everything is back to normal.  When I go to add a row, the popup pops up
and all fields are waiting to be entered.  I can't figure out why one pops up
and the other doesn't.  My second issue is when I set
PopupSettings-Modal="True", the whole screen greys out including the popup.
Any ideas?

My RadGrid Details:
Located in <Div> that centers grid on page.
Custom CommandItemDisplay that houses the "Edit Selected" / "Add" / etc.
Grouping enabled.

Let me know if any further details are needed.  Thanks in advace for all replys.

Joshua

28 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 15 Jun 2009, 03:40 PM
Hello Josh,

May I suggest you examine this online demo and verify what the differences between your implementation and the demo are?

All the best,
Georgi Krustev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Josh
Top achievements
Rank 1
answered on 16 Jun 2009, 12:40 AM
The only big difference I can see is what I stated in my first post.   My grid is located
in a <div>, has grouping, and doesn't have an autogenerated edit column.  I just
thought of something that might be an issue.  I use simple databinding.  However,
I don't see why that would cause the whole page to be in modal.  Very odd.  I
cannot figure out what the issue could be since the popup displays when
Command="InitInsert" and doesn't display when Command="EditSelected".

Joshua
0
David Yardy
Top achievements
Rank 1
answered on 16 Jun 2009, 07:33 PM
I have a very similar issue and have submitted a support case.

I have radgrid, with group and EditMode="PopUp".  As soon as i click edit the entire page goes grey and i cannot manipulate the controls on the popup form.  If I remove the grouping and click edit, things work fine.  The problem is related to grouping + editmode=popup.

I have removed all css sheets.  I have also tested with the grid outside of all divs and I still have the issue.

Hoping there is easy solution.  I have tried manipulating zindex but that doesn't have any effect as far as I can tell

-dave
0
Josh
Top achievements
Rank 1
answered on 16 Jun 2009, 09:53 PM
Dave,

 Glad to see I am not the only one with this issue.  So it is related to grouping?
How do you group your grid?  I wonder if there is a difference between
GroupLoadMode Client and GLM Server.  Currently,  I use a GLM of server
and a hashtable to save the state of my groups.  Can you please keep me
up to date on your situation and let me know when/if this thing gets
figured out.  Thanks for the heads up.

I wonder if we might have more success manually creating a radwindow and
using that to edit.

Joshua
0
David Yardy
Top achievements
Rank 1
answered on 16 Jun 2009, 10:15 PM

My aspx page is as follows, obviously you can ignore most of the columnar code.  I am grouping on the server.  
Your scenario sounds identical to mine.  I am trying not to do editing in a radwindow.  I would like to keep the code as simple as possible as I have many pages where I can do this.  Would like to use the out of box functionality if possible.

I will let you know when i hear something from support.
-dave


     <telerik:RadGrid ID="RadGrid1" runat="server" PageSize="100" Skin="Vista"    GridLines="None" 
                            AllowSorting="True" AllowMultiRowSelection="False" AllowPaging="True"  
                             OnNeedDataSource="RadGrid1_NeedDataSource"  
                              ShowGroupPanel="True" 
                              GroupingEnabled="true"    
                              EnableLinqExpressions="false"  
                                
                            > 
                             
                            <ExportSettings  Excel-FileExtension="xls" Excel-Format="ExcelML" ExportOnlyData="true" OpenInNewWindow="true"  > </ExportSettings> 
                            <PagerStyle Mode="NextPrevNumericAndAdvanced"></PagerStyle> 
                            <GroupingSettings CaseSensitive="true" ShowUnGroupButton="true" /> 
                             <ClientSettings ReorderColumnsOnClient="false" AllowDragToGroup="true" AllowColumnsReorder="false">   
                                <Selecting AllowRowSelect="True"></Selecting> 
                                <ClientEvents OnPopUpShowing="PopUpShowing" /> 
                                <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="False"   ScrollHeight="350" ></Scrolling>       
                            </ClientSettings> 
                             
                            <MasterTableView  DataKeyNames="RelationID" EditMode="PopUp"  TableLayout="Fixed" 
                                AllowFilteringByColumn="true" AutoGenerateColumns="false" 
                                 AllowAutomaticInserts="true" 
                                 CommandItemDisplay="Top"                                 
                             >                               
                                 
                                <Columns> 
                                    <telerik:GridEditCommandColumn HeaderStyle-Width="40px" ></telerik:GridEditCommandColumn>                                     
                                    <telerik:GridBoundColumn HeaderStyle-Width="110px" SortExpression="RegionType" HeaderText="Region Type" HeaderButtonType="TextButton" DataField="RegionType"></telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn HeaderStyle-Width="110px" SortExpression="ProjectType" HeaderText="Project Type"  DataField="ProjectType" ></telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn HeaderStyle-Width="200px" SortExpression="Category" HeaderText="Category"  DataField="Category" ></telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn HeaderStyle-Width="200px" SortExpression="Title" HeaderText="Title"  DataField="Title" ></telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn HeaderStyle-Width="200px" SortExpression="Role" HeaderText="Role"  DataField="Role" ></telerik:GridBoundColumn> 
                                     
                                    <telerik:GridCheckBoxColumn HeaderStyle-Width="60px" SortExpression="cansignacrossbg" headertext="Across BG" DataField="cansignacrossbg"></telerik:GridCheckBoxColumn> 
                                   <telerik:GridCheckBoxColumn HeaderStyle-Width="80px" SortExpression="cansignacrossentities" headertext="Across Entities" DataField="cansignacrossentities"></telerik:GridCheckBoxColumn> 
                                    <telerik:GridCheckBoxColumn HeaderStyle-Width="60px" SortExpression="legalcheckrequired" headertext="Legal" DataField="legalcheckrequired"></telerik:GridCheckBoxColumn> 
                                    <telerik:GridCheckBoxColumn HeaderStyle-Width="60px" SortExpression="notesfieldoptional" headertext="Notes" DataField="notesfieldoptional"></telerik:GridCheckBoxColumn> 
                                    <telerik:GridCheckBoxColumn HeaderStyle-Width="60px" SortExpression="PoaRequired" headertext="POA" DataField="PoaRequired"></telerik:GridCheckBoxColumn> 
                                    <telerik:GridCheckBoxColumn HeaderStyle-Width="60px" SortExpression="DelegatedSA" headertext="Delegated" DataField="DelegatedSA"></telerik:GridCheckBoxColumn> 
                                    <telerik:GridBoundColumn HeaderStyle-Width="200px" SortExpression="DelegatedRelation" HeaderText="Delegated Relation"  DataField="DelegatedRelation" ></telerik:GridBoundColumn> 
                                     
                                    <telerik:GridCheckBoxColumn HeaderStyle-Width="60px" SortExpression="AdminOnly" headertext="Admin" DataField="AdminOnly"></telerik:GridCheckBoxColumn>                                     
                                    <telerik:GridCheckBoxColumn HeaderStyle-Width="60px" SortExpression="Active" headertext="Active" DataField="Active"></telerik:GridCheckBoxColumn> 
                                    <telerik:GridButtonColumn HeaderStyle-Width="50px"  CommandName="Delete" Text="Delete" UniqueName="DeleteColumn"></telerik:GridButtonColumn>                               
                                     
                                     <telerik:GridBoundColumn DataField="RelationID" Visible="false" ></telerik:GridBoundColumn>                                      
                                     <telerik:GridBoundColumn DataField="RegionTypeID" Visible="false" ></telerik:GridBoundColumn>                                                                          
                                     <telerik:GridBoundColumn DataField="ProjectTypeID" Visible="false" ></telerik:GridBoundColumn>          
                                     <telerik:GridBoundColumn DataField="CategoryID" Visible="false" ></telerik:GridBoundColumn>          
                                     <telerik:GridBoundColumn DataField="TitleID" Visible="false" ></telerik:GridBoundColumn>          
                                     <telerik:GridBoundColumn DataField="RoleID" Visible="false" ></telerik:GridBoundColumn>   
                                     <telerik:GridBoundColumn DataField="DelegatedRelationID" Visible="false"></telerik:GridBoundColumn>   
                                             
                                </Columns> 
                                 
                                <EditFormSettings EditFormType="Template" > 
                                  <PopUpSettings Height="300" Width="900"  Modal="true"   /> 
                                   <FormTemplate> 
                                    <table cellspacing="1" class="tbl" border="0" width="100%" > 
                                        <tr> 
                                            <td class="fieldname" >Region Type</td>                                     
                                            <td><asp:DropDownList ID="ddlRegionType" runat="server" CssClass="ddl"></asp:DropDownList> 
                                        </tr>                                     
                                        <tr> 
                                            <td class="fieldname" >Project Type</td>                                     
                                            <td><asp:DropDownList ID="ddlProjectType" runat="server" CssClass="ddl"></asp:DropDownList> 
                                        </tr>                                     
                                        <tr> 
                                            <td class="fieldname" >Category</td>                                     
                                            <td><asp:DropDownList ID="ddlCategory" runat="server" CssClass="ddl"></asp:DropDownList> 
                                        </tr>                                     
                                        <tr> 
                                            <td class="fieldname" >Title</td>                                     
                                            <td><asp:DropDownList ID="ddlTitle" runat="server" CssClass="ddl"></asp:DropDownList> 
                                        </tr>                                     
                                        <tr> 
                                            <td class="fieldname" >Role</td>                                     
                                            <td><asp:DropDownList ID="ddlRole" runat="server" CssClass="ddl"></asp:DropDownList> 
                                        </tr>         
                                        <tr> 
                                            <td colspan="2"
                                                <table cellspacing="0" class="tbl"  border="0"
                                                    <tr> 
                                                        <td class="fieldname"><asp:CheckBox ID="chkEntities" runat="server" CssClass="chk" Text="Can Sign Across Entities" TextAlign="right" /></td
                                                        <td class="fieldname"><asp:CheckBox ID="chkLegalCheck" runat="server" CssClass="chk" Text="Legal Check Required" TextAlign="right" /></td
                                                        <td class="fieldname"><asp:CheckBox ID="chkPOARequired" runat="server" CssClass="chk" Text="POA Required" TextAlign="right" /></td
                                                        <td class="fieldname"><asp:CheckBox ID="chkAdminOnly" runat="server" CssClass="chk" Text="Administrative" TextAlign="right" /></td>                                         
                                                    </tr>                                     
                                                    <tr> 
                                                        <td class="fieldname"><asp:CheckBox ID="chkBG" runat="server" CssClass="chk" Text="Can Sign Across Business Groups" TextAlign="right" /></td
                                                        <td class="fieldname"><asp:CheckBox ID="chkProjectClientNotes" runat="server" CssClass="chk" Text="Project/Client Specific Notes Field" TextAlign="right" /></td
                                                        <td class="fieldname"><asp:CheckBox ID="chkActive" runat="server" CssClass="chk" Text="Active" TextAlign="right" /></td
                                                        <td></td
                                                    </tr> 
                                                    <tr valign="top"
                                                        <td class="fieldname" nowrap="nowrap"
                                                            <asp:CheckBox ID="chkDelegatedSA" runat="server" CssClass="chk" Text="Delegated SA" TextAlign="right" /></td
                                                        <td colspan="3" style="width:640px;">                                                             
                                                            <asp:DropDownList ID="ddlDelegatedRelation" runat="server" CssClass="ddl" Width="640"></asp:DropDownList> 
                                                        </td> 
                                                   </tr> 
                                                </table>                                                                                                                         
                                            </td> 
                                        </tr>                                     
                                        <tr height="30">                                     
                                            <td></td
                                            <td> 
                                                <asp:Button ID="btnUpdate1" runat="server" CssClass="btn" Text="Save" ValidationGroup="SaveGroup" CommandName="Update"  />                                         
                                                <asp:Button ID="btnCancel1" runat="server" CssClass="btn" Text="Cancel" ValidationGroup="SaveGroup" CausesValidation="false" commandname="Cancel" />                                         
                                            </td> 
                                        </tr> 
                                    </table>  
                                    <asp:HiddenField ID="hidRelationID" runat="server" Value='<%# DataBinder.Eval(Container, "DataItem.RelationID" ) %>' />  
                                </FormTemplate>                             
                               </EditFormSettings> 
                                 
                            </MasterTableView> 
                        </telerik:RadGrid>        

0
Georgi Krustev
Telerik team
answered on 17 Jun 2009, 11:10 AM
Hi,

Here is a test project which I created in my attempt to reproduce the described abnormality. I have used latest official version of the RadControls for ASP.NET AJAX. Please review it and let me know if I am missing something.

Best regards,
Georgi Krustev
the Telerik team

Instantly find answers to your questions on the newTelerik Support Portal.
Check out the tipsfor optimizing your support resource searches.
0
Josh
Top achievements
Rank 1
answered on 17 Jun 2009, 09:38 PM
Unfortunately, I am out of my office until Friday.  I will try your sample project as soon
as I get back and let you know what happens.  Thank you.

Joshua
0
Georgi Krustev
Telerik team
answered on 18 Jun 2009, 12:04 PM
Hello Josh,

Feel free to contact us again if we can be of a further assistance.

Kind regards,
Georgi Krustev
the Telerik team

Instantly find answers to your questions on the newTelerik Support Portal.
Check out the tipsfor optimizing your support resource searches.
0
Telerikuser
Top achievements
Rank 1
answered on 18 Jun 2009, 04:27 PM
Any luck on this issue. I am having the same issue. I don't even have any grouping in my grid.
0
David Yardy
Top achievements
Rank 1
answered on 18 Jun 2009, 05:18 PM

I was sent a sample to run from Telerik.  I responded with the following.  I am awaiting response.
If you modify your aspx so that clientsettings looks like the following you will see the issue.  I have attached a screen shot of your sample with the same problem.

It appears if AllowScroll=true the problem exists. If you set AllowScroll=False then things work ok

            <ClientSettings AllowDragToGroup="true" > 
                <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="False"   ScrollHeight="350" ></Scrolling>       
            </ClientSettings> 
0
Telerikuser
Top achievements
Rank 1
answered on 18 Jun 2009, 05:24 PM
Hello David,

I tried with the piece of code you sent. I don't see any change in the behaviour with scroll true/false.

Thanks
0
Georgi Krustev
Telerik team
answered on 23 Jun 2009, 03:40 PM
Hi,

I will ask you review the attached test project to my previous post and determine whether those discrepancies appear. Thus I will try once more to replicate the described behavior locally.

Regards,
Georgi Krustev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
David Yardy
Top achievements
Rank 1
answered on 24 Jun 2009, 03:30 PM
Josh,
I got the following response.
" I was indeed able to reproduce the behavior.  I have consulted with our developers about it and it seems it cannot be fixed within the control as it is caused by browser behavior."

This was in response to my problem of using popup edit form while using the grouping features of the grid.  So, in other words it is not possible to use grouping features of the grid plus popup edit forms.

hope this helps - dave


If you are using popup edit form with group (with the following settings) you will have the same problem as I had.

            <ClientSettings AllowDragToGroup="true" > 
                <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="False"   ScrollHeight="350" ></Scrolling>       
            </ClientSettings> 
0
David Yardy
Top achievements
Rank 1
answered on 25 Jun 2009, 02:45 PM
Just fyi and correction

"You should also note that the grouping and popup edit form by themselves are not the problem, but it is the scrolling that makes the scenario fail."
0
cds_user
Top achievements
Rank 1
answered on 21 Sep 2009, 05:18 PM
Has this been fixed yet because I have the same problem.
0
Sebastian
Telerik team
answered on 22 Sep 2009, 12:52 PM
Hello mgturner,

Unfortunately we were still not able to find a fix due for the IE browser specific behavior in this particular grid configuration. I hope that disabling the modality of the popup edit form or the scrolling/static headers feature of the grid is applicable workaround for your situation.

Kind regards,
Sebastian
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
wildyaker
Top achievements
Rank 2
answered on 01 Oct 2009, 05:46 PM

Not fixed yet.  I need this fixed as well.  IE version 7.0.5730.11CO and version 2009.2.826.35 of Telerik.  Basic grid using the WebBlue skin.  Nothing else added.  No groups.  This problem is triggered by just adding the clientsettings of allowscrolling.  The edit form settings are below:

                <EditFormSettings CaptionDataField="FunctionGroupName" EditFormType="AutoGenerated" 
                    CaptionFormatString="&lt;strong&gt;Edit Group Plan: {0}&lt;/strong&gt;"   
                    ColumnNumber="2" PopUpSettings-Modal="true">  
                    <FormTableButtonRowStyle HorizontalAlign="Center" /> 
                    <EditColumn UniqueName="EditCommandColumn1"></EditColumn> 
                    <FormStyle BackColor="#eef2ea" Width="100%" /> 
                    <PopUpSettings Width="600px" /> 
                    <FormMainTableStyle CellPadding="3" CellSpacing="0" GridLines="None"   
                        HorizontalAlign="Center" Width="50%" /> 
                </EditFormSettings> 
0
Dimo
Telerik team
answered on 02 Oct 2009, 08:58 AM
Hi wildyaker,

If I have to speak as generally as possible, the issue with the RadGrid popup edit form is caused by the fact that the popup edit form itself is a child node of the RadGrid control. In this case the popup edit form is inside the RadGrid stacking CSS context and in certain conditions (scrollable containers, positioning styles), the popup remains below the modal background.

The problem can be resolved if the popup edit form is instead moved as a child to the <body> element, but this requires lots of changes in the control and I am afraid we do not plan to introduce them in the near future. Sorry about the inconvenience. I suggest you to use a non-modal popup edit form or a RadWindow as an edit form container:

http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=window

Kind regards,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
wildyaker
Top achievements
Rank 2
answered on 02 Oct 2009, 07:41 PM
Dimo,
   Thanks for your response.  It sounds a little like a z-order problem.  Would the fix be to set the z-order on the popup since you are saying it "remains below the modal background"?  Maybe just wrap the editform in a div where the z-order can be set if the modal setting is selected?

Is this possible?  I tried setting the zorder property on the PopUpSettings.   It did not work.

RadGrid1.MasterTableView.EditFormSettings.PopUpSettings.ZIndex = int.MaxValue; 

Just a thought.   You all know best!

0
Dimo
Telerik team
answered on 05 Oct 2009, 08:23 AM
Hello wildyaker,

Setting z-index to the edit form will not help in this case, because the RadGrid control is in a lower stacking context than the modal background.

http://blogs.telerik.com/blogs/posts/09-07-02/z-index_demystified.aspx


Best wishes,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
bradley baker
Top achievements
Rank 1
answered on 16 Nov 2009, 11:13 PM
Im having the same problems using Inline or EditForms for my "EditMode".  The only way I can "edit" a record is when its not grouped.  Ideas?
0
Sebastian
Telerik team
answered on 17 Nov 2009, 09:16 AM
Hello bradley,

Can you please verify that you are using the latest version 2009.3.1103 of RadControls for ASP.NET AJAX in your project? The combination of grouping and editing should work properly with it.

Best regards,
Sebastian
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
bradley baker
Top achievements
Rank 1
answered on 17 Nov 2009, 03:49 PM
Yes Im using the new Q3, I just downloaded the DLL and replaced them to be sure.  Still have the same problem.

Webpage error details  
 
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2)  
Timestamp: Tue, 17 Nov 2009 15:31:32 UTC  
 
 
Message: Sys.WebForms.PageRequestManagerServerErrorException: Specified argument was out of the range of valid values.  
Parameter name: index  
Line: 6  
Char: 62099  
Code: 0  
URI: http://bfd111sweb2t/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_MasterRadScriptManager_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3ad0c4ca6e-6b5d-49b6-922d-5244924fb100%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3ae34dbe33-3e26-4718-a2aa-b7bbca35f015%3a16e4e7cd%3af7645509%3bTelerik.Web.UI%2c+Version%3d2009.3.1103.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3ae34dbe33-3e26-4718-a2aa-b7bbca35f015%3a16e4e7cd%3aed16cbdc%3af7645509%3a24ee1bba%3ae330518b%3a1e771326%3ac8618e41%3a11a04f7e%3a854aa0a7%3a874f8ea2%3a5a6d9d23%3a59462f1%3aa51ee93e%3a58366029%3ae4f8f289  
 
 

<%@ Page Title="" Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="pe.aspx.vb" Inherits="bradford_pws_pe" %> 
 
<asp:Content ID="Content1" ContentPlaceHolderID="Header" Runat="Server">  
</asp:Content> 
<asp:Content ID="Content2" ContentPlaceHolderID="PrimaryContent" Runat="Server">  
<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">  
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="PQSGrid">  
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="PQSGrid" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
    </telerik:RadAjaxManagerProxy> 
    <asp:SqlDataSource ID="PWSSQL" runat="server"   
        ConnectionString="<%$ ConnectionStrings:pwsConnectionString %>"   
        SelectCommand="SELECT * FROM [pws_view] WHERE [pws_whereat] = 'PE'"   
        UpdateCommand="UPDATE [pws] SET [pws_refpn] = @pws_refpn, [pws_refdraw] = @pws_refdraw, [pws_prodengnotes] = @pws_prodengnotes, [pws_prodengts] = @pws_prodengts, [pws_prodengasgto] = @pws_prodengasgto, [pws_whereat] = @pws_whereat WHERE [pws_id] = @pws_id">  
        <UpdateParameters> 
            <asp:Parameter Name="pws_refpn" Type="String" /> 
            <asp:Parameter Name="pws_refdraw" Type="String" /> 
            <asp:Parameter Name="pws_prodengnotes" Type="String" /> 
            <asp:Parameter Name="pws_prodengts" Type="DateTime" /> 
            <asp:Parameter Name="pws_prodengasgto" Type="String" /> 
            <asp:Parameter Name="pws_whereat" Type="String" /> 
            <asp:Parameter Name="pws_id" Type="Int32" /> 
        </UpdateParameters> 
    </asp:SqlDataSource> 
    <div style="overflow-x: scroll">  
    <telerik:RadGrid ID="PQSGrid" runat="server" AllowFilteringByColumn="True"   
        AllowPaging="True" AllowSorting="True" DataSourceID="PWSSQL" GridLines="None"   
        ShowGroupPanel="True" EnableHeaderContextMenu="True" AllowAutomaticUpdates="True">  
<MasterTableView AutoGenerateColumns="False" DataKeyNames="pws_id" GroupsDefaultExpanded="false" 
            DataSourceID="PWSSQL" CommandItemDisplay="Top" EditMode="EditForms" PageSize="50"   
            AllowMultiColumnSorting="True" > 
<RowIndicatorColumn> 
<HeaderStyle Width="20px"></HeaderStyle> 
</RowIndicatorColumn> 
 
<ExpandCollapseColumn> 
<HeaderStyle Width="20px"></HeaderStyle> 
</ExpandCollapseColumn> 
    <ItemTemplate> 
        <telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1" SelectedIndex="0">  
            <Tabs> 
                <telerik:RadTab runat="server" Text="Requirements">  
                </telerik:RadTab> 
                <telerik:RadTab runat="server" Text="Details">  
                </telerik:RadTab> 
            </Tabs> 
        </telerik:RadTabStrip> 
        <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0">  
            <telerik:RadPageView ID="RadPageView1" runat="server">  
                <table style="width: 100%;">  
                    <tr> 
                        <td width="150px">  
                            &nbsp;  
                            <asp:Label ID="Label7" runat="server" Text="ID"></asp:Label> 
                        </td> 
                        <td> 
                            &nbsp;<asp:Label ID="Label17" runat="server" Text='<%# Eval("pws_id") %>'></asp:Label> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;  
                            <asp:Label ID="Label8" runat="server" Text="PWS Refrence"></asp:Label> 
                        </td> 
                        <td> 
                            &nbsp;<asp:Label ID="Label18" runat="server" Text='<%# Eval("pws_ref") %>'></asp:Label> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;  
                            <asp:Label ID="Label9" runat="server" Text="Project"></asp:Label> 
                        </td> 
                        <td> 
                            &nbsp;<asp:Label ID="Label19" runat="server" Text='<%# Iif (Eval("pws_proj") = 1, "Project", "Not A Project") %>'></asp:Label> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;  
                            <asp:Label ID="Label10" runat="server" Text="Entered"></asp:Label> 
                        </td> 
                        <td> 
                            &nbsp;<asp:Label ID="Label20" runat="server" Text='<%# Eval("pws_entered") %>'></asp:Label></td>  
                    </tr> 
                    <tr> 
                        <td width="150px">&nbsp;  
                            <asp:Label ID="Label11" runat="server" Text="Need By"></asp:Label> 
                        </td> 
                        <td> 
                            &nbsp;<asp:Label ID="Label21" runat="server"   
                                Text='<%# Eval("pws_needed", "{0:d}") %>'></asp:Label></td>  
                    </tr> 
                    <tr> 
                        <td width="150px">&nbsp;  
                            <asp:Label ID="Label12" runat="server" Text="Requestor"></asp:Label> 
                        </td> 
                        <td> 
                            &nbsp;<asp:Label ID="Label22" runat="server"   
                                Text='<%# Eval("pws_requestor") %>'></asp:Label></td>  
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label13" runat="server" Text="Cust Name"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label23" runat="server" Text='<%# Eval("CNME") %>'></asp:Label> :: <asp:Label ID="Label47" runat="server" Text='<%# Eval("CCUST") %>'></asp:Label></td>  
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label14" runat="server" Text="Style"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label24" runat="server"   
                                Text='<%# Eval("pwsstyle_style") %>'></asp:Label></td>  
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label15" runat="server" Text="Size"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label25" runat="server" Text='<%# Eval("pws_size") %>'></asp:Label></td>  
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label16" runat="server" Text="2nd Size"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label26" runat="server" Text='<%# Eval("pws_2ndsize") %>'></asp:Label></td>  
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label37" runat="server" Text="Qty"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label27" runat="server" Text='<%# Eval("pws_qty") %>'></asp:Label> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label38" runat="server" Text="Flange"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label28" runat="server" Text='<%# Eval("pwsflg_name") %>'></asp:Label> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label39" runat="server" Text="Pipe Material"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label29" runat="server" Text='<%# Eval("pwspmat_name") %>'></asp:Label> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label40" runat="server" Text="PSI"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label30" runat="server" Text='<%# Eval("pws_psi") %>'></asp:Label> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label41" runat="server" Text="Coating"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label31" runat="server" Text='<%# Eval("pwscoat_name") %>'></asp:Label> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label42" runat="server" Text="Gasket"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label32" runat="server" Text='<%# Eval("pwsgasket_name") %>'></asp:Label> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label44" runat="server" Text="Fastner"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label34" runat="server" Text='<%# Eval("pwsfast_name") %>'></asp:Label> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label45" runat="server" Text="Requirements"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label35" runat="server" Text='<%# Eval("pws_requirements") %>'></asp:Label> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label46" runat="server" Text="CSR Notes"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label36" runat="server" Text='<%# Eval("pws_requestornotes") %>'></asp:Label> 
                        </td> 
                    </tr> 
                </table> 
            </telerik:RadPageView> 
            <telerik:RadPageView ID="RadPageView2" runat="server">  
                <table style="width: 100%;">  
                    <tr> 
                        <td width="150px">  
                            &nbsp;  
                            <asp:Label ID="Label33" runat="server" Text="Ref PN"></asp:Label> 
                        </td> 
                        <td> 
                            &nbsp;<asp:Label ID="Label43" runat="server" Text='<%# Eval("pws_refpn") %>'></asp:Label> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;  
                            <asp:Label ID="Label48" runat="server" Text="Ref Dwg"></asp:Label> 
                        </td> 
                        <td> 
                            &nbsp;<asp:Label ID="Label49" runat="server" Text='<%# Eval("pws_refdraw") %>'></asp:Label> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;  
                            <asp:Label ID="Label50" runat="server" Text="PE Notes"></asp:Label> 
                        </td> 
                        <td> 
                            &nbsp;<asp:Label ID="Label51" runat="server"   
                                Text='<%# Eval("pws_prodengnotes") %>'></asp:Label> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td width="150px">&nbsp;  
                            <asp:Label ID="Label54" runat="server" Text="PE AsgTo"></asp:Label> 
                        </td> 
                        <td> 
                            &nbsp;<asp:Label ID="Label55" runat="server"   
                                Text='<%# Eval("pws_prodengasgto") %>'></asp:Label></td>  
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;  
                            <asp:Label ID="Label52" runat="server" Text="PE TS"></asp:Label> 
                        </td> 
                        <td> 
                            &nbsp;<asp:Label ID="Label53" runat="server"   
                                Text='<%# Eval("pws_prodengts") %>'></asp:Label></td>  
                    </tr>                      
                    <tr> 
                        <td width="150px">&nbsp;  
                            <asp:Label ID="Label56" runat="server" Text="Material"></asp:Label> 
                        </td> 
                        <td> 
                            &nbsp;<asp:Label ID="Label57" runat="server"   
                                Text='<%# Eval("pws_mfgmatcost") %>'></asp:Label></td>  
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label58" runat="server" Text="Labor"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label59" runat="server"   
                                Text='<%# Eval("pws_mfglaborcost") %>'></asp:Label></td>  
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label61" runat="server" Text="Over Head"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label62" runat="server"   
                                Text='<%# Eval("pws_mfgoverhead") %>'></asp:Label></td>  
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label63" runat="server" Text="MFG Notes"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label64" runat="server"   
                                Text='<%# Eval("pws_mfgmfgnotes") %>'></asp:Label></td>  
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label65" runat="server" Text="Item 1"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label66" runat="server"   
                                Text='<%# Eval("pws_mfgreqprice1") %>'></asp:Label></td>  
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label67" runat="server" Text="Item 1 Price"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label68" runat="server"   
                                Text='<%# Eval("pws_purprice1") %>'></asp:Label> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label69" runat="server" Text="Item 1 Notes"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label70" runat="server"   
                                Text='<%# Eval("pws_purnotes1") %>'></asp:Label> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label71" runat="server" Text="Item 2"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label72" runat="server"   
                                Text='<%# Eval("pws_mfgreqprice2") %>'></asp:Label> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label73" runat="server" Text="Item 2 Price"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label74" runat="server"   
                                Text='<%# Eval("pws_purprice2") %>'></asp:Label> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label75" runat="server" Text="Item 2 Notes"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label76" runat="server"   
                                Text='<%# Eval("pws_purnotes2") %>'></asp:Label> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label77" runat="server" Text="Item 3"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label78" runat="server"   
                                Text='<%# Eval("pws_mfgreqprice3") %>'></asp:Label> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label79" runat="server" Text="Item 3 Price"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label80" runat="server"   
                                Text='<%# Eval("pws_purprice3") %>'></asp:Label> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label81" runat="server" Text="Item 3 Notes"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label82" runat="server"   
                                Text='<%# Eval("pws_purnotes3") %>'></asp:Label> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label83" runat="server" Text="Item 4"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label84" runat="server"   
                                Text='<%# Eval("pws_mfgreqprice4") %>'></asp:Label> 
                        </td> 
                    </tr> 
                                        <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label85" runat="server" Text="Item 4 Price"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label86" runat="server"   
                                Text='<%# Eval("pws_purprice4") %>'></asp:Label> 
                        </td> 
                    </tr> 
                                        <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label87" runat="server" Text="Item 4 Notes"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label88" runat="server"   
                                Text='<%# Eval("pws_purnotes4") %>'></asp:Label> 
                        </td> 
                    </tr> 
                                        <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label89" runat="server" Text="MFG AsgTo"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label90" runat="server"   
                                Text='<%# Eval("pws_mfgasgto") %>'></asp:Label> 
                        </td> 
                    </tr> 
                                        <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label91" runat="server" Text="MFG TS"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label92" runat="server"   
                                Text='<%# Eval("pws_mfgts") %>'></asp:Label> 
                        </td> 
                    </tr> 
                                        <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label93" runat="server" Text="PUR AsgTo"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label94" runat="server"   
                                Text='<%# Eval("pws_purasgto") %>'></asp:Label> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label99" runat="server" Text="PUR TS"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label95" runat="server" Text='<%# Eval("pws_purts") %>'></asp:Label> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label100" runat="server" Text="QC Notes"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label96" runat="server" Text='<%# Eval("pws_qcnotes") %>'></asp:Label> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label101" runat="server" Text="QC AsgTo"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label97" runat="server" Text='<%# Eval("pws_qcasgto") %>'></asp:Label> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label102" runat="server" Text="QC TS"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label98" runat="server" Text='<%# Eval("pws_qcts") %>'></asp:Label> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label60" runat="server" Text="Completed"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label103" runat="server"   
                                Text='<%# Iif (Eval("pws_mfgfinal") = 1, "Completed", "Not Completed") %>'></asp:Label> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td width="150px">  
                            &nbsp;<asp:Label ID="Label104" runat="server" Text="Final TS"></asp:Label></td>  
                        <td> 
                            &nbsp;<asp:Label ID="Label105" runat="server"   
                                Text='<%# Eval("pws_mfgfinalts") %>'></asp:Label> 
                        </td> 
                    </tr>                                          
                </table> 
            </telerik:RadPageView>      
        </telerik:RadMultiPage> 
    </ItemTemplate> 
      
    <GroupByExpressions> 
                     <telerik:GridGroupByExpression> 
                       <GroupByFields> 
                            <telerik:GridGroupByField FieldName="pws_id" /> 
                       </GroupByFields> 
                       <SelectFields> 
                            <telerik:GridGroupByField FieldName="pws_id" HeaderText="ID" /> 
                            <telerik:GridGroupByField FieldName="pwsstyle_style" HeaderText="Style" /> 
                       </SelectFields> 
                    </telerik:GridGroupByExpression>   
    </GroupByExpressions>      
    <Columns> 
        <telerik:GridEditCommandColumn UniqueName="EditColumn" ButtonType="ImageButton" HeaderStyle-Width="27px">    
<HeaderStyle Width="27px"></HeaderStyle> 
        </telerik:GridEditCommandColumn>    
        <telerik:GridBoundColumn DataField="pws_id" DataType="System.Int32"   
            HeaderText="ID" SortExpression="pws_id"   
            UniqueName="pws_id">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_ref" DataType="System.Int32"   
            HeaderText="Refrence PWS" SortExpression="pws_ref" UniqueName="pws_ref" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_proj" DataType="System.Int32"   
            HeaderText="Project" SortExpression="pws_proj" UniqueName="pws_proj" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_entered" DataType="System.DateTime"   
            HeaderText="Entered" SortExpression="pws_entered"  Display="false" 
            UniqueName="pws_entered">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_needed" DataType="System.DateTime"   
            HeaderText="Need By" SortExpression="pws_needed" Display="false" 
            UniqueName="pws_needed">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_requestor" SortExpression="pws_requestor"   
            HeaderText="Requestor" UniqueName="pws_requestor" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="CCUST" SortExpression="CCUST"   
            HeaderText="Cust No" UniqueName="CCUST" DataType="System.Decimal" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="CNME"   
            HeaderText="Cust Name" SortExpression="CNME" UniqueName="CNME">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pwsstyle_style"   
            HeaderText="Style" SortExpression="pwsstyle_style"   
            UniqueName="pwsstyle_style">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_size" DataType="System.Decimal"   
            HeaderText="Size" SortExpression="pws_size" UniqueName="pws_size">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_2ndsize" DataType="System.Decimal"   
            HeaderText="2nd Size" SortExpression="pws_2ndsize" Display="false" 
            UniqueName="pws_2ndsize">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_qty" DataType="System.Int32"   
            HeaderText="Qty" SortExpression="pws_qty" UniqueName="pws_qty" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pwsflg_name"   
            HeaderText="Flange" SortExpression="pwsflg_name"   
            UniqueName="pwsflg_name">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pwspmat_name"   
            HeaderText="Pipe Material" SortExpression="pwspmat_name"   
            UniqueName="pwspmat_name">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_psi" DataType="System.Int32" Display="false" 
            HeaderText="PSI" SortExpression="pws_psi" UniqueName="pws_psi">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pwscoat_name"   
            HeaderText="Coating" SortExpression="pwscoat_name"   
            UniqueName="pwscoat_name">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pwsgasket_name"   
            HeaderText="Gasket" SortExpression="pwsgasket_name"   
            UniqueName="pwsgasket_name">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pwsfast_name"   
            HeaderText="Fastner" SortExpression="pwsfast_name"   
            UniqueName="pwsfast_name">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_requirements" Display="false" 
            HeaderText="Requirements" SortExpression="pws_requirements"   
            UniqueName="pws_requirements">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_requestornotes" HeaderText="CSR Notes" 
            SortExpression="pws_requestornotes" UniqueName="pws_requestornotes" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_refpn" HeaderText="Refrence PN" 
            SortExpression="pws_refpn" UniqueName="pws_refpn" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_refdraw" 
            HeaderText="Refrence Dwg" SortExpression="pws_refdraw"   
            UniqueName="pws_refdraw" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_prodengnotes" 
            HeaderText="PE Notes" SortExpression="pws_prodengnotes"   
            UniqueName="pws_prodengnotes" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_prodengts" 
            HeaderText="PE TS" SortExpression="pws_prodengts"   
            UniqueName="pws_prodengts" DataType="System.DateTime" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_prodengasgto" HeaderText="PE AsgTo" 
            SortExpression="pws_prodengasgto" UniqueName="pws_prodengasgto" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_mfgmatcost" 
            HeaderText="Material Cost" SortExpression="pws_mfgmatcost"   
            UniqueName="pws_mfgmatcost" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_mfglaborcost" 
            HeaderText="Labor Cost" SortExpression="pws_mfglaborcost"   
            UniqueName="pws_mfglaborcost" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_mfgoverhead" 
            HeaderText="Overhead Cost" SortExpression="pws_mfgoverhead"   
            UniqueName="pws_mfgoverhead" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_mfgmfgnotes" 
            HeaderText="MFG Notes" SortExpression="pws_mfgmfgnotes"   
            UniqueName="pws_mfgmfgnotes" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_mfgreqprice1" 
            HeaderText="Item 1" SortExpression="pws_mfgreqprice1"   
            UniqueName="pws_mfgreqprice1" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_mfgreqprice2" 
            HeaderText="Item 2" SortExpression="pws_mfgreqprice2"   
            UniqueName="pws_mfgreqprice2" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_mfgreqprice3" 
            HeaderText="Item 3" SortExpression="pws_mfgreqprice3"   
            UniqueName="pws_mfgreqprice3" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_mfgreqprice4" HeaderText="Item 4" 
            SortExpression="pws_mfgreqprice4" UniqueName="pws_mfgreqprice4" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_mfgasgto" 
            HeaderText="MFG AsgTo" SortExpression="pws_mfgasgto"   
            UniqueName="pws_mfgasgto" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_mfgts" DataType="System.DateTime" 
            HeaderText="MFG TS" SortExpression="pws_mfgts"   
            UniqueName="pws_mfgts" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_mfgfinal" DataType="System.Int32" 
            HeaderText="Completed" SortExpression="pws_mfgfinal"   
            UniqueName="pws_mfgfinal" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_mfgfinalts" HeaderText="MFG Final TS" 
            SortExpression="pws_mfgfinalts" UniqueName="pws_mfgfinalts"   
            DataType="System.DateTime" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_purprice1" HeaderText="Item 1 $" 
            SortExpression="pws_purprice1" UniqueName="pws_purprice1" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_purprice2" HeaderText="Item 2 $" 
            SortExpression="pws_purprice2" UniqueName="pws_purprice2" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_purprice3" HeaderText="Item 3 $" 
            SortExpression="pws_purprice3" UniqueName="pws_purprice3" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_purprice4" HeaderText="Item 4 $" 
            SortExpression="pws_purprice4" UniqueName="pws_purprice4" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_purnotes1" HeaderText="Item 1 Notes" 
            SortExpression="pws_purnotes1" UniqueName="pws_purnotes1" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_purnotes2" HeaderText="Item 2 Notes" 
            SortExpression="pws_purnotes2" UniqueName="pws_purnotes2" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_purnotes3" HeaderText="Item 3 Notes" 
            SortExpression="pws_purnotes3" UniqueName="pws_purnotes3" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_purnotes4" HeaderText="Item 4 Notes" 
            SortExpression="pws_purnotes4" UniqueName="pws_purnotes4" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_purasgto" 
            HeaderText="PUR AsgTo" SortExpression="pws_purasgto"   
            UniqueName="pws_purasgto" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_purts" HeaderText="PUR Ts" 
            SortExpression="pws_purts" UniqueName="pws_purts"   
            DataType="System.DateTime" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_qcnotes" HeaderText="QC Notes" 
            SortExpression="pws_qcnotes" UniqueName="pws_qcnotes" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_qcasgto"   
            HeaderText="QC AsgTo" SortExpression="pws_qcasgto"   
            UniqueName="pws_qcasgto" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_qcts" HeaderText="QC TS"   
            SortExpression="pws_qcts" UniqueName="pws_qcts" DataType="System.DateTime" Display="false">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="pws_whereat" HeaderText="Where @"   
            SortExpression="pws_whereat" UniqueName="pws_whereat" Display="false">  
        </telerik:GridBoundColumn> 
    </Columns> 
    <EditFormSettings EditFormType="Template">  
        <FormTemplate> 
            <table style="width:100%;">  
            <tr> 
                    <td> 
                        <asp:Label ID="Label5" runat="server" Text="ID"></asp:Label> 
                    </td> 
                    <td> 
                        <asp:Label ID="Label6" runat="server" Text='<%# Eval("pws_id") %>'></asp:Label> 
                    </td> 
                </tr>              
            <tr> 
                    <td> 
                        <asp:Label ID="Label4" runat="server" Text="Send To"></asp:Label> 
                    </td> 
                    <td> 
                        <asp:RadioButtonList ID="RadioButtonList1" runat="server"   
                            SelectedValue='<%# Bind("pws_whereat") %>'>  
                            <asp:ListItem Value="CSR">CSR</asp:ListItem> 
                            <asp:ListItem Value="PE">PE</asp:ListItem> 
                            <asp:ListItem Value="ME">ME</asp:ListItem> 
                            <asp:ListItem Value="PUR">PUR</asp:ListItem> 
                            <asp:ListItem Value="QC">QC</asp:ListItem> 
                        </asp:RadioButtonList> 
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"   
                            ErrorMessage="Required" ControlToValidate="RadioButtonList1"></asp:RequiredFieldValidator> 
                    </td> 
                </tr> 
                <tr> 
                                <td> 
                                    <asp:Label ID="Label3" runat="server" Text="Refrence Drawing"></asp:Label> 
                                </td> 
                                <td> 
                                    <telerik:RadTextBox ID="RadTextBox1" Runat="server" EmptyMessage="Ref Dwg"   
                                        Text='<%# Bind("pws_refdraw") %>' Width="250px">  
                                    </telerik:RadTextBox> 
                                </td> 
                            </tr>                                
                <tr> 
                    <td> 
                        <asp:Label ID="Label2" runat="server" Text="Refrence Part Number"></asp:Label> 
                    </td> 
                    <td> 
                        <telerik:RadTextBox ID="RadTextBox2" Runat="server" EmptyMessage="Ref PN"   
                            Text='<%# Bind("pws_refpn") %>' Width="250px">  
                        </telerik:RadTextBox> 
                    </td> 
                </tr> 
                <tr> 
                    <td> 
                        <asp:Label ID="Label1" runat="server" Text="PE Notes"></asp:Label> 
                    </td> 
                    <td> 
                        <telerik:RadTextBox ID="RadTextBox3" Runat="server" EmptyMessage="PE Notes"   
                            Rows="5" Text='<%# Bind("pws_prodengnotes") %>' TextMode="MultiLine"   
                            Width="250px">  
                        </telerik:RadTextBox> 
                         <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"   
                            ErrorMessage="Required" ControlToValidate="RadTextBox3"></asp:RequiredFieldValidator> 
                        <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("pws_prodengts") %>'   
                            Visible="False"></asp:TextBox> 
                        <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("pws_prodengasgto") %>'   
                            Visible="False"></asp:TextBox> 
                    </td> 
                </tr> 
                <tr> 
                    <td align="right" colspan="2">  
                        <asp:Button ID="Button1" runat="server"   
                            CommandName='<%# Iif (TypeOf Container is GridEditFormInsertItem, "PerformInsert", "Update") %>'   
                            Text='<%# Iif (TypeOf Container is GridEditFormInsertItem, "Insert", "Update") %>'   
                            onclick="Button1_Click" /> 
                        &nbsp;  
                        <asp:Button ID="Button2" runat="server" CausesValidation="False"   
                            CommandName="Cancel" Text="Cancel" /> 
                    </td> 
                </tr> 
            </table> 
        </FormTemplate> 
    </EditFormSettings> 
</MasterTableView> 
        <ClientSettings AllowColumnsReorder="True" AllowDragToGroup="True">  
        </ClientSettings> 
    </telerik:RadGrid> 
    </div> 
</asp:Content> 
 
 

Imports Telerik.Web.UI  
Partial Class bradford_pws_pe  
    Inherits System.Web.UI.Page  
 
    Protected Sub Button1_Click(ByVal sender As ObjectByVal e As System.EventArgs)  
        Dim editedItem As GridEditableItem = CType(CType(sender, Button).NamingContainer, GridEditableItem)  
        Dim PETS As TextBox = CType(editedItem.FindControl("TextBox1"), TextBox)  
        Dim PEAsgTo As TextBox = CType(editedItem.FindControl("TextBox2"), TextBox)  
        PETS.Text = Now()  
        PEAsgTo.Text = Context.User.Identity.Name.ToString()  
    End Sub 
End Class 
 
0
Sebastian
Telerik team
answered on 17 Nov 2009, 04:54 PM
Hi bradley,

The stack trace of the error indicates that the item index passed during the edit operation is invalid.

To provide further details, is it possible for you to isolate a test page which hosts the grid only along with its source and send it enclosed to a regular support ticket? I will test it locally and will get around to you with my findings.

Kind regards,
Sebastian
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
bradley baker
Top achievements
Rank 1
answered on 17 Nov 2009, 05:14 PM
I sent in a ticket with the files/sql to create the table.  I dont have access to an ext host when we have our own internal servers =)

Ticket ID = 259492
0
Sebastian
Telerik team
answered on 20 Nov 2009, 11:33 AM
Hi bradley,

I am posting the reply I provided in the support ticket you opened with regards to this subject for your reference:

Unfortunately I am not able to restore the database and the table inside it due to the error illustrated in the attached screenshot (available in the ticket only due to data confidentiality reasons).

Nevertheless, I reviewed once again your code and noticed that you specified global ItemTemplate for the grid (which hosts tabstrip and multipage instances) and have not defined global EditItemTemplate for editing (as explained in
this documentation topic). Can you please check whether creating such template and removing the FormTemplate custom edit form addresses the exception you get? Additionally, test whether stripping temporary the default group expressions and triggering editing without grouping applied makes a difference.

Let me know what your findings are. If the problem remains, I will be expecting the stripped table from your database to port it locally and continue with my tests.


Kind regards,
Sebastian
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
answered on 04 Jun 2016, 11:58 AM

There still appear to be issues with the combination of a grouped grid and the Popup edit form (and a scrollable grid). I am using version 2016.1.113.40 of the controls. When my grid is grouped, the popup edit form does not appear to be centered in the grid and is "constrained" in the area between the pager and grid header. In fact, when it first displays, a large section of the popup is cut off at the bottom "behind" the pager.

When not grouped, the popup is only constrained by the bounds of the entire grid and appears centered in the grid as expected.

0
Maria Ilieva
Telerik team
answered on 08 Jun 2016, 03:01 PM
Hi Albert,

Can I kindly ask you to open a separate thread for the exact issue you are facing as the current one is rather old and share your scenario so that we can replicate the problem on our end and advise you further.

Regards,
Maria Ilieva
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
Grid
Asked by
Josh
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Josh
Top achievements
Rank 1
David Yardy
Top achievements
Rank 1
Telerikuser
Top achievements
Rank 1
cds_user
Top achievements
Rank 1
Sebastian
Telerik team
wildyaker
Top achievements
Rank 2
Dimo
Telerik team
bradley baker
Top achievements
Rank 1
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
Maria Ilieva
Telerik team
Share this question
or