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

radgrid ,ajax, and postback issue

2 Answers 162 Views
Grid
This is a migrated thread and some comments may be shown as answers.
ibrahim
Top achievements
Rank 1
ibrahim asked on 05 Apr 2009, 12:54 PM
hello all i am stuck in this issue....
1-i have a radgrid..once a row is clicked..2 other invisible grids are supposed to show up contianing the details not shown on the first and it was working just fine.
2-in this radgrid i have a column with a button comand once clicked a rad window should apear and it was working just fine


cases one and two were working just fine untill i used the radgrid grows with the rad splitter you have on youre website...thin when
i click a row..the server side event handler will be fired..the commands will be executed but the result will not be shown..i had this issue before since i had the radgrid in ajax's update panel but one i removed the updatepanel probel 1 and 2 were solved,,,suddenly when i added the locking the radgrid with the spliter it apeared again..i dont know what the issue is ..i tried adding radajax panels but it is not wokring here is my page code please please please help me ASAP


<%@ Page Language="vb"  AutoEventWireup="false" MasterPageFile="~/Master_Page.Master" CodeBehind="View(GM)-mod.aspx.vb" Inherits="project_xy.View_GM__mod" 
    title="Untitled Page" ValidateRequest="false" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css"> 
    .MasterTable_Default2006 td 
    { 
      overflow: hidden; 
    } 
    .GridHeader_Default2006 
    { 
      overflow: hidden; 
    } 
        .style4
        {
            width: 123px;
            height: 35px;
        }
        .style5
        {
            width: 12%;
            height: 35px;
        }
        .style7
        {
            width: 152px;
            height: 35px;
        }
        .style9
        {
            width: 180px;
            height: 35px;
        }
        .style10
        {
            width: 159px;
            height: 35px;
        }
    </style>
   <script type="text/javascript">
 function ClientResized(sender, eventArgs)
 {
    $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest('ChangePageSize');
 }
</script>
    
    </asp:Content>


<asp:Content ID="Content4" ContentPlaceHolderID="main1" runat="server">


 
    
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    
    </telerik:RadScriptManager>
    <script type="text/javascript"> 
                function ClientResized(sender, eventArgs)
                { 
                    $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest('ChangePageSize'); 
                }
        </script>
    
    <asp:UpdatePanel ID="UpdatePanel1" runat="server"><Triggers><asp:PostBackTrigger ControlID="Node_submit" /><asp:PostBackTrigger ControlID="zone_combo" /><asp:PostBackTrigger ControlID="Supoort_combo" /><asp:PostBackTrigger ControlID="district_combo" /><asp:PostBackTrigger ControlID="Tech_combo" /><asp:PostBackTrigger ControlID="status_combo" /></Triggers><ContentTemplate>
    
    <table style="width:716px;">
    <tr style="width:90px;"><td class="style7"><asp:RadioButton ID="Region" runat="server" Text="Region Filter" 
                    AutoPostBack="True" /></td><td class="style4"><asp:RadioButton ID="Node" runat="server" Text="Node filter" 
                    AutoPostBack="True" /></td><td class="style7"><asp:RadioButton ID="Status" runat="server" Text="Status Filter" 
                    AutoPostBack="True" /></td>
        <td class="style9">
            <asp:RadioButton ID="Tech" runat="server" Text="Technology Filter" 
                    AutoPostBack="True" /></td>
        <td class="style10">
            <asp:Label ID="district_label" runat="server" ForeColor="#FF7900" 
                Text="District:" Visible="false"></asp:Label>
            <asp:Label ID="tech_label" runat="server" ForeColor="#FF7900" 
                Text="Technology:" Visible="false"></asp:Label>
            <asp:Label ID="Status_label" runat="server" ForeColor="#FF7900" Text="Status:" 
                Visible="false"></asp:Label>
            <asp:Label ID="Node_label" runat="server" ForeColor="#FF7900" Text="Node:" 
                Visible="false"></asp:Label>
            &nbsp;&nbsp;<br />
            <telerik:RadComboBox ID="District_combo" Runat="server" AutoPostBack="True" 
                DataSourceID="district_source" DataTextField="region" DataValueField="region" 
                EnableViewState="true" Height="18px" Visible="False" Width="80px">
                <CollapseAnimation Duration="200" Type="OutQuint" />
                <ExpandAnimation Type="InElastic" />
            </telerik:RadComboBox>
            <telerik:RadComboBox ID="Status_combo" Runat="server" AutoPostBack="True" 
                DataSourceID="status_source" DataTextField="status" DataValueField="status" 
                Height="18px" Visible="False" Width="80px">
                <CollapseAnimation Duration="200" Type="OutQuint" />
                <ExpandAnimation Type="InElastic" />
            </telerik:RadComboBox>
            <telerik:RadComboBox ID="Tech_combo" Runat="server" AutoPostBack="True" 
                DataSourceID="teck_filter" DataTextField="teck_Name" DataValueField="teck_Name" 
                Height="15px" Visible="False" Width="80px">
                <CollapseAnimation Duration="200" Type="OutQuint" />
                <ExpandAnimation Type="InElastic" />
            </telerik:RadComboBox>
            <asp:TextBox ID="node_text" runat="server" Height="18px" Visible="false" 
                Width="80px"></asp:TextBox>
        </td>
        <td class="style5">
            <asp:Label ID="Support_label" runat="server" ForeColor="#FF7900" 
                Text="Support zone:" Visible="false"></asp:Label><br />
            <asp:Button ID="Node_submit" runat="server" Height="20px" Text="Find Node" 
                Visible="false" Width="80px" />
            <telerik:RadComboBox ID="Supoort_combo" Runat="server" AutoPostBack="True" 
                DataSourceID="support_source" DataTextField="support_zone" 
                DataValueField="support_zone" Height="22px" Visible="False" Width="90px">
                <CollapseAnimation Duration="200" Type="OutQuint" />
            </telerik:RadComboBox>
        </td>
        <td class="style5">
            <asp:Label ID="zone_label" runat="server" ForeColor="#FF7900" Text="Zone:" 
                Visible="false"></asp:Label>
            <telerik:RadComboBox ID="zone_combo" Runat="server" AutoPostBack="True" 
                DataSourceID="zone_source" DataTextField="Zone" DataValueField="Zone" 
                Height="23px" Visible="False" Width="80px">
                <CollapseAnimation Duration="200" Type="OutQuint" />
            </telerik:RadComboBox>
        </td>
        </tr></table>
        </ContentTemplate>
        </asp:UpdatePanel>
    
    <telerik:RadAjaxManager ID="RadAjaxManager1"  runat="server"   OnAjaxRequest="RadAjaxManager1_AjaxRequest">
    <AjaxSettings><telerik:AjaxSetting><UpdatedControls><telerik:AjaxUpdatedControl ControlID="radgrid2" LoadingPanelID="loadingpanel3" /></UpdatedControls></telerik:AjaxSetting></AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadSplitter  ID="RadSplitter1" runat="server" Width="1000" 
        Orientation="Horizontal" Font-Size="8" Height="400" style="margin-top: 0px">
        
    <telerik:RadPane ID="gridpane" Runat="server" Height="310" Scrolling="None" OnClientResized="ClientResized" BackColor="Gray">
    
        
        
        <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" Height="100%" Width="100%">
        
        
    <telerik:RadGrid Height="100%" ItemStyle-BorderColor="gray" 
            ItemStyle-BorderStyle="notset" ClientSettings-Resizing-EnableRealTimeResize="false"   
            EditItemStyle-BackColor="white" ItemStyle-VerticalAlign="Top" 
            ActiveItemStyle-BorderStyle="notset" ActiveItemStyle-BorderColor="gray" BorderStyle="NotSet" BorderWidth="1px"  
            ClientSettings-AllowDragToGroup="true"   OnGroupsChanging="RadGrid2_GroupsChanging"
                 EnableLinqExpressions="False" 
            CellPadding="0" HeaderStyle-Width="20px" HeaderStyle-BorderStyle="NotSet" HeaderStyle-BorderWidth="1px" HeaderStyle-Height="30px"   
            ID="RadGrid2" ActiveItemStyle-Height="10px" 
            ActiveItemStyle-VerticalAlign="Top" runat="server" ItemStyle-Wrap="false"   
            Width="103%" HeaderStyle-Font-Size="Smaller" 
              AllowAutomaticUpdates="True"    
        AllowPaging="True" AllowSorting="True" GridLines="None"   Font-Size="Smaller" DataSourceID="SqlDataSource2"    
            EnableAJAXLoadingTemplate="true" LoadingTemplateTransparency="25"
        style="margin-left: 0px; margin-top: 0px;" ShowGroupPanel="True" 
            Skin="Default2006" ><ItemStyle BorderStyle="NotSet" borderwidth="1px" BorderColor="gray"  VerticalAlign="Top" Width="80" Height="10"  /><HeaderStyle 
            Height="10px" VerticalAlign="Top" Width="20px" BorderColor="Gray" BorderStyle="NotSet" BorderWidth="1px" /><headercontextmenu BorderStyle="NotSet" BorderWidth="1px" 
            height="10px" width="100%"><collapseanimation duration="200" 
            type="OutQuint" /></headercontextmenu><mastertableview BorderStyle="NotSet" borderwidth="1px" BorderColor="gray" 
            autogeneratecolumns="false" cellpadding="0" cellspacing="0" 
            datakeynames="node_code1" datasourceid="SqlDataSource2" editmode="InPlace" 
            rowindicatorcolumn-headerstyle-height="10px" 
            rowindicatorcolumn-itemstyle-height="10px" 
            rowindicatorcolumn-itemstyle-width="80px"><norecordstemplate><asp:Label 
            ID="Label2" runat="server" Font-Size="Small" Text="No Items Were Found!!!"></asp:Label></norecordstemplate><rowindicatorcolumn><HeaderStyle 
            Height="10px" Width="100px" /><ItemStyle  BorderStyle="NotSet" borderwidth="1px" BorderColor="gray"  Wrap="false" Height="10px" VerticalAlign="Top" 
            Width="10px" /></rowindicatorcolumn><Columns><telerik:GridEditCommandColumn 
                HeaderStyle-Height="10px" HeaderStyle-Width="82px"><HeaderStyle BorderStyle="NotSet" BorderWidth="1px" 
                Height="10px" Width="82px" /><ItemStyle BorderStyle="NotSet" borderwidth="1px" BorderColor="gray"  Width="82px" Height="10px" VerticalAlign="Top" 
                Wrap="false" /></telerik:GridEditCommandColumn><telerik:GridButtonColumn 
                ButtonType="ImageButton" CommandName="assign" ImageUrl="preview.gif" 
                Text="Assign team members" UniqueName="Assign"> <HeaderStyle BorderStyle="NotSet" BorderWidth="1px" Width="82px" /><ItemStyle BorderStyle="NotSet" borderwidth="1px" BorderColor="gray"  Height="10px" Wrap="false" 
                VerticalAlign="Top" /></telerik:GridButtonColumn><telerik:GridTemplateColumn 
                 DataField="Client_Name" HeaderText="Client_Name"  SortExpression="Client_Name" 
                UniqueName="Client_Name"><HeaderStyle BorderStyle="NotSet" BorderWidth="1px" Height="10px" Width="82px" /><EditItemTemplate><asp:Label 
                    ID="Client_NameLabel" runat="server" Text='<%# Eval("Client_Name","<nobr>{0}</nobr>") %>' ></asp:Label>
            </EditItemTemplate>
            <HeaderStyle BorderStyle="NotSet" BorderWidth="1px" Height="10px" Width="82px" Wrap="false" />
            <ItemStyle BorderStyle="NotSet" borderwidth="1px" BorderColor="gray"  Height="10px" VerticalAlign="Top" Wrap="false"/>
            <ItemTemplate>
                
                <asp:Label ID="Client_NameLabel" runat="server"  
                    Text='<%# Eval("Client_Name","<nobr>{0}</nobr>") %>'></asp:Label>
            </ItemTemplate>
            <HeaderStyle BorderStyle="NotSet" BorderWidth="1px" Height="10px" Width="82px" />
            </telerik:GridTemplateColumn><telerik:GridTemplateColumn DataField="Node_Code1" 
                GroupByExpression="Node_Code1" HeaderText="Node_Code" 
                SortExpression="Node_Code1" UniqueName="Node_Code1"><HeaderStyle BorderStyle="NotSet" BorderWidth="1px" 
                Height="10px" Width="82px" /><EditItemTemplate><asp:Label ID="Node_CodeLabel" 
                    runat="server" Text='<%# Eval("Node_Code1", "<nobr>{0}</nobr>") %>'></asp:Label>
            </EditItemTemplate>
            <ItemStyle BorderStyle="NotSet" borderwidth="1px" BorderColor="gray"  Height="10px" Width="82px" Wrap="false" VerticalAlign="Top" />
            <ItemTemplate>
                <asp:Label ID="Node_CodeLabel" runat="server" Text='<%# Eval("Node_Code1","<nobr>{0}</nobr>") %>'></asp:Label>
            </ItemTemplate>
            </telerik:GridTemplateColumn><telerik:GridTemplateColumn DataField="Zone" 
                HeaderText="Zone" SortExpression="Zone" UniqueName="Zone"><HeaderStyle BorderStyle="NotSet" BorderWidth="1px" 
                Height="10px" Width="82px" /><EditItemTemplate><asp:Label ID="ZoneLabel" 
                    runat="server" Text='<%# Eval("Zone","<nobr>{0}</nobr>") %>'></asp:Label>
            </EditItemTemplate>
            <ItemStyle BorderStyle="NotSet" borderwidth="1px" BorderColor="gray"  Height="10px" VerticalAlign="Top" />
            <ItemTemplate>
                <asp:Label ID="ZoneLabel" runat="server" Text='<%# Eval("Zone","<nobr>{0}</nobr>") %>'></asp:Label>
            </ItemTemplate>
            </telerik:GridTemplateColumn><telerik:GridTemplateColumn 
                DataField="Contact_Person" HeaderText="Contact Person" 
                SortExpression="Contact_Person" UniqueName="Contact_Person"><HeaderStyle BorderStyle="NotSet" BorderWidth="1px" 
                Height="10px" Width="82px" /><EditItemTemplate><asp:Label 
                    ID="Contact_PersonLabel" runat="server" Text='<%# Eval("Contact_Person","<nobr>{0}</nobr>") %>'></asp:Label>
            </EditItemTemplate>
            <ItemStyle BorderStyle="NotSet" borderwidth="1px" BorderColor="gray"  Height="10px" VerticalAlign="Top" Wrap="false" Width="82px" />
            <ItemTemplate>
                <asp:Label ID="Contact_PersonLabel" runat="server" 
                    Text='<%# Eval("Contact_Person","<nobr>{0}</nobr>") %>'></asp:Label>
            </ItemTemplate>
            </telerik:GridTemplateColumn><telerik:GridTemplateColumn 
                DataField="Contact_Number" HeaderText="Contact Number" 
                SortExpression="Contact_Number" UniqueName="Contact_Number"><HeaderStyle BorderStyle="NotSet" BorderWidth="1px" 
                Height="10px" Width="82px" /><EditItemTemplate><asp:Label 
                    ID="Contact_NumberLabel" runat="server" Text='<%# Eval("Contact_Number","<nobr>{0}</nobr>") %>'></asp:Label>
            </EditItemTemplate>
            <ItemStyle BorderStyle="NotSet" borderwidth="1px" BorderColor="gray"  Height="10px" VerticalAlign="Top" />
            <ItemTemplate>
                <asp:Label ID="Contact_NumberLabel" runat="server" 
                    Text='<%# Eval("Contact_Number","<nobr>{0}</nobr>") %>'></asp:Label>
            </ItemTemplate>
            </telerik:GridTemplateColumn><telerik:GridTemplateColumn 
                DataField="Original Status" HeaderText="Original Status" 
                SortExpression="Original Status" UniqueName="Original Status"><HeaderStyle BorderStyle="NotSet" BorderWidth="1px" 
                Height="10px" Width="82px" /><EditItemTemplate><asp:Label 
                    ID="Original_statusLabel1" runat="server" Text='<%# Eval("Original Status","<nobr>{0}</nobr>") %>'></asp:Label>
            </EditItemTemplate>
            <ItemStyle BorderStyle="NotSet" borderwidth="1px" BorderColor="gray"  Height="10px" VerticalAlign="Top" />
            <ItemTemplate>
                <asp:Label ID="Original_statusLabel1" runat="server" 
                    Text='<%# Eval("Original Status","<nobr>{0}</nobr>") %>'></asp:Label>
            </ItemTemplate>
            </telerik:GridTemplateColumn><telerik:GridTemplateColumn 
                DataField="updated_status" HeaderText="updated_status" 
                SortExpression="updated_status" UniqueName="updated_status"><HeaderStyle BorderStyle="NotSet" BorderWidth="1px" 
                Height="10px" Width="82px" /><EditItemTemplate><telerik:RadComboBox 
                    ID="RadComboBox1" Runat="server" DataSourceID="SqlDataSource6" 
                    DataTextField="Status_name" DataValueField="Status_name" 
                    SelectedValue='<%# Bind("[updated_status]") %>' Width="101px"><collapseanimation 
                    duration="200" type="OutQuint" /></telerik:RadComboBox>
            </EditItemTemplate>
            <ItemStyle BorderStyle="NotSet" borderwidth="1px" BorderColor="gray"  Height="10px" VerticalAlign="Top" />
            <ItemTemplate>
                <asp:Label ID="Updated_statusLabel1" runat="server" 
                    Text='<%# Eval("updated_status","<nobr>{0}</nobr>") %>'></asp:Label>
            </ItemTemplate>
            </telerik:GridTemplateColumn><telerik:GridTemplateColumn 
                DataField="Required_Date" DataType="System.DateTime" HeaderText="Required Date" 
                SortExpression="Required_Date" UniqueName="Required_Date"><ItemStyle BorderStyle="NotSet" borderwidth="1px" BorderColor="gray"  
                 Height="10px" VerticalAlign="Top" Width="82px" Wrap="false" /><HeaderStyle BorderStyle="NotSet" BorderWidth="1px" 
                Height="10px" Width="82px" /><ItemTemplate><asp:Label ID="RequireddateLabel1" 
                    runat="server" Text='<%# Eval("Required_Date", "{0:yyyy-mm-dd}") %>'></asp:Label>
            </ItemTemplate>
            <EditItemTemplate>
                <asp:Label ID="RequireddateLabel12" runat="server" 
                    Text='<%# Eval("Required_Date" , "{0:yyyy-mm-dd}") %>'></asp:Label>
            </EditItemTemplate>
            </telerik:GridTemplateColumn><telerik:GridTemplateColumn DataField="notes" 
                HeaderText="notes" SortExpression="notes" UniqueName="notes"><ItemStyle BorderStyle="NotSet" borderwidth="1px" BorderColor="gray"  
                Height="10px" VerticalAlign="Top" /><HeaderStyle Height="10px" BorderStyle="NotSet" BorderWidth="1px" 
                Width="82px" /><ItemTemplate><asp:Label ID="notesLabel1" runat="server" 
                    Text='<%# Eval("notes","<nobr>{0}</nobr>") %>'></asp:Label>
            </ItemTemplate>
            <EditItemTemplate>
                <asp:TextBox ID="notesTextBox" runat="server" Text='<%# Bind("notes") %>'></asp:TextBox>
            </EditItemTemplate>
            <ItemStyle BorderStyle="NotSet" borderwidth="1px" BorderColor="gray"  Height="10px" VerticalAlign="Top" />
            <HeaderStyle Height="10px" Width="82px" BorderStyle="NotSet" BorderWidth="1px" />
            <ItemTemplate>
                <asp:Label ID="notesLabel" runat="server" Text='<%# Eval("notes","<nobr>{0}</nobr>") %>'></asp:Label>
            </ItemTemplate>
            </telerik:GridTemplateColumn>
        </Columns>
        <editformsettings>
        <editcolumn uniquename="EditCommandColumn1">
        <HeaderStyle Height="10px" Width="30px" BorderStyle="NotSet" BorderWidth="1px" />
        </editcolumn>
        </editformsettings>
        <groupheaderitemstyle height="10"  />
        <HeaderStyle BorderStyle="NotSet" BorderWidth="1px" Font-Size="X-Small" ForeColor="black" Height="10px" Width="20px" />
        </mastertableview>
        <FooterStyle VerticalAlign="Top" Wrap="false" Width="98%" />
        <HeaderStyle Width="100px" />
        <groupingsettings casesensitive="False" />
        <clientsettings allowdragtogroup="True" enablepostbackonrowclick="true">
        <resizing allowcolumnresize="true" enablerealtimeresize="true" 
            resizegridoncolumnresize="false" />
        <selecting allowrowselect="True" />
        <scrolling allowscroll="true" frozencolumnscount="2" savescrollposition="true" 
            usestaticheaders="True" />
        </clientsettings>
        <filtermenu>
        <collapseanimation duration="200" type="OutQuint" />
        </filtermenu>
        <EditItemStyle BackColor="White" />
        <ActiveItemStyle Height="15px" /></telerik:RadGrid></telerik:RadAjaxPanel>
     
     </telerik:RadPane>
        <telerik:RadSplitBar ID="RadSplitBar1"  EnableResize="true" runat="server" CollapseMode="Backward" />
    <telerik:RadPane  ID="details_pane" Scrolling="Both" runat="server">
    <table style="width: 416px"><tr><td></td><td ><asp:SqlDataSource 
                ID="status_source" runat="server" 
                            ConnectionString="<%$ ConnectionStrings:C:\DOCUMENTS AND SETTINGS\I.SHOUJAA\MY DOCUMENTS\VISUAL STUDIO 2008\PROJECTS\PROJECT XY\PROJECT XY\APP_DATA\ASPNETDB.MDFConnectionString %>" 
                            
            
                SelectCommand="select distinct status from openquery(ERP2,'EXEC SKYBAND.dbo._SKB_Sites_LstVw')"></asp:SqlDataSource><asp:SqlDataSource 
                ID="SqlDataSource2" runat="server" 
        ConnectionString="<%$ ConnectionStrings:C:\DOCUMENTS AND SETTINGS\I.SHOUJAA\MY DOCUMENTS\VISUAL STUDIO 2008\PROJECTS\PROJECT XY\PROJECT XY\APP_DATA\ASPNETDB.MDFConnectionString %>" 
        
        
            
            
                
            
            SelectCommand="SELECT f1.[Client Name] AS Client_Name, updates_table.[Node Code] AS Node_Code1, Zone,f1.Support_Zone,District, f1.[Technology], f1.[Contact Person] AS Contact_Person, f1.[Contact Number] AS Contact_Number, f1.[Status] AS [Original Status], updates_table.status as [updated_status], f1.[Required Date] as Required_Date,updates_table.notes  from dbo.remote_list_view() f1 join updates_table on f1.[node code]=updates_table.[node code]  collate SQL_Latin1_General_CP1256_CI_AS order by f1.GLAllocationID DESC" 
            
            
            
                UpdateCommand="update updates_table set updates_table.Status=@updated_status ,updates_table=@Notes  where updates_table.[Node Code]=@Node_Code1"><UpdateParameters><asp:Parameter Name="@Notes" Type="String" /><asp:Parameter 
                        Name="@Node_Code1" Type="String" /></UpdateParameters></asp:SqlDataSource><asp:SqlDataSource 
                ID="SqlDataSource3" runat="server" 
        ConnectionString="<%$ ConnectionStrings:C:\DOCUMENTS AND SETTINGS\I.SHOUJAA\MY DOCUMENTS\VISUAL STUDIO 2008\PROJECTS\PROJECT XY\PROJECT XY\APP_DATA\ASPNETDB.MDFConnectionString %>" 
        
        
            
            
            
                
                
            SelectCommand="SELECT top 1 f1.[node code] , f1.[Sales Order #] AS sales_order,f1. [Client Code] AS Client_Code, f1.[Site Code] AS Site_Code, f1.[Address],f1.[site name] as site_name,f1.technology as technology,f1.city as city,f1.address as adress, f1.[Postal Code] AS Postal_Code,f1.district as district,f1.[support_zone] as [support_zone], f1.[Order Date] AS Order_Date,f1. [Required Date] AS Required_Date,f1. [InstallationDate], f1.[Suffix], f1.[CommDate], f1.[Dismantling Date] AS Dismantling_Date, f1.[IC], f1.[Prefix],f1.[Site Type] AS Site_Type,f1.[Deactivation Request Date] AS Deactivation_Request_Date, f1.[Activation Request Date] AS Activation_Request_Date, f1.[Dismantling Request Date] AS Dismantling_Request_Date, f1.[Relocation Node] AS Relocation_Node from dbo.remote_list_view() f1 join updates_table on f1.[node code]=updates_table.[node code]  collate SQL_Latin1_General_CP1256_CI_AS"></asp:SqlDataSource></td><td><asp:SqlDataSource ID="zone_source" runat="server" 
                   ConnectionString="<%$ ConnectionStrings:C:\DOCUMENTS AND SETTINGS\I.SHOUJAA\MY DOCUMENTS\VISUAL STUDIO 2008\PROJECTS\PROJECT XY\PROJECT XY\APP_DATA\ASPNETDB.MDFConnectionString %>" 
                   SelectCommand="SELECT [Zone] FROM [Support_Zone_Zone]"></asp:SqlDataSource><asp:SqlDataSource ID="support_source" runat="server" 
                ConnectionString="<%$ ConnectionStrings:C:\DOCUMENTS AND SETTINGS\I.SHOUJAA\MY DOCUMENTS\VISUAL STUDIO 2008\PROJECTS\PROJECT XY\PROJECT XY\APP_DATA\ASPNETDB.MDFConnectionString %>" 
                SelectCommand="select distinct support_zone from Support_zone_zone"></asp:SqlDataSource><asp:SqlDataSource ID="teck_filter" runat="server" 
                ConnectionString="<%$ ConnectionStrings:C:\DOCUMENTS AND SETTINGS\I.SHOUJAA\MY DOCUMENTS\VISUAL STUDIO 2008\PROJECTS\PROJECT XY\PROJECT XY\APP_DATA\ASPNETDB.MDFConnectionString %>" 
                SelectCommand="SELECT [teck_Name] FROM [teck]"></asp:SqlDataSource></td><td><asp:SqlDataSource 
                    ID="teck_source" runat="server" 
                ConnectionString="<%$ ConnectionStrings:C:\DOCUMENTS AND SETTINGS\I.SHOUJAA\MY DOCUMENTS\VISUAL STUDIO 2008\PROJECTS\PROJECT XY\PROJECT XY\APP_DATA\ASPNETDB.MDFConnectionString %>" 
                SelectCommand="SELECT [teck_Name] FROM [teck]"></asp:SqlDataSource><asp:SqlDataSource 
                    ID="district_source" runat="server" 
                ConnectionString="<%$ ConnectionStrings:C:\DOCUMENTS AND SETTINGS\I.SHOUJAA\MY DOCUMENTS\VISUAL STUDIO 2008\PROJECTS\PROJECT XY\PROJECT XY\APP_DATA\ASPNETDB.MDFConnectionString %>" 
                SelectCommand="select distinct region from support_zone_zone"></asp:SqlDataSource><asp:SqlDataSource 
                    ID="SqlDataSource6" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:C:\DOCUMENTS AND SETTINGS\I.SHOUJAA\MY DOCUMENTS\VISUAL STUDIO 2008\PROJECTS\PROJECT XY\PROJECT XY\APP_DATA\ASPNETDB.MDFConnectionString %>" 
                    SelectCommand="SELECT * FROM [Status_names]"></asp:SqlDataSource></td></tr></table>
        <telerik:RadAjaxPanel ID="RadAjaxPanel3" runat="server" Height="200px" Width="300px">
        
                    <telerik:RadGrid 
            ID="RadGrid3" Font-Size="7px" runat="server" DataSourceID="SqlDataSource3" 
            GridLines="None" Skin="Default2006"><HeaderContextMenu><CollapseAnimation Duration="200" Type="OutQuint" /></HeaderContextMenu><MasterTableView AutoGenerateColumns="False" DataSourceID="SqlDataSource3"><RowIndicatorColumn Resizable="true"><HeaderStyle Width="20px" Height="20px" /></RowIndicatorColumn><ExpandCollapseColumn><HeaderStyle Width="20px" Height="10px" Font-Size="Small" /></ExpandCollapseColumn>
            
            <Columns>
                <telerik:GridBoundColumn DataField="node code" HeaderText="node code" 
                    SortExpression="node code" UniqueName="node code">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="sales_order" HeaderText="sales_order" 
                    SortExpression="sales_order" UniqueName="sales_order">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Client_Code" HeaderText="Client_Code" 
                    SortExpression="Client_Code" UniqueName="Client_Code">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Site_Code" HeaderText="Site_Code" 
                    SortExpression="Site_Code" UniqueName="Site_Code">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Address" HeaderText="Address" 
                    SortExpression="Address" UniqueName="Address">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="site_name" HeaderText="site_name" 
                    SortExpression="site_name" UniqueName="site_name">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="technology" HeaderText="technology" 
                    SortExpression="technology" UniqueName="technology">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="city" HeaderText="city" 
                    SortExpression="city" UniqueName="city">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="adress" HeaderText="adress" 
                    SortExpression="adress" UniqueName="adress">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Postal_Code" HeaderText="Postal_Code" 
                    SortExpression="Postal_Code" UniqueName="Postal_Code">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="district" HeaderText="district" 
                    SortExpression="district" UniqueName="district">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="support_zone" HeaderText="support_zone" 
                    SortExpression="support_zone" UniqueName="support_zone">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Order_Date" DataType="System.DateTime" 
                    HeaderText="Order_Date" SortExpression="Order_Date" UniqueName="Order_Date">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Required_Date" DataType="System.DateTime" 
                    HeaderText="Required_Date" SortExpression="Required_Date" 
                    UniqueName="Required_Date">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="InstallationDate" 
                    DataType="System.DateTime" HeaderText="InstallationDate" 
                    SortExpression="InstallationDate" UniqueName="InstallationDate">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Suffix" DataType="System.Int32" 
                    HeaderText="Suffix" SortExpression="Suffix" UniqueName="Suffix">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="CommDate" DataType="System.DateTime" 
                    HeaderText="CommDate" SortExpression="CommDate" UniqueName="CommDate">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Dismantling_Date" 
                    DataType="System.DateTime" HeaderText="Dismantling_Date" 
                    SortExpression="Dismantling_Date" UniqueName="Dismantling_Date">
                </telerik:GridBoundColumn>
                <telerik:GridCheckBoxColumn DataField="IC" DataType="System.Boolean" 
                    HeaderText="IC" SortExpression="IC" UniqueName="IC">
                </telerik:GridCheckBoxColumn>
                <telerik:GridBoundColumn DataField="Prefix" HeaderText="Prefix" 
                    SortExpression="Prefix" UniqueName="Prefix">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Site_Type" HeaderText="Site_Type" 
                    SortExpression="Site_Type" UniqueName="Site_Type">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Deactivation_Request_Date" 
                    DataType="System.DateTime" HeaderText="Deactivation_Request_Date" 
                    SortExpression="Deactivation_Request_Date" 
                    UniqueName="Deactivation_Request_Date">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Activation_Request_Date" 
                    DataType="System.DateTime" HeaderText="Activation_Request_Date" 
                    SortExpression="Activation_Request_Date" UniqueName="Activation_Request_Date">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Dismantling_Request_Date" 
                    DataType="System.DateTime" HeaderText="Dismantling_Request_Date" 
                    SortExpression="Dismantling_Request_Date" UniqueName="Dismantling_Request_Date">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Relocation_Node" 
                    HeaderText="Relocation_Node" SortExpression="Relocation_Node" 
                    UniqueName="Relocation_Node">
                </telerik:GridBoundColumn>
            </Columns>
            </MasterTableView><FilterMenu><CollapseAnimation Duration="200" Type="OutQuint" /></FilterMenu></telerik:RadGrid></telerik:RadAjaxPanel>
            
    </telerik:RadPane>
            
    </telerik:RadSplitter>


</asp:Content>

<asp:Content ID="Content5" ContentPlaceHolderID="main2" runat="server">
    <telerik:RadWindowManager id="windowmanager" Height="300px" Width="400px" 
        runat="server" Behavior="Default" InitialBehavior="None" Left="" 
        style="display: none;" Top="">
<Windows>
<telerik:RadWindow  ID="window" Width="400" Height="300" NavigateUrl="Assign Team.aspx" runat="server" OpenerElementID="radgrid2.rowcommand"></telerik:RadWindow></Windows>
</telerik:RadWindowManager>
    
     <asp:SqlDataSource ID="team_source" runat="server" 
            ConnectionString="<%$ ConnectionStrings:C:\DOCUMENTS AND SETTINGS\I.SHOUJAA\MY DOCUMENTS\VISUAL STUDIO 2008\PROJECTS\PROJECT XY\PROJECT XY\APP_DATA\ASPNETDB.MDFConnectionString %>" 
            SelectCommand="select top 20 *   FROM [Team_Members]"></asp:SqlDataSource>
    <telerik:RadGrid ID="team_grid" runat="server" DataSourceID="team_source" 
        GridLines="None" Visible="False">
<HeaderContextMenu>
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
</HeaderContextMenu>

<MasterTableView AutoGenerateColumns="False" Height="10px" DataKeyNames="surrogate_key" 
            DataSourceID="team_source">
<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>

<ExpandCollapseColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
    <norecordstemplate>
        No team members found</norecordstemplate>
    <Columns>
        <telerik:GridBoundColumn DataField="surrogate_key" DataType="System.Int32" 
            HeaderText="surrogate_key" ReadOnly="True" SortExpression="surrogate_key" 
            UniqueName="surrogate_key">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="Team_Identifier" DataType="System.Int32" 
            HeaderText="Team_Identifier" SortExpression="Team_Identifier" 
            UniqueName="Team_Identifier">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="Team_Member_ID" DataType="System.Int32" 
            HeaderText="Team_Member_ID" SortExpression="Team_Member_ID" 
            UniqueName="Team_Member_ID">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="Team_Member_Name" 
            HeaderText="Team_Member_Name" SortExpression="Team_Member_Name" 
            UniqueName="Team_Member_Name">
        </telerik:GridBoundColumn>
    </Columns>
</MasterTableView>

<FilterMenu>
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
</FilterMenu>
</telerik:RadGrid>
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="main3" runat="server">
</asp:Content>

 

2 Answers, 1 is accepted

Sort by
0
ibrahim
Top achievements
Rank 1
answered on 07 Apr 2009, 06:25 AM
ok i had to manage things from the ajax manager...
0
Amitkumar
Top achievements
Rank 1
answered on 19 Feb 2010, 12:09 PM
Hello
how can u resolve that issue please tell me i have same issue
Tags
Grid
Asked by
ibrahim
Top achievements
Rank 1
Answers by
ibrahim
Top achievements
Rank 1
Amitkumar
Top achievements
Rank 1
Share this question
or