Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
110 views

Hi,
In my application i am creating a new grid where i am trying to implement inline inserting and editing for radgrid where data is being binded from serverside code behind , I am trying to adopt the logic implemented in the following article
 http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/alleditablecolumns/defaultcs.aspx
The problem i am facing is in this article its shown for data being from clientside ,please  can i get any other article or sample working project where inline inline inserting and editing for radgrid is being implemented.


Thanks,
Mahesh
Elliott
Top achievements
Rank 2
 answered on 25 Aug 2011
6 answers
497 views
I have a very basic column and trying to set the width is not working:
<telerik:GridTemplateColumn UniqueName="Delete" Display="true" HeaderText="&nbsp;" ItemStyle-Width="20px" HeaderStyle-Width="40px" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center">  
                <ItemTemplate> 
                    <asp:ImageButton  CssClass="test" ImageUrl="~/images/silk/cancel.png" ID="btnDeleteItem" runat="server" CommandArgument='<%# Eval("Id") %>' onclick="btnDeleteItem_Click" /> 
                </ItemTemplate> 
            </telerik:GridTemplateColumn> 
I set the width to be 20px for both, but the ItemTemplate is always doing a width of 40.  Which forced me to make the headerStyle-Width equal to 40.

How do I set the ItemTemplate width to make it take?  The image button included in the template is just 16x16 pixels in size.
Sompop
Top achievements
Rank 1
 answered on 25 Aug 2011
4 answers
158 views
Hi,

We are in the process of migrating SP2007 farm to SP2010 using the database attached method.  Our SP2010 environment will be a brand new farm.  Out SP2007 farm is  running RadEditor v4.5.6.  The SP2010 farm have v5.8.10.0 installed.

Here is the problem.  After attaching/upgrading the SP2007 database to SP2010, I get the following error when trying to navigate to the page:

"Could not load file or assembly 'RadEditorSharePoint, Version=4.5.6.0, Culture=neutral, PublicKeyToken=1f131a624888eeed' or one of its dependencies. The system cannot find the file specified."
 
The database is still looking for the older version of RadEditorSharepoint.  I can not remove RadEditor from the old farm before the migration.   So, how can I remove this from the upgraded database and have it use the 4.5.6.0 version instead?

Please advise.  Thanks
Ultra
Top achievements
Rank 1
 answered on 25 Aug 2011
2 answers
208 views
Hello,
I have the following problem. Once the splitter bar's are resized the mouse cursor does not go back to the default cursor.
I must be missing something.
See attached code.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Main.aspx.cs" Inherits="Main" %>
<%@ Register TagPrefix="rad" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<style type="text/css">
        .StdFont {FONT-SIZE: 11px; FONT-FAMILY: Arial; vertical-align: top;}
        .BoldFont {FONT-WEIGHT: bold; FONT-SIZE: 11px; FONT-FAMILY: Arial; vertical-align: top;}
        .TableBase { width: 100%;}
        .Textfont{FONT-FAMILY:Arial;FONT-SIZE:11px;}
        .ReqFont{FONT-SIZE: 0.9em; FONT-FAMILY: Arial; FONT-WEIGHT:Bold;}
        .VMSAjaxLoadingPanelBackground { height: 100%; background:#fff; } 
        .VMSAjaxLoadingPanel { margin-top: 25px; } 
</style>
<html xmlns="http://www.w3.org/1999/xhtml" style="height:100%">
<head runat="server">
    <title>Main</title>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> 
</head>
<body style="margin:0px;height:100%;overflow:hidden; cursor:default;"  >
    <form id="form1" runat="server">
      
<rad:RadScriptManager runat="server" ID="radSM" AsyncPostBackTimeout="3600"></rad:RadScriptManager>    
    <asp:Panel ID="pnlMain" runat="server">
    <div>   
    <rad:RadSplitter runat="server" id="RadSplitter1"  Orientation="Vertical" width="98%" height="85%" LiveResize="True" >
         <rad:RadPane runat="server" id="LeftPane" width="2%"  Collapsed="false">            
            <rad:RadSlidingZone ID="RadSlidingZone2" runat="server"  ExpandedPaneId="RadSlidingPane1" DockedPaneId="RadSlidingPane1">            
            <rad:RadSlidingPane ID="RadSlidingPane1" runat="server"  EnableDock="true"  MinWidth="355"
                CollapseMode="Both" Title="Filter" TabView="TextOnly" Width="380px" >
            <asp:Panel ID="pnlHolder" runat="server">
                          
            <br />
                <asp:Panel id="pnlSelection" Width="95%" HorizontalAlign="Center" Runat="server" GroupingText="Filter Criteria" CssClass="BoldFont">
                <br />
                    <table cellspacing="0" cellpadding="0" width="100%">
                        <tr>
                            <td valign="top" width="20%" align="left"></td>
                            <td ></td>
                        </tr>
                        <tr>
                            <td valign="top" width="20%" align="left">
                                <asp:Label id="lbl1" Runat="server" CssClass="BoldFont">Department:</asp:Label></td>
                            <td valign="top" align="left">
                                <asp:dropdownlist ID="ddl1" runat="server" CssClass="StdFont">
                                </asp:dropdownlist></td>
                        </tr>                                   
                        <tr>
                            <td valign="top" align="left">
                                <asp:Label id="lbllist2" Runat="server" CssClass="BoldFont" >Branch:</asp:Label></td>
                            <td valign="top" align="left">
                                <asp:Panel ID="List" runat="server"  Width="95%" Height="150px" ScrollBars="Auto">
                                    <asp:CheckBoxList ID="lblListSelection" runat="server"                                         
                                        Width="93%"  BorderWidth="1" BorderStyle="Solid"
                                        CssClass="StdFont" 
                                        Font-Bold="false">                              
                                    </asp:CheckBoxList>
                                </asp:Panel>
                            </td>
                        </tr>              
                        <tr>
                            <td valign="top" align="left">
                                 </td>
                            <td valign="top" align="left">
                                </td>
                        </tr>                  
                   </table>
                </asp:Panel
                <br />
                <asp:Panel ID="pnlFilter" Runat="server" Width="80%" HorizontalAlign="Center"  GroupingText="Additional Filter Criteria" CssClass="BoldFont">
                    <br />
                                    </asp:Panel>
            </asp:Panel
            </rad:RadSlidingPane>
            </rad:RadSlidingZone>
         </rad:RadPane>
         <rad:RadSplitBar runat="server" id="RadSplitBar1" />
         <rad:RadPane runat="server" id="RightPane"  Width="100%">
           <rad:RadSplitter runat="server" id="InnerSplitter" Orientation="Horizontal" LiveResize="true" >
             <rad:RadPane runat="server" id="TopPane" Height="30%" Width="98%">
             <asp:Panel id="pnlGrid" Width="98%" HorizontalAlign="Center" Runat="server" borderwidth="0px" Height="98%">            
                <rad:RadGrid id="RadGrid1"                                                                                                                                 
                        ShowStatusBar="false" 
                        runat="server" 
                        AllowPaging="True" 
                        AllowSorting="True"
                        AllowMultiRowSelection="False" 
                        AutoGenerateColumns="false"                                                                                                                                                 
                        EnableViewState="true" 
                        OnNeedDataSource="RadGrid1_NeedDataSource" 
                        OnItemCommand="RadGrid1_ItemCommand"                                                                                             
                        Width="100%"   Height="100%"  Skin="Windows7" AllowFilteringByColumn="true"  EnableLinqExpressions="false">
                        <MasterTableView  Width="98%" TableLayout="Fixed"  EnableViewState="true"  CommandItemDisplay="None"  >
                            <Columns>    
                                <rad:GridTemplateColumn UniqueName="CheckBoxTemplateColumn" 
                                    HeaderStyle-Width="3%" 
                                    AllowFiltering="false"
                                    Resizable="false">                                    
                                    <ItemTemplate>
                                        <asp:CheckBox id="CheckBox1" OnCheckedChanged="ToggleRowSelection" AutoPostBack="True" runat="server"></asp:CheckBox>
                                    </ItemTemplate>
                                </rad:GridTemplateColumn>                                                                                                       
                            </Columns>                           
                        </MasterTableView>
                        <ClientSettings EnableRowHoverStyle="true" 
                                        Resizing-AllowColumnResize="true"
                                        Resizing-AllowRowResize="false"  
                                        Resizing-EnableRealTimeResize ="false"                                                     
                                        Resizing-ClipCellContentOnResize ="false"                                         
                                        AllowColumnsReorder="true"
                                        EnablePostBackOnRowClick="true" >                                                    
                            <Scrolling AllowScroll ="true" UseStaticHeaders="true"  />                                                                 
                        </ClientSettings>
                        <PagerStyle   Mode="NextPrevAndNumeric" Height="10px"  VerticalAlign="Bottom" Position="Bottom"></PagerStyle>
                    </rad:RadGrid>        
                </asp:Panel>        
             </rad:RadPane>
             <rad:RadSplitBar runat="server" id="RadSplitBar2" EnableResize="true" />
             <rad:RadPane runat="server" id="BottomPane" Width="98%" >
                <iframe id="frm1" runat="server" width="100%" height="100%" frameborder="0"></iframe>
             </rad:RadPane>
           </rad:RadSplitter>
         </rad:RadPane>         
        </rad:RadSplitter>         
     </div>
    </asp:Panel>           
    </form>    
</body>
</html>

Pete
Top achievements
Rank 1
 answered on 25 Aug 2011
2 answers
360 views
Hi Telerik,

I'm running my website normal before, but now I am getting the following error

Exception of type 'System.OutOfMemoryException' was thrown.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]
   System.Reflection.RuntimeAssembly.GetRawBytes(RuntimeAssembly assembly, ObjectHandleOnStack retRawBytes) +0
   System.Reflection.RuntimeAssembly.GetRawBytes() +38
   System.Security.Policy.Hash.GetRawData() +68
   System.Security.Policy.Hash.GenerateHash(Type hashType) +75
   System.Security.Policy.Hash.get_SHA1() +101
   System.Web.Handlers.ScriptResourceHandler.GetAssemblyInfoInternal(Assembly assembly) +68
   System.Web.Handlers.ScriptResourceHandler.GetAssemblyInfo(Assembly assembly) +77
   System.Web.Handlers.RuntimeScriptResourceHandler.GetScriptResourceUrlImpl(List`1 assemblyResourceLists, Boolean zip) +393
   System.Web.Handlers.RuntimeScriptResourceHandler.System.Web.Handlers.IScriptResourceHandler.GetScriptResourceUrl(List`1 assemblyResourceLists, Boolean zip) +677
   System.Web.Handlers.RuntimeScriptResourceHandler.System.Web.Handlers.IScriptResourceHandler.GetScriptResourceUrl(Assembly assembly, String resourceName, CultureInfo culture, Boolean zip) +143
   System.Web.UI.ScriptReference.GetUrlFromName(ScriptManager scriptManager, IControl scriptManagerControl, Boolean zip) +296
   System.Web.UI.ScriptReference.GetUrlInternal(ScriptManager scriptManager, Boolean zip) +613
   System.Web.UI.ScriptReference.GetUrl(ScriptManager scriptManager, Boolean zip) +213
   System.Web.UI.ScriptManager.RegisterUniqueScripts(List`1 uniqueScripts) +203
   System.Web.UI.ScriptManager.RegisterScripts() +443
   System.Web.UI.ScriptManager.OnPagePreRenderComplete(Object sender, EventArgs e) +122
   System.Web.UI.Page.OnPreRenderComplete(EventArgs e) +8938218
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2716


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1


This error page is used RadControls administration page, I tried to run other projects use RadControls on this server, they're still work fine, but this project is to experience such a problem.

Is there any way to resolve this, its very urgent.
Jayesh Goyani
Top achievements
Rank 2
 answered on 25 Aug 2011
9 answers
91 views
As the ASP.net grid forum is not allowed to open a new thread or reply old threads, I post it here.

Old post: http://www.telerik.com/community/forums/aspnet/grid/allow-vertical-scroll-but-not-horizontal-scroll-in-ie8.aspx

Dear Pavlina / other Telerik support,

I have upload my code on http://www.mediafire.com/?d1hmoaooe1tf8j1 , the file upzip password is 123456. Please have a look on whether the problem can be solved or enhanced, thank you.

Kev
Pavlina
Telerik team
 answered on 25 Aug 2011
11 answers
217 views
I just downloaded a trial on ASP.net ajax control. When I develop Webpart for Sharepoint using Telerik controls ajax, can I deploy it to Sharepoint 2007. Any documentation on how to go about?  Thank you
Stanimir
Telerik team
 answered on 25 Aug 2011
2 answers
146 views
Hello Experts,

i'm having a problem while combining a RadPanelBar and 2 RadGrids...The problem is that i can't align all columns to the left or right....
I'm using the autogenerate columns property, data are being bind from 2 mapped stored procedures.

My ASPX code is:
<telerik:RadPanelBar runat="server" ID="RadPanelBar1" Width="100%" Skin="Black">
    <Items>
        <telerik:RadPanelItem>
            <ItemTemplate>
            </ItemTemplate>
        </telerik:RadPanelItem>
        <telerik:RadPanelItem Text="Unassigned" Expanded="false">
            <ContentTemplate>
                <div id="unassigned">
                    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
                        <AjaxSettings>
                            <telerik:AjaxSetting AjaxControlID="RadGrid4">
                                <UpdatedControls>
                                    <telerik:AjaxUpdatedControl ControlID="RadGrid4" LoadingPanelID="RadAjaxLoadingPanel1" />
                                </UpdatedControls>
                            </telerik:AjaxSetting>
                            <telerik:AjaxSetting AjaxControlID="RadGrid2">
                                <UpdatedControls>
                                    <telerik:AjaxUpdatedControl ControlID="RadGrid2" LoadingPanelID="RadAjaxLoadingPanel1" />
                                </UpdatedControls>
                            </telerik:AjaxSetting>
                        </AjaxSettings>
                    </telerik:RadAjaxManager>
                    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Black" />
                    <br />
                    <table>
                        <tr>
                            <td style="width: 271px">
                            </td>
                            <td>
                                <telerik:RadGrid ID="RadGrid3" runat="server" Skin="Black" CellSpacing="0" GridLines="None"
                                    Width="250px" Height="300px" AutoGenerateColumns="False" HorizontalAlign="Left" >
                                    <ClientSettings>
                                        <Scrolling AllowScroll="True" UseStaticHeaders="False" />
                                    </ClientSettings>
                                    <MasterTableView HorizontalAlign="Left">
                                        <Columns>
                                            <telerik:GridBoundColumn DataField="Unassigned" HeaderText="Unassigned Users" UniqueName="Unassigned"
                                                SortExpression="Unassigned" HeaderStyle-HorizontalAlign="Center">
                                            </telerik:GridBoundColumn>
                                        </Columns>
                                    </MasterTableView>
                                    <FilterMenu EnableImageSprites="False">
                                    </FilterMenu>
                                </telerik:RadGrid>
                            </td>
                            <td style="width: 60px">
                            </td>
                            <td>
                                <telerik:RadGrid ID="RadGrid4" runat="server" Skin="Black" CellSpacing="0" HorizontalAlign="Left" GridLines="None"
                                    Width="350px" Height="300px" AllowSorting="True">
                                    <ClientSettings>
                                        <Scrolling AllowScroll="True" UseStaticHeaders="False" />
                                    </ClientSettings>
                                    <MasterTableView HorizontalAlign="Left">
                                    </MasterTableView>
                                    <FilterMenu EnableImageSprites="False">
                                    </FilterMenu>
                                    <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Windows7">
                                    </HeaderContextMenu>
                                </telerik:RadGrid>
                            </td>
                        </tr>
                    </table>
                    <br />
                </div>
            </ContentTemplate>
        </telerik:RadPanelItem>
    </Items>
</telerik:RadPanelBar>

On my code behind i have:
EscalonamentoFacturasEntities objectContx = new EscalonamentoFacturasEntities();
             
 RadGrid4.DataSource = objectContx.UnassignedInvoicesResume();
            //RadGrid4.HorizontalAlign;
            RadGrid4.DataBind();
  
  
RadGrid3.DataSource = this.Unassigned;
                RadGrid3.DataBind();
Pavlina
Telerik team
 answered on 25 Aug 2011
3 answers
92 views
I have a grid with a master - detail relationship;
     Master is company information    
     Detail is facility Information

I can edit the Company informaiton in a popup form and I can edit Plant information in a popup form, except when there are multiple detail records.

When there are multiple detail records the edit command may or may not fire. It is sporadic and I cannont find the reason why.
I have included 2 images; The first iamge both edit buttons work flawless, the second image the 'edit comapnay' button works fine but neither 'edit plant' buttons fire the itemcommand event.

Here is my code: (no Code behind used)
 
<form id="form1" runat="server">
 <telerik:RadScriptManager ID="RadScriptManager1" runat="server" CdnSettings-TelerikCdn="Enabled">
   <Scripts>
     <%--Needed for JavaScript IntelliSense in VS2010--%>
     <%--For VS2008 replace RadScriptManager with ScriptManager--%>
     <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
     <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
     <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
   </Scripts>
 </telerik:RadScriptManager>
 <script type="text/javascript">
   var popUp;
   function PopUpShowing(sender, eventArgs) {
     popUp = eventArgs.get_popUp();
     var gridWidth = sender.get_element().offsetWidth;
     var gridHeight = sender.get_element().offsetHeight;
     var popUpWidth = popUp.style.width.substr(0, popUp.style.width.indexOf("px"));
     var popUpHeight = popUp.style.height.substr(0, popUp.style.height.indexOf("px"));
     popUp.style.left = ((gridWidth - popUpWidth) / 2 + sender.get_element().offsetLeft).toString() + "px";
   }
 
 </script>
  
 <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
   <AjaxSettings>
     <telerik:AjaxSetting AjaxControlID="Panel1">
       <UpdatedControls>
         <telerik:AjaxUpdatedControl ControlID="Panel1" />
       </UpdatedControls>
     </telerik:AjaxSetting>
   </AjaxSettings>
 </telerik:RadAjaxManager>
 <div>
   <br />
   Not dolled up yet to fit into the site but here is the preliminary edit form for
   companies to update thier information.<br />
   <a href="Default.aspx">Select another company</a>
   <br />
   <span class="style1"><strong>CAUTION: This data is LIVE!! </strong></span>
   <asp:Panel ID="Panel1" runat="server">
     <p id="divMsgs" runat="server">
       <asp:Label ID="Label1" runat="server" EnableViewState="False" Font-Bold="True" ForeColor="#FF8080"></asp:Label>
       <asp:Label ID="Label2" runat="server" EnableViewState="False" Font-Bold="True" ForeColor="#00C000"></asp:Label>
     </p>
     <telerik:RadGrid ID="RadGrid1" runat="server" AllowAutomaticUpdates="True" AutoGenerateColumns="False"
       CellSpacing="0" DataSourceID="SqlDataSource1" GridLines="None" Skin="Vista" Culture="en-ZW"
       EnableEmbeddedBaseStylesheet="False" EnableTheming="False" BorderStyle="None">
       <MasterTableView DataKeyNames="CompanyID" DataSourceID="SqlDataSource1" CommandItemDisplay="None"
         AllowAutomaticUpdates="true" ShowHeader="False" HierarchyDefaultExpanded="true"
         EditMode="PopUp">
         <DetailTables>
           <telerik:GridTableView runat="server" DataKeyNames="FacilityID" DataSourceID="SqlDataSource2"
             ShowHeader="False" AllowAutomaticUpdates="true" EditMode="PopUp">
             <ParentTableRelation>
               <telerik:GridRelationFields DetailKeyField="CompanyID" MasterKeyField="CompanyID" />
             </ParentTableRelation>
             <Columns>
               <telerik:GridBoundColumn DataField="FacilityID" DataType="System.Int32" ReadOnly="True"
                 UniqueName="FacilityID" Visible="false">
               </telerik:GridBoundColumn>
               <telerik:GridTemplateColumn UniqueName="TemplateColumn">
                 <ItemTemplate>
                   <div id="content" class="divTable">
                     <div id="divHeader" class="divHeaderTable">
                       Facility information for
                       <asp:Label ID="Name" runat="server" Text=' <%# Eval("FacilityName") %>'></asp:Label>
                     </div>
                     <div class="divRow">
                       <div class="divColumn" style="text-align: left; width: 300px;">
                         <div>
                           <asp:Label ID="Address1" runat="server" Text='<%# Eval("Address") %>'></asp:Label><br />
                           <asp:Label ID="Label5" runat="server" Text='<%# Eval("City") %>'></asp:Label>, 
                           <asp:Label ID="Label6" runat="server" Text='<%# Eval("State") %>'></asp:Label
                           <asp:Label ID="Label7" runat="server" Text='<%# Eval("Zip") %>'></asp:Label><br />
                           <strong>PH:</strong>
                           <asp:Label ID="Label15" runat="server" Text='<%# Eval("Phone") %>'></asp:Label><br />
                           <asp:Label ID="Label17" runat="server" Text='<%# Eval("Website") %>'></asp:Label><br />
                           <br />
                           <br />
                           <telerik:RadButton ID="RadButton2d" runat="server" Text="Edit this plant's Information"
                             CommandName="Edit">
                           </telerik:RadButton>
                         </div>
                       </div>
                       <div class="divColumn" style="text-align: left; width: 400px;">
                         <div>
                           <strong>Contact: </strong>
                           <asp:Label ID="Label16" runat="server" Text='<%# Eval("Contact_First") %>'></asp:Label
                           <asp:Label ID="Label30" runat="server" Text='<%# Eval("Contact_Last") %>'></asp:Label><br />
                           <strong>Contact Email: </strong><asp:Label ID="Label18" runat="server" Text='<%# Eval("Email") %>'></asp:Label><br />
                           <strong>Capacity: </strong><asp:Label ID="Label31" runat="server" Text='<%# Format(Eval("NamePlateCapacity"),"##,###,###,###") %>'></asp:Label>
                           <asp:Label ID="Label33" runat="server" Text='<%# IIF(eval("CapacityInfoPublic"),"(Capacity info is Public)","(Capacity info is not Public)") %>'></asp:Label><br />
                           <strong>Feedstock</strong> <asp:Label ID="Label32" runat="server" Text='<%#Eval("Feedstock") %>'>
                           </asp:Label>
                           <asp:Label ID="Label3a4" runat="server" Text='<%# IIF(eval("CapacityInfoPublic"),"(Feedstock info is Public)","(Feedstock info is not Public)") %>'></asp:Label>
                           <br />
                           <br />
                         </div>
                       </div>
                     </div>
                   </div>
                   </div>
                 </ItemTemplate>
               </telerik:GridTemplateColumn>
             </Columns>
             <EditFormSettings EditFormType="Template" FormTableStyle-Width="400px">
               <EditColumn FilterControlAltText="Filter EditCommandColumn column">
               </EditColumn>
               <FormTableStyle Width="400px" />
               <FormTemplate>
                 <div id="content" class="divTable">
                   <div id="divHeader" class="divHeaderTable">
                     <asp:Label ID="lblName" runat="server" Text='<%# Bind("FacilityName") %>'></asp:Label>
                   </div>
                   <div class="divRow">
                     <div class="divColumn" style="text-align: left; width: 400px;">
                       <div>
                         Address:<br />
                         <telerik:RadTextBox ID="RadTextBox1" runat="server" Text='<%# Bind("Address") %>'
                           Width=" 225px">
                         </telerik:RadTextBox>
                         <br />
                         City:<br />
                         <telerik:RadTextBox ID="RadTextBox4" runat="server" Text='<%# Bind("City") %>' Width=" 225px">
                         </telerik:RadTextBox>
                         <br />
                         State:<br />
                         <telerik:RadComboBox ID="State" runat="server" SelectedValue='<%# bind("State") %>'
                           Skin="Windows7">
                           <Items>
                             <telerik:RadComboBoxItem runat="server" Text="Alabama" Value="AL" />
                             <telerik:RadComboBoxItem runat="server" Text="Alaska" Value="AK" />
                             <telerik:RadComboBoxItem runat="server" Text="Arizona" Value="AZ" />
                             <telerik:RadComboBoxItem runat="server" Text="Arkansas" Value="AR" />
                             <telerik:RadComboBoxItem runat="server" Text="California" Value="CA" />
                             <telerik:RadComboBoxItem runat="server" Text="Colorado" Value="CO" />
                             <telerik:RadComboBoxItem runat="server" Text="Connecticut" Value="CT" />
                             <telerik:RadComboBoxItem runat="server" Text="District of Columbia" Value="DC" />
                             <telerik:RadComboBoxItem runat="server" Text="Delaware" Value="DE" />
                             <telerik:RadComboBoxItem runat="server" Text="Florida" Value="FL" />
                             <telerik:RadComboBoxItem runat="server" Text="Georgia" Value="GA" />
                             <telerik:RadComboBoxItem runat="server" Text="Hawaii" Value="HI" />
                             <telerik:RadComboBoxItem runat="server" Text="Idaho" Value="ID" />
                             <telerik:RadComboBoxItem runat="server" Text="Illinois" Value="IL" />
                             <telerik:RadComboBoxItem runat="server" Text="Indiana" Value="IN" />
                             <telerik:RadComboBoxItem runat="server" Text="Iowa" Value="IA" />
                             <telerik:RadComboBoxItem runat="server" Text="Kansas" Value="KS" />
                             <telerik:RadComboBoxItem runat="server" Text="Kentucky" Value="KY" />
                             <telerik:RadComboBoxItem runat="server" Text="Louisiana" Value="LA" />
                             <telerik:RadComboBoxItem runat="server" Text="Maine" Value="ME" />
                             <telerik:RadComboBoxItem runat="server" Text="Maryland" Value="MD" />
                             <telerik:RadComboBoxItem runat="server" Text="Massachusetts" Value="MA" />
                             <telerik:RadComboBoxItem runat="server" Text="Michigan" Value="MI" />
                             <telerik:RadComboBoxItem runat="server" Text="Minnesota" Value="MN" />
                             <telerik:RadComboBoxItem runat="server" Text="Mississippi" Value="MS" />
                             <telerik:RadComboBoxItem runat="server" Text="Missouri" Value="MO" />
                             <telerik:RadComboBoxItem runat="server" Text="Montana" Value="MT" />
                             <telerik:RadComboBoxItem runat="server" Text="Nebraska" Value="NE" />
                             <telerik:RadComboBoxItem runat="server" Text="Nevada" Value="NV" />
                             <telerik:RadComboBoxItem runat="server" Text="New Hampshire" Value="NH" />
                             <telerik:RadComboBoxItem runat="server" Text="New Jersey" Value="NJ" />
                             <telerik:RadComboBoxItem runat="server" Text="New Mexico" Value="NM" />
                             <telerik:RadComboBoxItem runat="server" Text="New York" Value="NY" />
                             <telerik:RadComboBoxItem runat="server" Text="North Carolina" Value="NC" />
                             <telerik:RadComboBoxItem runat="server" Text="North Dakota" Value="ND" />
                             <telerik:RadComboBoxItem runat="server" Text="Ohio" Value="OH" />
                             <telerik:RadComboBoxItem runat="server" Text="Oklahoma" Value="OK" />
                             <telerik:RadComboBoxItem runat="server" Text="Oregon" Value="OR" />
                             <telerik:RadComboBoxItem runat="server" Text="Pennsylvania" Value="PA" />
                             <telerik:RadComboBoxItem runat="server" Text="Rhode Island" Value="RI" />
                             <telerik:RadComboBoxItem runat="server" Text="South Carolina" Value="SC" />
                             <telerik:RadComboBoxItem runat="server" Text="South Dakota" Value="SD" />
                             <telerik:RadComboBoxItem runat="server" Text="Tennessee" Value="TN" />
                             <telerik:RadComboBoxItem runat="server" Text="Texas" Value="TX" />
                             <telerik:RadComboBoxItem runat="server" Text="Utah" Value="UT" />
                             <telerik:RadComboBoxItem runat="server" Text="Vermont" Value="VT" />
                             <telerik:RadComboBoxItem runat="server" Text="Virginia" Value="VA" />
                             <telerik:RadComboBoxItem runat="server" Text="Washington" Value="WA" />
                             <telerik:RadComboBoxItem runat="server" Text="West Virginia" Value="WV" />
                             <telerik:RadComboBoxItem runat="server" Text="Wisconsin" Value="WI" />
                             <telerik:RadComboBoxItem runat="server" Text="Wyoming" Value="WY" />
                           </Items>
                         </telerik:RadComboBox>
                         <br />
                         Zip:<br />
                         <telerik:RadTextBox ID="RadTextBox2" runat="server" Text='<%# Bind("Zip") %>' Width=" 75px">
                         </telerik:RadTextBox>
                         <br />
                         Phone:<br />
                         <telerik:RadTextBox ID="RadTextBox5" runat="server" Text='<%# Bind("Phone") %>' Width=" 125px">
                         </telerik:RadTextBox>
                         <br />
                         Website:<br />
                         <telerik:RadTextBox ID="RadTextBox7" runat="server" Text='<%# Bind("Website") %>'
                           Width=" 225px">
                         </telerik:RadTextBox>
                         <br />
                         Contact Email:<br />
                         <telerik:RadTextBox ID="RadTextBox9" runat="server" Text='<%# Bind("Email") %>' Width=" 225px">
                         </telerik:RadTextBox>
                       </div>
                     </div>
                     <div class="divColumn" style="text-align: left; width: 400px;">
                       <div>
                         Current Plant Status:<br />
                         <telerik:RadComboBox ID="RadComboBox1" runat="server" SelectedValue='<%# bind("Status") %>'
                           Skin="Windows7">
                           <Items>
                             <telerik:RadComboBoxItem runat="server" Text="Active" Value="Active" />
                             <telerik:RadComboBoxItem runat="server" Text="Idled" Value="Idled" />
                             <telerik:RadComboBoxItem runat="server" Text="Closed" Value="Closed" />
                             <telerik:RadComboBoxItem runat="server" Text="Sold" Value="Sold" />
                           </Items>
                         </telerik:RadComboBox>
                         <br />
                         Name Plate Capacity:<br />
                         <telerik:RadNumericTextBox ID="RadTextBox8" runat="server" Text='<%# bind("NamePlateCapacity") %>'
                           NumberFormat-DecimalDigits="0">
                         </telerik:RadNumericTextBox>
                         <br />
                         <asp:CheckBox ID="cbCapacity" runat="server" Checked='<%# Bind("CapacityInfoPublic") %>' />
                         Check to make Capacity info public.
                         <br />
                         Feedstock:<br />
                         <telerik:RadTextBox ID="RadTextBox10" runat="server" Text='<%#Bind("Feedstock" )%>'>
                         </telerik:RadTextBox>
                         <br />
                         <asp:CheckBox ID="cbFeedstock" runat="server" Checked='<%# Bind("FeedstockInfoPublic") %>' />
                         Check to make Feedstock info public.
                       </div>
                     </div>
                   </div>
                 </div>
                 <telerik:RadButton ID="RadButton1" runat="server" CommandName="Update" Text="Save Changes">
                 </telerik:RadButton>
                 <telerik:RadButton ID="RadButton2" runat="server" CommandName="Cancel" Text="Cancel Changes">
                 </telerik:RadButton>
               </FormTemplate>
             </EditFormSettings>
           </telerik:GridTableView>
         </DetailTables>
         <CommandItemSettings ExportToPdfText="Export to PDF" ShowAddNewRecordButton="False"
           ShowExportToPdfButton="True" />
         <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
         </RowIndicatorColumn>
         <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" Visible="False">
         </ExpandCollapseColumn>
         <Columns>
           <telerik:GridBoundColumn DataField="CompanyID" DataType="System.Guid" FilterControlAltText="Filter CompanyID column"
             HeaderText="CompanyID" ReadOnly="True" SortExpression="CompanyID" UniqueName="CompanyID"
             Visible="false">
           </telerik:GridBoundColumn>
           <telerik:GridTemplateColumn DataField="Address1" FilterControlAltText="Filter Address1 column"
             HeaderText="Address1" SortExpression="Address1" UniqueName="Address1">
             <ItemTemplate>
               <div id="content" class="divTable">
                 <div id="divHeader" class="divHeaderTable">
                   <asp:Label ID="MlblName" runat="server" Text='<%# Eval("Name") %>'></asp:Label>
                 </div>
                 <div class="divRow">
                   <div class="divColumn" style="text-align: left;">
                     <div>
                       <strong>Company Information:</strong><br />
                       <asp:Label ID="Address1" runat="server" Text='<%# Eval("Address1") %>'></asp:Label><br />
                       <%# IfAddress2(Eval("Address2"))%>
                       <asp:Label ID="Label5" runat="server" Text='<%# Eval("City") %>'></asp:Label>, 
                       <asp:Label ID="Label6" runat="server" Text='<%# Eval("State") %>'></asp:Label
                       <asp:Label ID="Label7" runat="server" Text='<%# Eval("PostalCode") %>'></asp:Label><br />
                       <strong>PH:</strong>
                       <asp:Label ID="Label15" runat="server" Text='<%# Eval("Phone") %>'></asp:Label>
                          <strong>FX:</strong>
                       <asp:Label ID="Label16" runat="server" Text='<%# Eval("Fax") %>'></asp:Label><br />
                       <asp:Label ID="Label17" runat="server" Text='<%# Eval("Website") %>'></asp:Label>
                       <br />
                       <strong>Contact Email: </strong><asp:Label ID="Label18" runat="server" Text='<%# Eval("Email") %>'></asp:Label>
                       <br />
                       <br />
                       <telerik:RadButton ID="RadButton2" runat="server" Text="Edit Your Company Information"
                         CommandName="Edit">
                       </telerik:RadButton>
                     </div>
                   </div>
                   <div class="divColumn">
                     <div>
                       <strong>Primary Information:</strong><br />
                       <asp:Label ID="Label10" runat="server" Text='<%# Eval("Salutation") %>'></asp:Label
                       <asp:Label ID="Label12" runat="server" Text='<%# Eval("FirstName") %>'></asp:Label
                       <asp:Label ID="Label13" runat="server" Text='<%# Eval("LastName") %>'></asp:Label><br />
                       <asp:Label ID="Label14" runat="server" Text='<%# Eval("Title") %>'></asp:Label><br />
                       <asp:Label ID="Label3" runat="server" Text='<%# Eval("Pri_Address") %>'></asp:Label><br />
                       <asp:Label ID="Label4" runat="server" Text='<%# Eval("Pri_City") %>'></asp:Label>, 
                       <asp:Label ID="Label8" runat="server" Text='<%# Eval("Pri_State") %>'></asp:Label
                       <asp:Label ID="Label9" runat="server" Text='<%# Eval("Pri_Zip") %>'></asp:Label><br />
                       <asp:Label ID="Label11" runat="server" Text='<%# Eval("Pri_Phone") %>'></asp:Label><br />
                       <asp:Label ID="Label19" runat="server" Text='<%# Eval("Pri_Email") %>'></asp:Label><br />
                       <em>You must contact NBB to change Primary Information</em>
                     </div>
                   </div>
                   <div class="divColumn">
                     <div>
                       <strong>Alternate Information:</strong><br />
                       <asp:Label ID="Label20" runat="server" Text='<%# Eval("Alt_Salutation") %>'></asp:Label
                       <asp:Label ID="Label21" runat="server" Text='<%# Eval("Alt_First_Name") %>'></asp:Label
                       <asp:Label ID="Label22" runat="server" Text='<%# Eval("Alt_Last_Name") %>'></asp:Label><br />
                       <asp:Label ID="Label23" runat="server" Text='<%# Eval("Alt_Title") %>'></asp:Label><br />
                       <asp:Label ID="Label24" runat="server" Text='<%# Eval("Alt_Address") %>'></asp:Label><br />
                       <asp:Label ID="Label25" runat="server" Text='<%# Eval("Alt_City") %>'></asp:Label>, 
                       <asp:Label ID="Label26" runat="server" Text='<%# Eval("Alt_State") %>'></asp:Label
                       <asp:Label ID="Label27" runat="server" Text='<%# Eval("Alt_Zip") %>'></asp:Label><br />
                       <asp:Label ID="Label28" runat="server" Text='<%# Eval("Alt_Phone") %>'></asp:Label><br />
                       <asp:Label ID="Label29" runat="server" Text='<%# Eval("Alt_Email") %>'></asp:Label><br />
                       <em>You must contact NBB to change Alternate Information</em>
                     </div>
                   </div>
                 </div>
               </div>
               </div>
             </ItemTemplate>
           </telerik:GridTemplateColumn>
         </Columns>
         <EditFormSettings EditFormType="Template" EditColumn-Display="False">
           <EditColumn Display="False" FilterControlAltText="Filter EditCommandColumn column">
           </EditColumn>
           <FormTemplate>
             <div id="content" class="divTable">
               <div id="divHeader" class="divHeaderTable">
                 <asp:Label ID="Name" runat="server" Text='<%# Bind("Name") %>'></asp:Label>
               </div>
               <div class="divRow">
                 <div class="divColumn" style="text-align: left;">
                   <div>
                     Address:<br />
                     <telerik:RadTextBox ID="RadTextBox1" runat="server" Text='<%# Bind("Address1") %>'
                       Width=" 325px">
                     </telerik:RadTextBox>
                     Address:<br />
                     <telerik:RadTextBox ID="RadTextBox3" runat="server" Text='<%# Bind("Address2") %>'
                       Width=" 325px">
                     </telerik:RadTextBox>
                     Phone:
                     <telerik:RadTextBox ID="RadTextBox5" runat="server" Text='<%# Bind("Phone") %>' Width=" 125px">
                     </telerik:RadTextBox>
                       Fax: <br />
                     <telerik:RadTextBox ID="RadTextBox6" runat="server" Text='<%# Bind("Fax") %>' Width=" 125px">
                     </telerik:RadTextBox>
                     City:
                     <telerik:RadTextBox ID="RadTextBox4" runat="server" Text='<%# Bind("City") %>' Width=" 325px">
                     </telerik:RadTextBox>
                     State:
                     <telerik:RadComboBox ID="State" runat="server" SelectedValue='<%# bind("State")  %>'
                       Skin="Windows7">
                       <Items>
                         <telerik:RadComboBoxItem runat="server" Text="Alabama" Value="AL" />
                         <telerik:RadComboBoxItem runat="server" Text="Alaska" Value="AK" />
                         <telerik:RadComboBoxItem runat="server" Text="Arizona" Value="AZ" />
                         <telerik:RadComboBoxItem runat="server" Text="Arkansas" Value="AR" />
                         <telerik:RadComboBoxItem runat="server" Text="California" Value="CA" />
                         <telerik:RadComboBoxItem runat="server" Text="Colorado" Value="CO" />
                         <telerik:RadComboBoxItem runat="server" Text="Connecticut" Value="CT" />
                         <telerik:RadComboBoxItem runat="server" Text="District of Columbia" Value="DC" />
                         <telerik:RadComboBoxItem runat="server" Text="Delaware" Value="DE" />
                         <telerik:RadComboBoxItem runat="server" Text="Florida" Value="FL" />
                         <telerik:RadComboBoxItem runat="server" Text="Georgia" Value="GA" />
                         <telerik:RadComboBoxItem runat="server" Text="Hawaii" Value="HI" />
                         <telerik:RadComboBoxItem runat="server" Text="Idaho" Value="ID" />
                         <telerik:RadComboBoxItem runat="server" Text="Illinois" Value="IL" />
                         <telerik:RadComboBoxItem runat="server" Text="Indiana" Value="IN" />
                         <telerik:RadComboBoxItem runat="server" Text="Iowa" Value="IA" />
                         <telerik:RadComboBoxItem runat="server" Text="Kansas" Value="KS" />
                         <telerik:RadComboBoxItem runat="server" Text="Kentucky" Value="KY" />
                         <telerik:RadComboBoxItem runat="server" Text="Louisiana" Value="LA" />
                         <telerik:RadComboBoxItem runat="server" Text="Maine" Value="ME" />
                         <telerik:RadComboBoxItem runat="server" Text="Maryland" Value="MD" />
                         <telerik:RadComboBoxItem runat="server" Text="Massachusetts" Value="MA" />
                         <telerik:RadComboBoxItem runat="server" Text="Michigan" Value="MI" />
                         <telerik:RadComboBoxItem runat="server" Text="Minnesota" Value="MN" />
                         <telerik:RadComboBoxItem runat="server" Text="Mississippi" Value="MS" />
                         <telerik:RadComboBoxItem runat="server" Text="Missouri" Value="MO" />
                         <telerik:RadComboBoxItem runat="server" Text="Montana" Value="MT" />
                         <telerik:RadComboBoxItem runat="server" Text="Nebraska" Value="NE" />
                         <telerik:RadComboBoxItem runat="server" Text="Nevada" Value="NV" />
                         <telerik:RadComboBoxItem runat="server" Text="New Hampshire" Value="NH" />
                         <telerik:RadComboBoxItem runat="server" Text="New Jersey" Value="NJ" />
                         <telerik:RadComboBoxItem runat="server" Text="New Mexico" Value="NM" />
                         <telerik:RadComboBoxItem runat="server" Text="New York" Value="NY" />
                         <telerik:RadComboBoxItem runat="server" Text="North Carolina" Value="NC" />
                         <telerik:RadComboBoxItem runat="server" Text="North Dakota" Value="ND" />
                         <telerik:RadComboBoxItem runat="server" Text="Ohio" Value="OH" />
                         <telerik:RadComboBoxItem runat="server" Text="Oklahoma" Value="OK" />
                         <telerik:RadComboBoxItem runat="server" Text="Oregon" Value="OR" />
                         <telerik:RadComboBoxItem runat="server" Text="Pennsylvania" Value="PA" />
                         <telerik:RadComboBoxItem runat="server" Text="Rhode Island" Value="RI" />
                         <telerik:RadComboBoxItem runat="server" Text="South Carolina" Value="SC" />
                         <telerik:RadComboBoxItem runat="server" Text="South Dakota" Value="SD" />
                         <telerik:RadComboBoxItem runat="server" Text="Tennessee" Value="TN" />
                         <telerik:RadComboBoxItem runat="server" Text="Texas" Value="TX" />
                         <telerik:RadComboBoxItem runat="server" Text="Utah" Value="UT" />
                         <telerik:RadComboBoxItem runat="server" Text="Vermont" Value="VT" />
                         <telerik:RadComboBoxItem runat="server" Text="Virginia" Value="VA" />
                         <telerik:RadComboBoxItem runat="server" Text="Washington" Value="WA" />
                         <telerik:RadComboBoxItem runat="server" Text="West Virginia" Value="WV" />
                         <telerik:RadComboBoxItem runat="server" Text="Wisconsin" Value="WI" />
                         <telerik:RadComboBoxItem runat="server" Text="Wyoming" Value="WY" />
                       </Items>
                     </telerik:RadComboBox>
                     <br />
                     Zip:<br />
                     <telerik:RadTextBox ID="RadTextBox2" runat="server" Text='<%# Bind("PostalCode") %>'
                       Width=" 75px">
                     </telerik:RadTextBox><br />
                     Website:
                     <telerik:RadTextBox ID="RadTextBox7" runat="server" Text='<%# Bind("Website") %>'
                       Width=" 325px">
                     </telerik:RadTextBox>
                     Contact Email:
                     <telerik:RadTextBox ID="RadTextBox9" runat="server" Text='<%# Bind("Email") %>' Width=" 325px">
                     </telerik:RadTextBox>
                   </div>
                 </div>
               </div>
             </div>
             </div>
             <telerik:RadButton ID="RadButton1" runat="server" CommandName="Update" Text="Save Changes">
             </telerik:RadButton>
             <telerik:RadButton ID="RadButton3" runat="server" CommandName="Cancel" Text="Cancel Changes">
             </telerik:RadButton>
           </FormTemplate>
         </EditFormSettings>
       </MasterTableView>
       <ClientSettings>
         <ClientEvents OnPopUpShowing="PopUpShowing" />
       </ClientSettings>
       <FilterMenu EnableEmbeddedBaseStylesheet="False" EnableImageSprites="False">
       </FilterMenu>
       <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Vista" EnableEmbeddedBaseStylesheet="False">
       </HeaderContextMenu>
     </telerik:RadGrid>
   </asp:Panel>
 </div>
 <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:nbbmembersConnectionString %>"
   SelectCommand="SELECT [Name], [Address1], ISNULL([Address2],' ') AS Address2, [City], [State], [PostalCode], [Phone], [Fax], [Website], [Email], [Salutation], [FirstName], [LastName], [Title], [Pri Address] AS Pri_Address, [Pri City] AS Pri_City, [Pri State] AS Pri_State, [Pri Zip] AS Pri_Zip, [Pri Phone] AS Pri_Phone, [Pri Email] AS Pri_Email, [Alt Salutation] AS Alt_Salutation, [Alt First Name] AS Alt_First_Name, [Alt Last Name] AS Alt_Last_Name, [Alt title] AS Alt_title, [Alt Address] AS Alt_Address, [Alt City] AS Alt_City, [Alt State] AS Alt_State, [Alt Zip] AS Alt_Zip, [Alt Phone] AS Alt_Phone, [Alt Email] AS Alt_Email, [CompanyID] FROM [COMP-PRI-ALT for export] WHERE ([CompanyID] = @CompanyID)"
   UpdateCommand="UPDATE [Company] SET [Name] = @Name, [Address1] = @Address1, [Address2] = @Address2, [City] = @City, [State] = @State, [Country] = @Country, [PostalCode] = @PostalCode, [Phone] = @Phone, [Fax] = @Fax, [Website] = @Website, [Email] = @Email, [Contact] = @Contact, [Descript] = @Descript WHERE [CompanyID] = @CompanyID"
   ProviderName="System.Data.SqlClient">
   <SelectParameters>
     <asp:SessionParameter Name="CompanyID" SessionField="CompanyID" Type="String" />
   </SelectParameters>
   <UpdateParameters>
     <asp:Parameter Name="Name" Type="String" />
     <asp:Parameter Name="Address1" Type="String" />
     <asp:Parameter Name="Address2" Type="String" />
     <asp:Parameter Name="City" Type="String" />
     <asp:Parameter Name="State" Type="String" />
     <asp:Parameter Name="Country" Type="String" />
     <asp:Parameter Name="PostalCode" Type="String" />
     <asp:Parameter Name="Phone" Type="String" />
     <asp:Parameter Name="Fax" Type="String" />
     <asp:Parameter Name="Website" Type="String" />
     <asp:Parameter Name="Email" Type="String" />
     <asp:Parameter Name="Contact" Type="String" />
     <asp:Parameter Name="Descript" Type="String" />
     <asp:Parameter Name="CompanyID" Type="Object" />
   </UpdateParameters>
 </asp:SqlDataSource>
 <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:nbbmembersConnectionString %>"
   SelectCommand="SELECT [FacilityID], [CompanyID], [Status], [FacilityName], [Address], [City], [State], [Zip], [Phone], [Contact_First], [Contact_Last], [Email], [NamePlateCapacity], [CapacityInfoPublic], [Feedstock], [FeedstockInfoPublic], [Website] FROM [facilities] WHERE ([CompanyID] = @CompanyID)"
   UpdateCommand="UPDATE [facilities] SET [Status] = @Status, [FacilityName] = @FacilityName, [Address] = @Address, [City] = @City, [State] = @State, [Zip] = @Zip, [Phone] = @Phone, [Contact_First] = @Contact_First, [Contact_Last] = @Contact_Last, [Email] = @Email, [NamePlateCapacity] = @NamePlateCapacity, [CapacityInfoPublic] = @CapacityInfoPublic, [Feedstock] = @Feedstock, [FeedstockInfoPublic] = @FeedstockInfoPublic, [Website] = @Website WHERE [FacilityID] = @FacilityID"
   ProviderName="System.Data.SqlClient">
    
   <SelectParameters>
     <asp:SessionParameter Name="CompanyID" SessionField="CompanyID" Type="String" />
   </SelectParameters>
   <UpdateParameters>
     <asp:Parameter Name="CompanyID" Type="String" />
     <asp:Parameter Name="Status" Type="String" />
     <asp:Parameter Name="FacilityName" Type="String" />
     <asp:Parameter Name="Address" Type="String" />
     <asp:Parameter Name="City" Type="String" />
     <asp:Parameter Name="State" Type="String" />
     <asp:Parameter Name="Zip" Type="String" />
     <asp:Parameter Name="Phone" Type="String" />
     <asp:Parameter Name="Contact_First" Type="String" />
     <asp:Parameter Name="Contact_Last" Type="String" />
     <asp:Parameter Name="Email" Type="String" />
     <asp:Parameter Name="NamePlateCapacity" Type="Double" />
     <asp:Parameter Name="CapacityInfoPublic" Type="Boolean" />
     <asp:Parameter Name="Feedstock" Type="String" />
     <asp:Parameter Name="FeedstockInfoPublic" Type="Boolean" />
     <asp:Parameter Name="Website" Type="String" />
     <asp:Parameter Name="FacilityID" Type="Int32" />
   </UpdateParameters>
 </asp:SqlDataSource>
 </form>
Scott Tremain
Top achievements
Rank 1
 answered on 25 Aug 2011
2 answers
157 views
Hi,

I am getting the following error

Type 'Telerik.Web.UI.Common.TelerikRandom' in Assembly 'Telerik.Web.UI, Version=2011.2.712.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4' is not marked as serializable.

This only happends with the latest controls. I believe this to be bug as it appears something needs to be marked as serializable.

Is there a fix or possible work around or will I need to revert back to the old version of the controls??

Many Thanks

Mark
Slav
Telerik team
 answered on 25 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?