Telerik Control Problem in MS Office Communicator 2007 Tab

1 posts, 0 answers
  1. Piyush Vardhan
    Piyush Vardhan avatar
    8 posts
    Member since:
    May 2008

    Posted 28 May 2008 Link to this post

    My Dear Telerick supports

    i am using grig splitter and context menu.
    It's work properly on browser. but wen i add this in MS Office
    Communicator 2007 Tab then paging of grid ,spliter and Context menu not work
    and when i removed java script from page then its work. So Any body
     solved This problem.(I have telerik 2007).

     HtmlCODE:-


     <table cellpadding="0" cellspacing="0" style="width:100%; height:auto; font-size: 9pt; font-family:Trebuchet MS; margin-top:0px; margin-left:0px; margin-right:5px">
        <tr>
        <td style="margin-top:0px">   
            <radA:RadAjaxManager ID="RadAjaxManager1" runat="server" EnableOutsideScripts="True">
            </radA:RadAjaxManager>
            <radA:RadAjaxPanel ID="RadAjaxPanel2" runat="server" Height="100%" Width="100%">  
           <radspl:RadSplitter ID="RadSplitter1" runat="server"  Width="100%" Orientation="Horizontal" Skin="WebBlue" Height="550px" LiveResize="True" >
               <radspl:RadPane ID="RadPane1" runat="server" Height="7%"  Scrolling="Y">
                 <table style="height:25px; margin:0px" >
                 <tr>
                    <td style="height: 28px">                 
                        &nbsp;Search:&nbsp;
                        <radC:RadComboBox ID="uxrcboxSelectType" runat="server" Skin="WebBlue" Width="79px">
                            <Items>
                                <radC:RadComboBoxItem ID="RadComboBoxItem1" runat="server" Text="Accounts" Value="Accounts" />
                                <radC:RadComboBoxItem ID="RadComboBoxItem2" runat="server" Text="Contacts" Value="Contacts" TabIndex="1" Selected="True" />
                             </Items>
                        </radC:RadComboBox>
                        &nbsp;By:&nbsp;                    
                        <radC:RadComboBox ID="uxrcboxSelectCriteria" runat="server" Skin="WebBlue" Width="79px">
                           <Items>
                            <radC:RadComboBoxItem runat="server" Text="First Name" Value="First Name" Selected="True" ID="RadComboBoxItem3"></radC:RadComboBoxItem>
                            <radC:RadComboBoxItem runat="server" Text="Email" TabIndex="1" Value="Email" ID="RadComboBoxItem4"></radC:RadComboBoxItem>
                            <radC:RadComboBoxItem runat="server" Text="Business Phone" TabIndex="2" Value="Business Phone" ID="RadComboBoxItem5"></radC:RadComboBoxItem>
                            <radC:RadComboBoxItem ID="RadComboBoxItem6" runat="server" Text="Home Phone" Value="Home Phone"></radC:RadComboBoxItem>
                            <radC:RadComboBoxItem ID="RadComboBoxItem7" runat="server" Text="Mobile Phone" Value="Mobile Phone"></radC:RadComboBoxItem>
                            <radC:RadComboBoxItem ID="RadComboBoxItem8" runat="server" Text="All" Value="All"></radC:RadComboBoxItem>
                           </Items>
                        </radC:RadComboBox>
                       </td>
                        <td>
                         &nbsp;For:&nbsp;
                        &nbsp;<asp:TextBox ID="uxtxtSelectCriteria" runat="server" TabIndex="1" Width="103px" ></asp:TextBox>
                        &nbsp;<asp:LinkButton ID="uxlbtnFilter" runat="server" Font-Bold="True" ForeColor="#69798C">Filter</asp:LinkButton>
                        &nbsp;<asp:LinkButton ID="uxlbtnRemovefilter" runat="server" Font-Bold="True" ForeColor="#69798C">Remove Filter</asp:LinkButton>
                       
                        </td>
                </tr>         
            </table>    
               
                </radspl:RadPane>
               <radspl:RadSplitBar ID="RadSplitBar1" runat="server" />
               <radspl:RadPane ID="RadPane2" runat="server" Height="98%" Scrolling="Y">
                   <radG:RadGrid ID="uxrgridDetails" runat="server"  AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" GridLines="None" PageSize="5" TabIndex="6" Skin="WebBlue" AllowMultiRowSelection="True"   >
                            <MasterTableView DataKeyNames="PhoneNumber1">
                                <Columns>
                                    <radG:GridBoundColumn DataField="Name" HeaderText="Name" UniqueName="column">
                                        <ItemStyle HorizontalAlign="Left" />
                                        <HeaderStyle HorizontalAlign="Left" />
                                    </radG:GridBoundColumn>
                               <radG:GridTemplateColumn DataField="PhoneNumber1" Display="false"  HeaderText="Business Phone" UniqueName="column2">
                                        <ItemTemplate>
                                           <asp:LinkButton ID="uxlbtnPhone1" runat="server" Text='<%# Eval("PhoneNumber1") %>'   ></asp:LinkButton>
                                        </ItemTemplate>
                                        <EditItemTemplate>
                                            <asp:TextBox ID="PhoneNumber1TextBox" runat="server" Text='<%# Bind("PhoneNumber1") %>'></asp:TextBox>
                                        </EditItemTemplate>
                                        <HeaderStyle HorizontalAlign="Left" />
                                        <ItemStyle HorizontalAlign="Left" />
                                    </radG:GridTemplateColumn>
                                    <radG:GridTemplateColumn DataField="PhoneNumber2" Display="false" HeaderText="Home Phone" UniqueName="column3">
                                        <ItemTemplate>
                                           <asp:LinkButton ID="uxlbtnPhone2" runat="server" Text='<%# Eval("PhoneNumber2") %>' ></asp:LinkButton>
                                        </ItemTemplate>
                                        <EditItemTemplate>
                                            <asp:TextBox ID="PhoneNumber2TextBox" runat="server" Text='<%# Bind("PhoneNumber2") %>'></asp:TextBox>
                                        </EditItemTemplate>
                                        <HeaderStyle HorizontalAlign="Left" />
                                        <ItemStyle HorizontalAlign="Left" />
                                    </radG:GridTemplateColumn>
                                    <radG:GridTemplateColumn DataField="PhoneNumber3" Display="false" HeaderText="Mobile Phone" UniqueName="column4">
                                        <ItemTemplate>
                                            <asp:LinkButton ID="uxlbtnPhone3" runat="server" Text='<%# Eval("PhoneNumber3") %>' ></asp:LinkButton>
                                        </ItemTemplate>
                                        <EditItemTemplate>
                                            <asp:TextBox ID="PhoneNumber3TextBox" runat="server" Text='<%# Bind("PhoneNumber3") %>'></asp:TextBox>
                                        </EditItemTemplate>
                                        <HeaderStyle HorizontalAlign="Left" />
                                        <ItemStyle HorizontalAlign="Left" />
                                    </radG:GridTemplateColumn>
                                </Columns>
                                <ExpandCollapseColumn Visible="False">
                                    <HeaderStyle Width="19px" />
                                </ExpandCollapseColumn>
                                <RowIndicatorColumn Visible="False">
                                    <HeaderStyle Width="20px" />
                                </RowIndicatorColumn>
                            </MasterTableView>
                            <ClientSettings>
       <Selecting AllowRowSelect ="true" />                 
      <ClientEvents   OnGridCreated="GridCreated" OnRowSelected= "RowSelected"      />

                            </ClientSettings>                   
        <SelectedItemStyle BackColor="#E0E0E0" />
                        </radG:RadGrid>     

                  
                   </radspl:RadPane>
              
           </radspl:RadSplitter>
        
         <script type="text/javascript">
        //<![CDATA[
           var  grid;
           var selRow;
           var selRow1;
           var selRow2;
    alert("1")
            function RowSelected(rowObject)
            {
    alert("RowSelected1")       
            selRow  = this.GetCellByColumnUniqueName(rowObject,"column2");
            selRow1 = this.GetCellByColumnUniqueName(rowObject,"column3");
            selRow2 = this.GetCellByColumnUniqueName(rowObject,"column4");
            document.cookie =   selRow.innerText +","+ selRow1.innerText + "," + selRow2.innerText ;
     alert("12")
           showMenu(event);
            }
          
           
            function showMenu(e)
            {
            alert("1showMenu(e)")
            var ca = document.cookie.split(',');
               var t1 = ca[0];
              var t2 = ca[1];
            var t3 =ca[2];
                       var contextMenu = <%= uxrcMenu.ClientID %>;
            alert("1showMenu(e)111")
                       contextMenu.Items[0].SetText( t1 );
                       contextMenu.Items[1].SetText ( t2 );
                       contextMenu.Items[2].SetText ( t3 );
                      // menu.Items[i].Text =
                       contextMenu.Show(e);
                       
                       e.cancelBubble = true;
                       
                     if (e.stopPropagation)
      {
         e.stopPropagation(); //prevents Firefox/Modzilla/Opera from closing the menu
      }

            }
       alert("123")    
    function GridCreated()
    {
    alert("grid1")
      grid = this;
    }
         </script>
       <radM:RadMenu ID="uxrcMenu" IsContext="true"  Flow="vertical"  runat="server" >
         <Items >
            <radM:RadMenuItem ID="RadMenuItem1" runat="server" Text= "adasadsdad" ></radM:RadMenuItem>
            <radM:RadMenuItem ID="RadMenuItem2" runat="server" Text= "adasadsdad" ></radM:RadMenuItem>        
            <radM:RadMenuItem ID="RadMenuItem3" runat="server"  Text= "adasadsdad"></radM:RadMenuItem>
        </Items>
    </radM:RadMenu>
                </radA:RadAjaxPanel>
           
          
    </td>
        </tr>
        </table>
      

Back to Top