Telerik Forums
UI for ASP.NET AJAX Forum
13 answers
446 views
This is probably simple but I'm not seeing why this won't work. I have  button on a form declared as:
<asp:button ID="CancelButton" runat="server" OnClick="CancelButton_Click" Text="Cancel" CssClass="btnNormal" OnClientClick="CancelTrainingSessionDialog(this); return false;"/>  
 
 
At the top of the content control, I have this:
<telerik:RadWindowManager ID="RadWindowManager1" runat="server">  
            </telerik:RadWindowManager> 
<telerik:RadCodeBlock ID="JavascriptRadCodeBlock" runat="server">  
 <script type="text/javascript">  
     var cancelMessage = "Are you sure";  
     var cancelTitle = "Cancel Title";  
     function CancelTrainingSessionDialog(cancelButton) {  
         radconfirm(cancelMessage, CancelTrainingSessionCallback);  
     }  
 
     function CancelTrainingSessionCallback(arg, cancelButton) {  
         if (arg == true) {              
             document.getElementById("CancelButton").click();     
         }  
     }  
       
 
      
 
    
 </script> 
</telerik:RadCodeBlock> 

Basically, I want the button to display the confirm and if the result is true, then I would like to process the code behind for the cancel button.
However, when I run this, and click OK in the confirmation dialog box, I get "Microsoft JScript runtime error: 'document.getElementById(...)' is null or not an object".

Any ideas on how to resolve this?
Thanks,
Dennis
Andrew
Top achievements
Rank 1
Veteran
Iron
 answered on 04 Feb 2011
1 answer
69 views
I have a grid and I select an item clientside after binding. I wish to scroll to the selected item. The documentation I have found on the telerik site references row.Control.scrollIntoView which is not (or is no longer) a valid construct.
Vasil
Telerik team
 answered on 04 Feb 2011
1 answer
159 views
I have been using the RadFileExplorer and have been getting on great with it, its a fantastic control. One thing I'm trying to do is add a lot of custom menu items. I have followed code examples on here to achieve this and it all all appears to work well apart from the menu in the tree view. if i right click an item the code uses the node currently selected, not the node i clicked, therefore I have to click the node I want before right clicking it again for the context menu to achieve the results I want, I've looked through the Documentation available online for both the file explorer and tree view but cannot see the client side code to achieve what I want, below is the client side code I currently use, any solution would be greatly appreciated!

function treeContextMenuClicked(toolbar, args) {
        var buttonValue = args.get_menuItem().get_value();
        var fileExplorer = $find("<% = rfeFilesAndFolders.ClientID %>");
        var treeView = fileExplorer.get_tree();
        var fID = treeView.get_selectedNode().get_attributes().getAttribute("FolderId");
        var fType = treeView.get_selectedNode().get_attributes().getAttribute("FolderType");
        var msg = fID + " " + fType
        var isSilverlight = 1;
         
        if (buttonValue == "share" && fType == 2) {
            var sURL = '<%=session("webbase") %>Share/' + fID + '/Add'
            var owindow = radopen(sURL, null);
            owindow.SetTitle('Share Object');
            owindow.SetSize(530, 360);
            owindow.Center();
            return false;
        }
Dobromir
Telerik team
 answered on 04 Feb 2011
1 answer
156 views
HI All,

I am facing some issues while rad window closing process. Please find my requirement below....

i have one rad grid which is using to export excel file to DB. and i am using superate aspx page to open this as for window.now i want ot know how can i close widow after completing the uploading process.i want to know that my code is in C# Code behind.
here is my code:
distribute.aspx:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DistributeDialog.aspx.cs"
    Inherits="DistributeDialog" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Distribute Activation Codes</title>
    <link href="~/style/styles.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="../style/Authentication.css" />
    <link href="~/style/styles.css" rel="stylesheet" type="text/css" />

    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>

    <style type="text/css">
        html, body, form
        {
            padding: 0;
            margin: 0;
            height: 100%;
            background: #f2f2de;
        }
        body
        {
            font: normal 11px Arial, Verdana, Sans-serif;
        }
        fieldset
        {
            height: 200px;
        }
        * + html fieldset
        {
            height: 168px;
            width: 268px;
        }
    </style>
</head>
<body>
    <form id="formDistributeDialog" method="post" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <telerik:RadFormDecorator ID="RadFormDecorator1" DecoratedControls="All" runat="server"
        Skin="Sunset" />

    <script type="text/javascript">
        function GetRadWindow() {
            var oWindow = null;
            if (window.radWindow) oWindow = window.radWindow;
            else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;
            return oWindow;
        }


        //fix for Chrome/Safari due to absolute positioned popup not counted as part of the content page layout
        function ChromeSafariFix(oWindow) {
            var iframe = oWindow.get_contentFrame();
            var body = iframe.contentWindow.document.body;

            setTimeout(function() {
                var height = body.scrollHeight;
                var width = body.scrollWidth;

                var iframeBounds = $telerik.getBounds(iframe);
                var heightDelta = height - iframeBounds.height;
                var widthDelta = width - iframeBounds.width;

                if (heightDelta > 0) oWindow.set_height(oWindow.get_height() + heightDelta);
                if (widthDelta > 0) oWindow.set_width(oWindow.get_width() + widthDelta);
                oWindow.center();
            }, 310);
        }
        

    </script>

    <div style="width: 268px; height: 193px;">
        <br />
        <br />
        <asp:Label ID="lblUpload" runat="server" Text="File upload:"></asp:Label>
        <asp:FileUpload ID="FlUpload" runat="server" /><%--<asp:Image ID="imgDownloadInfo" runat="server"
                ImageUrl="~/Images/Help.png" />--%>
        <asp:Label runat="server" CssClass="lbl_errormsg_visible" Text="" ID="lblGenerationCodes"
            Visible="false"></asp:Label>
        <asp:RequiredFieldValidator ID="rfvUpload" Display="Dynamic" ControlToValidate="FlUpload"
            ErrorMessage="Please select file!" Font-Names="Arial" Font-Size="11" runat="server"
            ValidationGroup="update">
        </asp:RequiredFieldValidator>
        <asp:RegularExpressionValidator ID="revFileUpLoadValidator" runat="server" ErrorMessage="Only (xls) allowed "
            ValidationExpression="(.*\.xlsx)|(.*\.xls)" Display="Dynamic" ControlToValidate="FlUpload"
            ValidationGroup="update">
        </asp:RegularExpressionValidator>
        <div style="margin: 20px 0 0 0;">
            <div style="float: left; margin: 6px 0 0 18px;">
                <asp:CheckBox ID="chkSendMail" runat="server" Text="Send emails to users" />
            </div>
        </div>
        <div style="margin-top: 4px; text-align: right;">
            <asp:Button ID="btnUpdate" runat="server" Text="Bulk Distribute" ValidationGroup="update"
                OnClick="ExportExcelToSQL_onclik" />
            <%--<input type="button" value="Cancel" onclick="" />--%>
        </div>
        <asp:TextBox ID="txtCompID" runat="server" Style="display: none;"></asp:TextBox>
    </div>
    </form>
</body>
</html>

Distribute.aspx.cs:
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Xml;
using System.Net;
using System.IO;
using Microsoft.Office.Interop;
using Microsoft.Office.Interop.Excel;
using System.Reflection;
using System.Text;

public partial class DistributeDialog : System.Web.UI.Page
{
    System.Data.DataTable dt = new System.Data.DataTable("dtExcel");
    protected void Page_Load(object sender, EventArgs e)
    {
        string url = HttpContext.Current.Request.RawUrl;
        if (CommonSession.CurrentUserId == null)
        {
            Response.Redirect("~\\Login\\Login.aspx");
        }
        else
        {
            if (url.IndexOf("?") == -1)
            {
                Response.Redirect("~\\Login\\login.aspx");
            }
            else
            {
                if (CommonSession.CurrentUserRole == "Superadmin")
                {
                   txtCompID.Text = Request.QueryString["companyID"].ToString();
                }
                else
                {
                    txtCompID.Text = CommonSession.CurrentUserCompanyId.ToString();
                }
            }
        }
    }
    protected void ExportExcelToSQL_onclik(object sender, EventArgs e)
    {
           try
            {
                formDistributeDialog.Disabled = true;
                lblGenerationCodes.Visible = false;
                string SendmailToUsers;
                File.Delete(Server.MapPath(@"~\Forms\TempFileUpload\") + FlUpload.FileName);
                string Filename = Server.MapPath(@"~\Forms\TempFileUpload\") + FlUpload.FileName;
                FlUpload.SaveAs(Filename);

                    string Ext = FlUpload.FileName.Substring(FlUpload.FileName.LastIndexOf(".") + 1);
                    string SheetName = FlUpload.FileName;
                    SheetName = SheetName.Replace(".xlsx", "");
                    SheetName = SheetName.Replace(".xls", "");
                    string ExceCon = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source= " + Filename + "; Extended Properties=Excel 8.0";                    
                    System.Data.OleDb.OleDbConnection excelConnection = new System.Data.OleDb.OleDbConnection(ExceCon);
                    excelConnection.Open();       
                    string OleStr = "SELECT * INTO [ODBC; " + ConfigurationManager.AppSettings["AONConnectionString"].ToString() + " ].[" + SheetName + "]   FROM [" + SheetName + "$]\"";
                    System.Data.OleDb.OleDbCommand excelCommand = new System.Data.OleDb.OleDbCommand(OleStr, excelConnection);
                    excelCommand.ExecuteNonQuery();
                    excelConnection.Close();
                    WebClient webClient = new WebClient();

                    if (chkSendMail.Checked == true)
                    {
                        SendmailToUsers = "true";
                    }
                    else
                    {
                        SendmailToUsers = "false";
                    }
                    string overview = webClient.DownloadString(string.Concat(ConfigurationManager.AppSettings["AONServiceURL"].ToString(), "/UpdateActivationCodeInfoResult/", SheetName, "/", SendmailToUsers,"/", CommonSession.CurrentUserId.ToString(), "/", CommonSession.CurrentUserCompanyId.ToString()));
                    File.Delete(Server.MapPath(@"~\Forms\TempFileUpload\") + FlUpload.FileName);
                    if (chkSendMail.Checked == true)
                    {
                        lblGenerationCodes.Text = "File Uploaded Successfully & Mails Sent Successfully ";
                        lblGenerationCodes.Visible = true;
                    }
                    else
                    {
                        lblGenerationCodes.Text = "File Uploaded Successfully";
                        lblGenerationCodes.Visible = true;
                        
                    }
                    GetRadWindowCloseScript();
                    
            }
            catch (Exception ex)
            {
                lblGenerationCodes.Text = ex.Message;
                lblGenerationCodes.Visible = true;
                formDistributeDialog.Disabled = false;               
            }
          

        
    }
    public static string GetRadWindowCloseScript()
    {
        return @"
            <script type='text/javascript'>
                var oWindow = null;
                if (window.radWindow)
                    oWindow = window.radWindow;
                else if(window.frameElement.radWindow)
                    oWindow = window.frameElement.radWindow;
                var currentWindow = oWindow;
                currentWindow.Close();
            </script>";
    }  
   
}
I am trying to accesing this as rad widow.fid that code in below;

 <telerik:RadWindowManager ID="RadWindowManager1" ShowContentDuringLoad="false" VisibleStatusbar="false"
        ReloadOnShow="true" runat="server" Skin="Office2007" EnableShadow="true">
        <Windows>
                 <telerik:RadWindow ID="DistributeWindow" Height="250px" Width="400px" Modal="true"
                runat="server" Behaviors="Close" NavigateUrl="~/Forms/DistributeDialog.aspx"
                OnClientClose="reBindCompanyOverviewPage">
            </telerik:RadWindow>
           
        </Windows>
    </telerik:RadWindowManager>

now i want to close these windows after completion of  My Export process.

PLease do me need full as soon as posible.
Georgi Tunev
Telerik team
 answered on 04 Feb 2011
1 answer
37 views
Hi,

I am using Telerik_AJAX_controls_2010_3_1215_for_SharePoint_2010_Trial with Sharepoint Foundation 2010 and Windows 7 64 bit environment.  I have enabled RadEditor features under my solutions and when I save/insert a picture in a Rich Text Field(Note Field with RichTextmode="FullHtml)  the image is not saving on that field. what is the issue?
The field is as follows:

<Field Type="Note"  NumLines="5"  ID="GUID"   Name="MyField"  RichTextMode="FullHtml"/>


Any help would be greatly appreciated.

Thanks and Regards,
Bharat Pandey
Stanimir
Telerik team
 answered on 04 Feb 2011
3 answers
280 views
Hi
I have a RadGrid in my form.
There is data displayed for visitors from Visitors table.
I want the data to be displayed in descending order, so that the latest visitor filled via a form should be seen first in the grid.

Any dvice is helpfull.
Thanks
Sucheta
Sucheta Patil
Top achievements
Rank 1
 answered on 04 Feb 2011
1 answer
91 views
Hi,

I am using the 'Telerik' skin on buttons only. The issue i am having is in Firefox (3.6.6) the button text is vertically aligned to the bottom of the button. I have downloaded the latest version of Telerik & have also added a .net button to a blank web form (so no css etc ..) but still no joy! The button text is fine in all browsers, any ideas ?

I have tested the Form Decorator examples page (http://demos.telerik.com/aspnet-ajax/formdecorator/examples/default/defaultcs.aspx) & the 'Submit Form' button on this page renders fine.

Cheers

Luke
Georgi Tunev
Telerik team
 answered on 04 Feb 2011
1 answer
89 views
Hello ,

I got an error when i trying to show radalert ,by the way it works on another page .

Here is Page Code :

<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="~/Property/AddProperty.aspx.cs" Inherits="GWERP.Aqar.AddProperty"
    EnableSessionState="True" %>
 
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <script type="text/javascript">
 
         
      //<![CDATA[
        function DeleteImageVedio(args, message, event, title) {
 
            if (args) {
                var conVal = radconfirm(message, event, 330, 100, null, title);
                if (conVal) {
                    args.parentNode.parentNode.parentNode.firstChild.firstChild.firstChild.className = "deleteted";
                    return false
                }
                else {
                    return false;
                }
 
            }
        }
        function validationFailed(sender, eventArgs) {
            $(".ErrorHolder").append("???? ????? ??? ?????? '" + '*' + eventArgs.get_fileName().substring(eventArgs.get_fileName().lastIndexOf('.')) + "'.</p>").fadeIn("slow");
        }
      //]]>
    </script>
     <tel:RadScriptManager ID="RadScriptManager2" runat="server">
            </tel:RadScriptManager>
             
    <tel:RadWindowManager ID="RadWindowManager1" runat="server" Skin="Web20">
                <AlertTemplate>
                    <div class="rwDialogPopup radalert" style="background-position:right;" dir="rtl" align="right">
                        <div class="rwDialogText">
                            {1}
                        </div>
                        <div align="center">
                            <a onclick="$find('{0}').close();" class="rwPopupButton" href="javascript:void(0);">
                                <span class="rwOuterSpan"><span class="rwInnerSpan">##LOC[OK]##</span> </span>
                            </a>
                        </div>
                    </div>
                </AlertTemplate>
                <PromptTemplate>
                    <div class="rwDialogPopup radprompt">
                        <div class="rwDialogText">
                            {1}
                        </div>
                        <div>
                            <script type="text/javascript">
                                function RadWindowprompt_detectenter(id, ev, input) {
                                    if (!ev) ev = window.event;
                                    if (ev.keyCode == 13) {
                                        var but = input.parentNode.parentNode.getElementsByTagName("A")[0];
                                        if (but) {
                                            if (but.click) but.click();
                                            else if (but.onclick) {
                                                but.focus(); var click = but.onclick; but.onclick = null; if (click) click.call(but);
                                            }
                                        }
                                        return false;
                                    }
                                    else return true;
                                
                            </script>
                            <input onkeydown="return RadWindowprompt_detectenter('{0}', event, this);" type="text"
                                class="rwDialogInput" value="{2}" />
                        </div>
                        <div>
                            <a onclick="$find('{0}').close(this.parentNode.parentNode.getElementsByTagName('input')[0].value);"
                                class="rwPopupButton" href="javascript:void(0);"><span class="rwOuterSpan"><span
                                    class="rwInnerSpan">##LOC[OK]##</span></span></a> <a onclick="$find('{0}').close(null);"
                                        class="rwPopupButton" href="javascript:void(0);"><span class="rwOuterSpan"><span
                                            class="rwInnerSpan">##LOC[Cancel]##</span></span></a>
                        </div>
                    </div>
                </PromptTemplate>
                <ConfirmTemplate>
   
                    <div class="rwDialogPopup radconfirm" style="background-position:right;" dir="rtl" align="right">
                        <div class="rwDialogText">
                            {1}
                        </div>
                        <div>
                            <a onclick="$find('{0}').close(false);" class="rwPopupButton" href="javascript:void(0);">
                                <span class="rwOuterSpan"><span class="rwInnerSpan">##LOC[Cancel]##</span></span></a>
                            <a onclick="$find('{0}').close(true);" class="rwPopupButton" href="javascript:void(0);">
                                <span class="rwOuterSpan"><span class="rwInnerSpan">##LOC[OK]##</span></span></a>
                        </div>
                    </div>
                </ConfirmTemplate>
            </tel:RadWindowManager>
    <link href="../css/sushi.css" rel="stylesheet" type="text/css" />
    <tel:RadAjaxLoadingPanel ID="ralpMain" runat="server" Skin="Web20">
          
    </tel:RadAjaxLoadingPanel>
    <asp:Panel ID="rapMain" runat="server" Height="100%" Width="100%">
        <table style="width: 100%">
            <tr>
                <td colspan="3" align="center">
                    <asp:Label ID="Label30" runat="server" Text="????? ????" CssClass="formlable1" Font-Size="Large"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                      
                </td>
                <td>
                      
                </td>
                <td>
                      
                </td>
            </tr>
            <tr>
                <td>
                    <gw:CustomLabel ID="lblPropertyStateName0" CssClass="formlable" runat="server" MyEnabled=""
                        MyVisible="">?????</gw:CustomLabel>
                </td>
                <td>
                    <tel:RadComboBox ID="ddlCountry" AllowCustomText="false" MarkFirstMatch="true" DataSourceID="ods_GetLookupDetails"
                        DataValueField="LockupDetail_ID" DataTextField="LockupDetail_Name" AutoPostBack="true"
                        AppendDataBoundItems="true" runat="server" Skin="Web20" OnSelectedIndexChanged="ddlCountry1_SelectedIndexChanged"
                        HighlightTemplatedItems="true">
                        <Items>
                            <tel:RadComboBoxItem Text="------?????? ????????-----" Value="0" />
                        </Items>
                    </tel:RadComboBox>
                    <asp:ObjectDataSource ID="ods_GetLookupDetails" runat="server" SelectMethod="GetLockupDetails"
                        TypeName="GWERP.DataAccess.Lockups.General_LockupDetail1">
                        <SelectParameters>
                            <asp:Parameter DefaultValue="123" Name="LockupMaster_ID" Type="Int32" />
                            <asp:Parameter DefaultValue="ar" Name="Lang" Type="String" />
                        </SelectParameters>
                    </asp:ObjectDataSource>
                </td>
                <td>
                      
                </td>
            </tr>
            <tr>
                <td>
                    <gw:CustomLabel ID="lblPropertyStateName2" CssClass="formlable" runat="server" MyEnabled=""
                        MyVisible="">???????</gw:CustomLabel>
                </td>
                <td>
                    <tel:RadComboBox ID="ddlRegion" runat="server" AllowCustomText="false" AppendDataBoundItems="true"
                        A DataSourceID="odsGetRegions" DataTextField="LookupDetalDeepName" DataValueField="LookupDetailsDeep_ID"
                        AutoPostBack="True" HighlightTemplatedItems="true" MarkFirstMatch="true" Skin="Web20"
                        OnSelectedIndexChanged="ddlRegion_SelectedIndexChanged">
                        <Items>
                            <tel:RadComboBoxItem Text="------?????? ????????-----" Value="0" />
                        </Items>
                    </tel:RadComboBox>
                    <asp:ObjectDataSource ID="odsGetRegions" runat="server" SelectMethod="GetLockupDetails"
                        TypeName="GWERP.DataAccess.Lockups.GeneralLookupDeep">
                        <SelectParameters>
                            <asp:ControlParameter ControlID="ddlCountry" Name="LockupMaster_ID" PropertyName="SelectedValue"
                                Type="Int32" />
                            <asp:Parameter DefaultValue="ar" Name="Lang" Type="String" />
                        </SelectParameters>
                    </asp:ObjectDataSource>
                </td>
                <td>
                      
                </td>
            </tr>
            <tr>
                <td>
                    <gw:CustomLabel ID="lblPropertyStateName1" CssClass="formlable" runat="server">???????</gw:CustomLabel>
                </td>
                <td>
                    <tel:RadComboBox ID="ddlCity" runat="server" A="" AllowCustomText="false" AppendDataBoundItems="true"
                        AutoPostBack="True" DataSourceID="odsCites" DataTextField="LookupDetalDeepName"
                        DataValueField="LookupDetailsDeep_ID" HighlightTemplatedItems="true" MarkFirstMatch="true"
                        Skin="Web20" OnSelectedIndexChanged="ddlCity_SelectedIndexChanged">
                        <Items>
                            <tel:RadComboBoxItem Text="------?????? ????????-----" Value="0" />
                        </Items>
                    </tel:RadComboBox>
                    <asp:ObjectDataSource ID="odsCites" runat="server" SelectMethod="GetLockupDetails"
                        TypeName="GWERP.DataAccess.Lockups.GeneralLookupDeep">
                        <SelectParameters>
                            <asp:ControlParameter ControlID="ddlRegion" Name="LockupMaster_ID" PropertyName="SelectedValue"
                                Type="Int32" />
                            <asp:Parameter DefaultValue="ar" Name="Lang" Type="String" />
                        </SelectParameters>
                    </asp:ObjectDataSource>
                </td>
                <td>
                      
                </td>
            </tr>
            <tr>
                <td>
                    <gw:CustomLabel ID="CustomLabel1" runat="server" CssClass="formlable">????</gw:CustomLabel>
                </td>
                <td>
                    <tel:RadComboBox ID="ddlQuarter" runat="server" A="" AllowCustomText="false" AppendDataBoundItems="true"
                        AutoPostBack="True" DataSourceID="odsQuarter" DataTextField="LookupDetalDeepName"
                        DataValueField="LookupDetailsDeep_ID" HighlightTemplatedItems="true" MarkFirstMatch="true"
                        Skin="Web20">
                        <Items>
                            <tel:RadComboBoxItem Text="------?????? ????????-----" Value="0" />
                        </Items>
                    </tel:RadComboBox>
                    <asp:ObjectDataSource ID="odsQuarter" runat="server" SelectMethod="GetLockupDetails"
                        TypeName="GWERP.DataAccess.Lockups.GeneralLookupDeep">
                        <SelectParameters>
                            <asp:ControlParameter ControlID="ddlCity" Name="LockupMaster_ID" PropertyName="SelectedValue"
                                Type="Int32" />
                            <asp:Parameter DefaultValue="ar" Name="Lang" Type="String" />
                        </SelectParameters>
                    </asp:ObjectDataSource>
                </td>
                <td>
                      
                </td>
            </tr>
            <tr>
                <td>
                    <gw:CustomLabel ID="CustomLabel2" runat="server" MyEnabled="" MyVisible="" CssClass="formlable">??? ??????</gw:CustomLabel>
                </td>
                <td>
                    <tel:RadTextBox ID="txtPeiceNumber" runat="server" Skin="Web20" Columns="24">
                    </tel:RadTextBox>
                </td>
                <td>
                      
                </td>
            </tr>
            <tr>
                <td>
                    <gw:CustomLabel ID="CustomLabel11" CssClass="formlable" runat="server" MyEnabled=""
                        MyVisible="">??? ??????</gw:CustomLabel>
                </td>
                <td>
                    <tel:RadTextBox ID="txtPropertySchemaNumber" runat="server" Columns="24" Skin="Web20">
                    </tel:RadTextBox>
                </td>
                <td>
                      
                </td>
            </tr>
            <tr>
                <td>
                    <gw:CustomLabel ID="lblPropertyStateName" runat="server" CssClass="formlable" MyEnabled=""
                        MyVisible="">??? ??????</gw:CustomLabel>
                </td>
                <td>
                    <tel:RadTextBox ID="txtPropertyStateName" runat="server" Columns="24" Skin="Web20">
                    </tel:RadTextBox>
                </td>
                <td>
                      
                </td>
            </tr>
            <tr>
                <td>
                    <gw:CustomLabel ID="lblPropertyStateName3" CssClass="formlable" runat="server" MyEnabled=""
                        MyVisible="">??? ??????</gw:CustomLabel>
                </td>
                <td>
                    <tel:RadComboBox ID="ddlPropertyType" runat="server" A="" AllowCustomText="false"
                        AppendDataBoundItems="true" AutoPostBack="True" DataSourceID="odsPropertyType"
                        DataTextField="LockupDetail_Name" DataValueField="LockupDetail_ID" HighlightTemplatedItems="true"
                        MarkFirstMatch="true" Skin="Web20">
                        <Items>
                            <tel:RadComboBoxItem Text="------?????? ????????-----" Value="0" />
                        </Items>
                    </tel:RadComboBox>
                    <asp:ObjectDataSource ID="odsPropertyType" runat="server" SelectMethod="GetLockupDetails"
                        TypeName="GWERP.DataAccess.Lockups.General_LockupDetail1">
                        <SelectParameters>
                            <asp:Parameter DefaultValue="126" Name="LockupMaster_ID" Type="Int32" />
                            <asp:Parameter DefaultValue="ar" Name="Lang" Type="String" />
                        </SelectParameters>
                    </asp:ObjectDataSource>
                </td>
                <td>
                      
                </td>
            </tr>
            <tr>
                <td valign="top">
                    <gw:CustomLabel ID="lblAddress" runat="server" MyEnabled="" MyVisible="" CssClass="formlable">???????</gw:CustomLabel>
                </td>
                <td>
                    <tel:RadTextBox ID="txtAddress" runat="server" Skin="Web20" Columns="24" Height="100"
                        TextMode="MultiLine">
                    </tel:RadTextBox>
                </td>
                <td>
                      
                </td>
            </tr>
            <tr>
                <td>
                    <gw:CustomLabel ID="CustomLabel4" runat="server" MyEnabled="" MyVisible="" CssClass="formlable">??????</gw:CustomLabel>
                </td>
                <td>
                    <tel:RadComboBox ID="ddlPropertyState" runat="server" A="" AllowCustomText="false"
                        AppendDataBoundItems="true" AutoPostBack="True" DataTextField="LockupDetail_Name"
                        DataValueField="LockupDetail_ID" DataSourceID="odsPropertyState" HighlightTemplatedItems="true"
                        MarkFirstMatch="true" Skin="Web20">
                        <Items>
                            <tel:RadComboBoxItem Text="------?????? ????????-----" Value="0" />
                        </Items>
                    </tel:RadComboBox>
                    <asp:ObjectDataSource ID="odsPropertyState" runat="server" SelectMethod="GetLockupDetails"
                        TypeName="GWERP.DataAccess.Lockups.General_LockupDetail1">
                        <SelectParameters>
                            <asp:Parameter DefaultValue="127" Name="LockupMaster_ID" Type="Int32" />
                            <asp:Parameter DefaultValue="ar" Name="Lang" Type="String" />
                        </SelectParameters>
                    </asp:ObjectDataSource>
                </td>
                <td>
                      
                </td>
            </tr>
            <tr>
                <td valign="top">
                    <gw:CustomLabel ID="CustomLabel5" runat="server" MyEnabled="" MyVisible="" CssClass="formlable">?????</gw:CustomLabel>
                </td>
                <td>
                    <tel:RadTextBox ID="txtPropertyDescription" runat="server" Columns="24" Height="100"
                        Skin="Web20" TextMode="MultiLine">
                    </tel:RadTextBox>
                </td>
                <td>
                      
                </td>
            </tr>
            <tr>
                <td>
                    <gw:CustomLabel ID="CustomLabel7" runat="server" MyEnabled="" MyVisible="" CssClass="formlable">???????</gw:CustomLabel>
                </td>
                <td>
                    <tel:RadTextBox ID="txtPropertySpace" runat="server" Skin="Web20" Columns="24">
                    </tel:RadTextBox>
                </td>
                <td>
                      
                </td>
            </tr>
            <tr>
                <td style="height: 30px">
                    <gw:CustomLabel ID="CustomLabel6" runat="server" CssClass="formlable" MyEnabled=""
                        MyVisible="">?????</gw:CustomLabel>
                </td>
                <td style="height: 30px">
                    <table style="width: 100%;">
                        <tr>
                            <td>
                                <tel:RadTextBox ID="txtPropertyPrice" runat="server" Columns="24" Skin="Web20">
                                </tel:RadTextBox>
                            </td>
                            <td>
                                <gw:CustomLabel ID="CustomLabel12" runat="server" CssClass="formlable" MyEnabled=""
                                    MyVisible="">?? :</gw:CustomLabel>
                            </td>
                   <td colspan="2">
                   <fieldset>
                                    <legend>
                                        <asp:RadioButtonList ID="rbGregHijri" runat="server" CssClass="formlable" RepeatDirection="Horizontal"
                                            AutoPostBack="True" OnSelectedIndexChanged="rbGregHijri_SelectedIndexChanged">
                                            <asp:ListItem Value="en-US" Selected="True">??????</asp:ListItem>
                                            <asp:ListItem Value="ar-SA">????</asp:ListItem>
                                        </asp:RadioButtonList>
                                    </legend>
                   <table>
                            <tr>
                                     <td>
                                <tel:RadDateTimePicker ID="rdtpPriceFrom" Skin="Web20" runat="server"
                                             AutoPostBackControl="Calendar"
                                             onselecteddatechanged="rdtpPriceFrom_SelectedDateChanged">
                                    <TimeView CellSpacing="-1">
                                    </TimeView>
                                     
                                    <TimePopupButton HoverImageUrl="" ImageUrl="" />
                                    <Calendar Skin="Web20" UseColumnHeadersAsSelectors="False" CultureInfo="en-US" UseRowHeadersAsSelectors="False"
                                        ViewSelectorText="x">
                                    </Calendar>
                                    <DateInput Enabled="false" DateFormat="d/M/yyyy HH:mm:ss"
                                        SelectedDate="10/27/2010 11:02:41" AutoPostBack="True">
                                    </DateInput>
                                    <DatePopupButton HoverImageUrl="" ImageUrl="" />
                                    <ShowAnimation Type="Slide" />
                                </tel:RadDateTimePicker>
                            </td>
                            <td>
                                <gw:CustomLabel ID="CustomLabel13" runat="server" CssClass="formlable" MyEnabled=""
                                    MyVisible="">???</gw:CustomLabel>
                            </td>
                            <td>
                                <tel:RadDateTimePicker ID="rdtpPriceTo" Skin="Web20" runat="server"
                                    AutoPostBackControl="Calendar"   
                                    onselecteddatechanged="rdtpPriceTo_SelectedDateChanged">
                                    <TimeView CellSpacing="-1">
                                    </TimeView>
                                    <TimePopupButton HoverImageUrl="" ImageUrl="" />
                                    <Calendar Skin="Web20" UseColumnHeadersAsSelectors="False"   CultureInfo="en-US"
                                        UseRowHeadersAsSelectors="False" ViewSelectorText="x">
                                    </Calendar>
                                    <DateInput Enabled="false" DateFormat="d/M/yyyy HH:mm:ss" AutoPostBack="True">
                                    </DateInput>
                                    <DatePopupButton HoverImageUrl="" ImageUrl="" />
                                </tel:RadDateTimePicker>
                            </td>
                            </tr>
                            </table>
                             </fieldset>
                   </td>
                            
                        </tr>
                    </table>
                </td>
                <td style="height: 30px">
                      
                </td>
            </tr>
            <tr>
                <td>
                    <gw:CustomLabel ID="CustomLabel10" runat="server" MyEnabled="" MyVisible="" CssClass="formlable">??? ???????</gw:CustomLabel>
                </td>
                <td>
                    <tel:RadComboBox ID="ddlPropertyOperation" runat="server" A="" AllowCustomText="false"
                        AppendDataBoundItems="true" AutoPostBack="True" DataSourceID="odsPropertyOperation"
                        DataTextField="LockupDetail_Name" DataValueField="LockupDetail_ID" HighlightTemplatedItems="true"
                        MarkFirstMatch="true" Skin="Web20">
                        <Items>
                            <tel:RadComboBoxItem Text="------?????? ????????-----" Value="0" Owner="ddlPropertyOperation" />
                        </Items>
                    </tel:RadComboBox>
                    <asp:ObjectDataSource ID="odsPropertyOperation" runat="server" SelectMethod="GetLockupDetails"
                        TypeName="GWERP.DataAccess.Lockups.General_LockupDetail1">
                        <SelectParameters>
                            <asp:Parameter DefaultValue="128" Name="LockupMaster_ID" Type="Int32" />
                            <asp:Parameter DefaultValue="ar" Name="Lang" Type="String" />
                        </SelectParameters>
                    </asp:ObjectDataSource>
                </td>
                <td>
                      
                </td>
            </tr>
            <tr>
                <td>
                      
                </td>
                <td>
                </td>
                <td>
                      
                </td>
            </tr>
        </table>
        <br />
        <table style="width: 100%;">
            <tr>
                <td colspan="3" align="center">
                    <div class="ErrorHolder">
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <gw:CustomLabel ID="CustomLabel8" runat="server" MyEnabled="" MyVisible="" CssClass="formlable">????? ?????</gw:CustomLabel>
                </td>
                <td>
                      
                </td>
                <td>
                      
                </td>
            </tr>
            <tr>
                <td colspan="3">
                    <tel:RadAsyncUpload ID="raUploadImages" MultipleFileSelection="Automatic" runat="server"
                        TargetFolder="~/PropertiesPath/Images/" Skin="Web20" AllowedFileExtensions="jpg,jpeg,png,gif"
                        OnClientValidationFailed="validationFailed">
                        <Localization Cancel="?????" Remove="???" Select="??????" />
                    </tel:RadAsyncUpload>
                </td>
            </tr>
            <tr>
                <td colspan="3">
                    <tel:RadListView ID="lvImages" runat="server" AllowPaging="True" Visible="false"
                        DataSourceID="odsGetPropertyImages" EnableLinqExpressions="false" ItemPlaceholderID="phImages"
                        PageSize="6" Skin="Web20">
                        <LayoutTemplate>
                            <fieldset>
                                <legend class="formlable1">
                                    <h1>
                                        ?????</h1>
                                </legend>
                                <br />
                                <div align="right">
                                    <asp:PlaceHolder ID="phImages" runat="server"></asp:PlaceHolder>
                                </div>
                            </fieldset>
                            <tel:RadDataPager ID="rdpImages" runat="server" PageSize="6" Skin="Web20">
                                <Fields>
                                    <tel:RadDataPagerSliderField />
                                </Fields>
                            </tel:RadDataPager>
                        </LayoutTemplate>
                        <ItemTemplate>
                            <fieldset style="float: right; width: 170px; text-align: center; height: 170px">
                                <table>
                                    <tr>
                                        <td align="right" style="width: 25%; text-align: center">
                                            <div>
                                            </div>
                                            <asp:Image ID="imgPropertyImage" runat="server" BorderColor="#0B7FAD" Style="z-index: 999;"
                                                BorderWidth="2" Height="140" ImageUrl='<%# Eval("PropertyDetailsPath") %>' Width="130px" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:LinkButton CssClass="rbRemove" Text="." CommandArgument='<%# Eval("PropertyDetailsID") %>'
                                                OnClick="DeleteImageVideo" ForeColor="White" Width="20px" ID="lnkDeleteImage"
                                                runat="server" OnClientClick="javascript:return radconfirm('?? ??? ????? ?? ??? ???????',event,250,100,null,'????? ?????');">  </asp:LinkButton>
                                        </td>
                                    </tr>
                                </table>
                            </fieldset>
                        </ItemTemplate>
                    </tel:RadListView>
                    <asp:ObjectDataSource ID="odsGetPropertyImages" runat="server" SelectMethod="GetPropertyDetail"
                        TypeName="GWERP.DataAccess.Aqar.Properties.PropertiesDetails">
                        <SelectParameters>
                            <asp:ControlParameter ControlID="hfPropertyID" Name="propertyID" PropertyName="Value"
                                Type="Int32" />
                            <asp:Parameter DefaultValue="0" Name="detailType" Type="Int32" />
                        </SelectParameters>
                    </asp:ObjectDataSource>
                </td>
            </tr>
            <tr>
                <td>
                    <gw:CustomLabel ID="CustomLabel9" runat="server" MyEnabled="" MyVisible="" CssClass="formlable">????? ????? ???????</gw:CustomLabel>
                </td>
                <td>
                      
                </td>
                <td>
                      
                </td>
            </tr>
            <tr>
                <td colspan="3">
                    <tel:RadAsyncUpload ID="raUploadClips" MultipleFileSelection="Automatic" runat="server"
                        TargetFolder="~/PropertiesPath/Images/" Skin="Web20" AllowedFileExtensions="avi,3gp,wmv,mp4,flv"
                        OnClientValidationFailed="validationFailed">
                        <Localization Cancel="?????" Remove="???" Select="??????" />
                    </tel:RadAsyncUpload>
                </td>
            </tr>
            <tr>
                <td colspan="3">
                    <tel:RadListView ID="lvVedios" runat="server" AllowPaging="true" Visible="false"
                        DataSourceID="odsGetPropertyVedios" EnableLinqExpressions="false" ItemPlaceholderID="phVedios"
                        PageSize="6" Skin="Web20">
                        <LayoutTemplate>
                            <fieldset>
                                <legend class="formlable1">
                                    <h1>
                                        ???????</h1>
                                </legend>
                                <br />
                                <div align="right">
                                    <asp:PlaceHolder ID="phVedios" runat="server"></asp:PlaceHolder>
                                </div>
                            </fieldset>
                            <div align="center">
                                <tel:RadDataPager ID="rdpVedios0" runat="server" PageSize="6" Skin="Web20">
                                    <Fields>
                                        <tel:RadDataPagerSliderField />
                                    </Fields>
                                </tel:RadDataPager>
                            </div>
                        </LayoutTemplate>
                        <ItemTemplate>
                            <fieldset style="float: right; width: 180px; text-align: center">
                                <table>
                                    <tr>
                                        <td align="right" style="width: 25%; text-align: center">
                                            <object id="flowplayer0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" style="width: 170px;
                                                height: 170px; border: none;" style="border: 2px solid #0B7FAD">
                                                <param name="movie" value="../flowplayer-3.2.5.swf" />
                                                <param name="wmode" value="transparent" />
                                                <param name="flashvars" wmode="transparent" value=<%#"config={'clip':{'url':'"+Eval("PropertyDetailsPath")+"', 'autoPlay':false, 'autoBuffering':true}}" %> />
                                            </object>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="center">
                                            <asp:LinkButton CssClass="rbRemove" Text="." ForeColor="White" Width="20px" OnClick="DeleteImageVideo"
                                                ID="lnkRemoveVedio" runat="server" CommandArgument='<%# Eval("PropertyDetailsID") %>'
                                                OnClientClick="javascript:return radconfirm('?? ??? ????? ?? ??? ???????',event,250,100,null,'????? ?????');">  </asp:LinkButton>
                                        </td>
                                    </tr>
                                </table>
                            </fieldset>
                        </ItemTemplate>
                    </tel:RadListView>
                    <asp:ObjectDataSource ID="odsGetPropertyVedios" runat="server" SelectMethod="GetPropertyDetail"
                        TypeName="GWERP.DataAccess.Aqar.Properties.PropertiesDetails">
                        <SelectParameters>
                            <asp:ControlParameter ControlID="hfPropertyID" Name="propertyID" PropertyName="Value"
                                Type="Int32" />
                            <asp:Parameter DbType="Int32" DefaultValue="1" Name="detailType" />
                        </SelectParameters>
                    </asp:ObjectDataSource>
                </td>
            </tr>
            <tr>
                <td align="center" colspan="3">
                    <table border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td>
                                <table>
                                    <tr>
                                        <td>
                                            <tel:RadButton runat="server" ID="rbSave" ButtonType="LinkButton" Skin="Web20" OnClick="lnkSave_Click"
                                                Text="???" CommandArgument="save">
                                                <Icon PrimaryIconCssClass="rbSave" PrimaryIconLeft="4" PrimaryIconTop="4" />
                                            </tel:RadButton>
                                        </td>
                                        <td>
                                            <tel:RadButton runat="server" ID="rbEdit" ButtonType="LinkButton" Skin="Web20" Enabled="false"
                                                Text="?????" OnClick="rbEdit_Click" CommandArgument="edit">
                                                <Icon PrimaryIconCssClass="rbEdit" PrimaryIconLeft="4" PrimaryIconTop="4" />
                                            </tel:RadButton>
                                        </td>
                                        <td>
                                            <tel:RadButton runat="server" ID="rbDelete" CommandArgument="delete" ButtonType="LinkButton"
                                                Skin="Web20" Enabled="false" Text="???" OnClick="rbDelete_Click">
                                                <Icon PrimaryIconCssClass="rbRemove" PrimaryIconLeft="4" PrimaryIconTop="4" />
                                            </tel:RadButton>
                                        </td>
                                        <td>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td colspan="3">
                    <asp:HiddenField ID="hfPropertyID" runat="server" />
                </td>
            </tr>
            <tr>
                <td colspan="3">
                    <tel:RadAjaxLoadingPanel ID="ralpGvProperties" runat="server" Skin="Web20">
                    </tel:RadAjaxLoadingPanel>
                </td>
            </tr>
        </table>
    </asp:Panel>
    <table width="100%">
        <tr>
            <td colspan="3">
                <tel:RadGrid ID="rgProperties" runat="server" AutoGenerateColumns="False" AllowPaging="True"
                    PageSize="2" Skin="Web20" DataSourceID="ods_GetProperties" Culture="ar-SA" AllowFilteringByColumn="True"
                    AllowSorting="True" GridLines="None" ShowGroupPanel="True">
                    <ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True" Selecting-AllowRowSelect="true"
                        AllowDragToGroup="True">
                        <Selecting AllowRowSelect="True" />
                        <Selecting AllowRowSelect="True" />
                    </ClientSettings>
                    <ExportSettings FileName="Properites" OpenInNewWindow="true" IgnorePaging="true"
                        ExportOnlyData="true">
                    </ExportSettings>
                    <GroupPanel Text="???? ??????? ???? ?????? ??????? ?????">
                        <PanelStyle Height="50px" Width="100%" />
                    </GroupPanel>
                    <MasterTableView CommandItemDisplay="Top" AllowPaging="True" DataSourceID="ods_GetProperties"
                        GroupLoadMode="Server" PageSize="3">
                        <NestedViewTemplate>
                            <tel:RadTabStrip runat="server" ID="TabStip1" MultiPageID="mpImagesVedios" SelectedIndex="0"
                                Skin="Web20">
                                <Tabs>
                                    <tel:RadTab runat="server" Text="?????" PageViewID="pvImages">
                                    </tel:RadTab>
                                    <tel:RadTab runat="server" Text="???????" PageViewID="pvVedios">
                                    </tel:RadTab>
                                </Tabs>
                            </tel:RadTabStrip>
                            <tel:RadMultiPage runat="server" ID="mpImagesVedios" SelectedIndex="0" RenderSelectedPageOnly="false">
                                <tel:RadPageView runat="server" ID="pvImages" BorderColor="#00B6FF" BorderWidth="2">
                                    <asp:Label ID="lblPropertyID" Font-Bold="true" Font-Italic="true" Text='<%# Eval("PropertyID") %>'
                                        Visible="false" runat="server" /><tel:RadListView runat="server" ID="lvImages" Skin="Web20"
                                            AllowPaging="true" ItemPlaceholderID="phImages" PageSize="6" DataSourceID="odsGetPropertyImages"
                                            EnableLinqExpressions="false">
                                            <LayoutTemplate>
                                                <div align="right">
                                                    <asp:PlaceHolder ID="phImages" runat="server"></asp:PlaceHolder>
                                                </div>
                                                <div align="center">
                                                    <tel:RadDataPager ID="rdpImages" runat="server" PageSize="6" Skin="Web20">
                                                        <Fields>
                                                            <tel:RadDataPagerSliderField />
                                                        </Fields>
                                                    </tel:RadDataPager>
                                                </div>
                                            </LayoutTemplate>
                                            <ItemTemplate>
                                                  <asp:Image runat="server" ID="imgPropertyImage" BorderWidth="2" BorderColor="#0B7FAD"
                                                    ImageUrl='<%# Eval("PropertyDetailsPath") %>' Width="100" Height="120" /></ItemTemplate>
                                        </tel:RadListView>
                                    <asp:ObjectDataSource ID="odsGetPropertyImages" runat="server" SelectMethod="GetPropertyDetail"
                                        TypeName="GWERP.DataAccess.Aqar.Properties.PropertiesDetails">
                                        <SelectParameters>
                                            <asp:ControlParameter ControlID="lblPropertyID" PropertyName="Text" Name="propertyID"
                                                Type="Int32" />
                                            <asp:Parameter Name="detailType" DbType="Int32" DefaultValue="0" />
                                        </SelectParameters>
                                    </asp:ObjectDataSource>
                                </tel:RadPageView>
                                <tel:RadPageView runat="server" ID="pvVedios" BorderColor="#00B6FF" BorderWidth="2">
                                    <tel:RadListView runat="server" ID="lvVedios" Skin="Web20" AllowPaging="true" ItemPlaceholderID="phVedios"
                                        PageSize="6" DataSourceID="odsGetPropertyVedios" EnableLinqExpressions="false">
                                        <LayoutTemplate>
                                            <div align="right">
                                                <asp:PlaceHolder ID="phVedios" runat="server"></asp:PlaceHolder>
                                            </div>
                                            <div align="center">
                                                <tel:RadDataPager ID="rdpVedios" runat="server" PageSize="6" Skin="Web20">
                                                    <Fields>
                                                        <tel:RadDataPagerSliderField />
                                                    </Fields>
                                                </tel:RadDataPager>
                                            </div>
                                        </LayoutTemplate>
                                        <ItemTemplate>
                                            <object id="flowplayer" style="border: 2px solid #0B7FAD" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
                                                style="z-index: 99; width: 170px; height: 170px; padding: 5px 5px; margin: 3px 3px 0px 1px;
                                                border: none;">
                                                <param name="movie" value="../flowplayer-3.2.5.swf" />
                                                <param name="wmode" value="transparent" />
                                                <param name="flashvars" wmode="transparent" value=<%#"config={'clip':{'url':'"+Eval("PropertyDetailsPath")+"', 'autoPlay':false, 'autoBuffering':true}}" %> />
                                            </object>
                                        </ItemTemplate>
                                    </tel:RadListView>
                                    <asp:ObjectDataSource ID="odsGetPropertyVedios" runat="server" SelectMethod="GetPropertyDetail"
                                        TypeName="GWERP.DataAccess.Aqar.Properties.PropertiesDetails">
                                        <SelectParameters>
                                            <asp:ControlParameter ControlID="lblPropertyID" PropertyName="Text" Name="propertyID"
                                                Type="Int32" />
                                            <asp:Parameter Name="detailType" DbType="Int32" DefaultValue="1" />
                                        </SelectParameters>
                                    </asp:ObjectDataSource>
                                </tel:RadPageView>
                            </tel:RadMultiPage>
                        </NestedViewTemplate>
                        <CommandItemSettings AddNewRecordText="????? ???? ????" ExportToExcelText="????? ????"
                            ExportToPdfText="????? pdf" RefreshText="?????" ShowExportToExcelButton="True"
                            ShowExportToPdfButton="True" ShowExportToWordButton="True" />
                        <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
                            <HeaderStyle Width="20px" />
                        </RowIndicatorColumn>
                        <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
                            <HeaderStyle Width="20px" />
                        </ExpandCollapseColumn>
                        <Columns>
                            <tel:GridBoundColumn DataField="PropertyID" FilterControlAltText="Filter indexID column"
                                HeaderText="?????" UniqueName="indexID1">
                            </tel:GridBoundColumn>
                            <tel:GridBoundColumn DataField="PropertyName" FilterControlAltText="Filter indexID column"
                                HeaderText="??? ??????" UniqueName="indexID2">
                            </tel:GridBoundColumn>
                            <tel:GridBoundColumn DataField="PropertyPrice" FilterControlAltText="Filter indexID column"
                                HeaderText="?????" UniqueName="indexID3">
                            </tel:GridBoundColumn>
                            <tel:GridBoundColumn DataField="propertyAddress" FilterControlAltText="Filter indexID column"
                                HeaderText="???????" UniqueName="indexID">
                            </tel:GridBoundColumn>
                            <tel:GridTemplateColumn AllowFiltering="false">
                                <ItemTemplate>
                                    <tel:RadButton runat="server" ID="rbSelect" ButtonType="LinkButton" Skin="Web20"
                                        CommandName="select" CommandArgument='<%#  Eval("PropertyID") %>' Text="??????"
                                        OnClick="rbSelect_Click">
                                        <Icon PrimaryIconCssClass="rbOk" PrimaryIconLeft="4" PrimaryIconTop="4" />
                                    </tel:RadButton>
                                </ItemTemplate>
                                <HeaderStyle Width="10px" />
                            </tel:GridTemplateColumn>
                        </Columns>
                        <CommandItemSettings AddNewRecordText="????? ???? ????" RefreshText="?????" ShowAddNewRecordButton="false"
                              ShowExportToExcelButton="true" ShowExportToPdfButton="false"
                            ExportToExcelText="????? ????" ShowExportToWordButton="true" ExportToWordText="????? ???? ???" />
                        <EditFormSettings>
                            <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                            </EditColumn>
                        </EditFormSettings>
                        <PagerStyle Mode="NextPrevNumericAndAdvanced" />
                    </MasterTableView>
                    <FilterMenu EnableImageSprites="true">
                    </FilterMenu>
                    <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">
                    </HeaderContextMenu>
                </tel:RadGrid>
                <asp:ObjectDataSource ID="ods_GetProperties" runat="server" SelectMethod="GetProperites"
                    TypeName="GWERP.DataAccess.Aqar.Properties.Properties"></asp:ObjectDataSource>
            </td>
        </tr>
        <tr>
            <td>
                  
            </td>
            <td>
                  
            </td>
            <td>
                  
            </td>
        </tr>
    </table>
    <script type="text/javascript" language="javascript">
        function requestStart(sender, args) {
            if (args.get_eventTarget().indexOf("ExportToPdfButton") > 0)
                args.set_enableAjax(false);
            if (args.get_eventTarget().indexOf("ExportToWordButton") > 0)
                args.set_enableAjax(false);
            if (args.get_eventTarget().indexOf("ExportToExcelButton") > 0)
                args.set_enableAjax(false);
        }
          
    </script>
    <tel:RadAjaxManager runat="server" ClientEvents-OnRequestStart="requestStart">
        <AjaxSettings>
            <tel:AjaxSetting AjaxControlID="rgProperties">
                <UpdatedControls>
                    <%-- <tel:AjaxUpdatedControl ControlID="rgProperties" LoadingPanelID="ralpMain"/>   --%>
                </UpdatedControls>
            </tel:AjaxSetting>
            <tel:AjaxSetting AjaxControlID="rgProperties">
                <UpdatedControls>
                    <tel:AjaxUpdatedControl ControlID="rapMain" LoadingPanelID="ralpMain" />
                </UpdatedControls>
            </tel:AjaxSetting>
            <%--<tel:AjaxSetting AjaxControlID="rapMain">
                <UpdatedControls>
                 <tel:AjaxUpdatedControl ControlID="rapMain" LoadingPanelID="ralpMain"/>
                </UpdatedControls>
                  </tel:AjaxSetting>--%>
            <tel:AjaxSetting AjaxControlID="ddlCountry">
                <UpdatedControls>
                    <tel:AjaxUpdatedControl ControlID="ddlRegion" LoadingPanelID="ralpMain" />
                </UpdatedControls>
            </tel:AjaxSetting>
            <tel:AjaxSetting AjaxControlID="ddlRegion">
                <UpdatedControls>
                    <tel:AjaxUpdatedControl ControlID="ddlCity" LoadingPanelID="ralpMain" />
                </UpdatedControls>
            </tel:AjaxSetting>
            <tel:AjaxSetting AjaxControlID="ddlCity">
                <UpdatedControls>
                    <tel:AjaxUpdatedControl ControlID="ddlQuarter" LoadingPanelID="ralpMain" />
                </UpdatedControls>
            </tel:AjaxSetting>
            <tel:AjaxSetting AjaxControlID="rbDelete">
                <UpdatedControls>
                    <tel:AjaxUpdatedControl ControlID="rgProperties" LoadingPanelID="ralpMain" />
                </UpdatedControls>
            </tel:AjaxSetting>  
              <tel:AjaxSetting AjaxControlID="rbSave">
                <UpdatedControls>
                    <tel:AjaxUpdatedControl ControlID="rgProperties" LoadingPanelID="ralpMain" />
                </UpdatedControls>
            </tel:AjaxSetting>
                 <tel:AjaxSetting AjaxControlID="rbEdit">
                <UpdatedControls>
                    <tel:AjaxUpdatedControl ControlID="rgProperties" LoadingPanelID="ralpMain" />
                </UpdatedControls>
            </tel:AjaxSetting>
            <tel:AjaxSetting AjaxControlID="rbGregHijri">
                <UpdatedControls>
                    <tel:AjaxUpdatedControl ControlID="rdtpPriceFrom" LoadingPanelID="ralpMain" />
                    <tel:AjaxUpdatedControl ControlID="rdtpPriceTo" LoadingPanelID="ralpMain" />
                </UpdatedControls>
            </tel:AjaxSetting>
        </AjaxSettings>
    </tel:RadAjaxManager>
</asp:Content>


please help

Regards
Georgi Tunev
Telerik team
 answered on 04 Feb 2011
1 answer
82 views
Although I've seen other threads in the forum discussing best practices for column widths when static headers are enabled, I have not been able to figure out how you should set columns widths / master view widths in order to produce columns that render consistently across IE, Firefox and Chrome.

In the attached mockup, I have a grid with static headers and specific column widths. In IE 7, the header columns are not consistent with the item columns.Additionally, the last column is not displayed. In Chrome or IE 8, the grid appears to display fine.

Any help would be appreciated.

Thanks. 

Here is the grid source:

<telerik:RadGrid ID="grdHotListView" runat="server" AutoGenerateColumns="false"
    CssClass="search_results" GridLines="Vertical" Skin="" EnableEmbeddedSkins="false"
    AllowSorting="true" ImagesPath="img" Width="760">
    <HeaderStyle Height="30px" CssClass="grid_header_row" />
    <ClientSettings EnablePostBackOnRowClick="false">
        <Selecting AllowRowSelect="True" />
        <Scrolling AllowScroll="true" UseStaticHeaders="true" ScrollHeight="250px" SaveScrollPosition="True" />
    </ClientSettings>
    <MasterTableView Width="740px" Font-Names="Arial, Helvetica, sans-serif" AllowNaturalSort="false" ShowHeadersWhenNoRecords="true"
        GridLines="None">
        <Columns>
            <telerik:GridBoundColumn HeaderStyle-Width="180px" HeaderText="<h2>Name</h2>" DataField="StudentName" SortExpression="StudentName" ItemStyle-HorizontalAlign="Center"  ItemStyle-CssClass="icon" />
            <telerik:GridHyperLinkColumn HeaderStyle-Width="100px" SortExpression="StudentNumber" DataNavigateUrlFields="StudentId" DataNavigateUrlFormatString="~/documenttracking.aspx?studentid={0}" DataTextField="StudentNumber" HeaderText="<h2>ID</h2>" ItemStyle-HorizontalAlign="Center" ItemStyle-CssClass="icon"/>
            <telerik:GridTemplateColumn HeaderText="<h2>C</h2>" HeaderStyle-Width="20px" HeaderTooltip="Contact/Personal Information/Account Creation" ItemStyle-HorizontalAlign="Center" ItemStyle-CssClass="icon">
                <ItemTemplate>
                    <asp:Image runat="server" ImageUrl='<%# String.Format("~/img/app-{0}.gif", Eval("AdmissionApplicationDetail.StudentInfoStatus.IconOption")) %>'
                        Visible='<%# Eval("AdmissionApplicationDetail.StudentInfoStatus.IsIconVisible") %>' />
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn HeaderText="<h2>P</h2>" HeaderStyle-Width="20px" HeaderTooltip="Program and Start Date Selection" ItemStyle-HorizontalAlign="Center" ItemStyle-CssClass="icon">
                <ItemTemplate>
                    <asp:Image runat="server" ImageUrl='<%# String.Format("~/img/app-{0}.gif", Eval("AdmissionApplicationDetail.ProgramStatus.IconOption")) %>'
                        Visible='<%# Eval("AdmissionApplicationDetail.ProgramStatus.IsIconVisible") %>' />
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn HeaderText="<h2>H</h2>" HeaderStyle-Width="20px" HeaderTooltip="High School or GED" ItemStyle-HorizontalAlign="Center" ItemStyle-CssClass="icon">
                <ItemTemplate>
                    <asp:Image runat="server" ImageUrl='<%# String.Format("~/img/app-{0}.gif", Eval("AdmissionApplicationDetail.HSStatus.IconOption")) %>'
                        Visible='<%# Eval("AdmissionApplicationDetail.HSStatus.IsIconVisible") %>' />
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn HeaderText="<h2>A</h2>" HeaderStyle-Width="20px" HeaderTooltip="Academic History (post secondary)" ItemStyle-HorizontalAlign="Center" ItemStyle-CssClass="icon">
                <ItemTemplate>
                    <asp:Image runat="server" ImageUrl='<%# String.Format("~/img/app-{0}.gif", Eval("AdmissionApplicationDetail.CollStatus.IconOption")) %>'
                        Visible='<%# Eval("AdmissionApplicationDetail.CollStatus.IsIconVisible") %>' />
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn HeaderText="<h2>P</h2>" HeaderStyle-Width="20px" HeaderTooltip="Proficiency Questions" ItemStyle-HorizontalAlign="Center" ItemStyle-CssClass="icon">
                <ItemTemplate>
                    <asp:Image runat="server" ImageUrl='<%# String.Format("~/img/app-{0}.gif", Eval("AdmissionApplicationDetail.CompStatus.IconOption")) %>'
                        Visible='<%# Eval("AdmissionApplicationDetail.CompStatus.IsIconVisible") %>' />
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn HeaderText="<h2>T</h2>" HeaderStyle-Width="20px" HeaderTooltip="Terms and Conditions" ItemStyle-HorizontalAlign="Center" ItemStyle-CssClass="icon">
                <ItemTemplate>
                    <asp:Image runat="server" ImageUrl='<%# String.Format("~/img/app-{0}.gif", Eval("AdmissionApplicationDetail.TermsConditionsStatus.IconOption")) %>'
                        Visible='<%# Eval("AdmissionApplicationDetail.TermsConditionsStatus.IsIconVisible") %>' />
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn HeaderText="<h2>E</h2>" HeaderStyle-Width="20px" HeaderTooltip="Enrollment Agreement" ItemStyle-HorizontalAlign="Center" ItemStyle-CssClass="icon">
                <ItemTemplate>
                    <asp:Image runat="server" ImageUrl='<%# String.Format("~/img/app-{0}.gif", Eval("AdmissionApplicationDetail.EnrollmentAgreementStatus.IconOption")) %>'
                        Visible='<%# Eval("AdmissionApplicationDetail.EnrollmentAgreementStatus.IsIconVisible") %>' />
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn HeaderText="<h2> </h2>" HeaderStyle-Width="10px" ItemStyle-CssClass="icon">
                <ItemTemplate> </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn HeaderText="<h2>O</h2>" HeaderStyle-Width="20px" HeaderTooltip="Financial Options Selections" ItemStyle-HorizontalAlign="Center" ItemStyle-CssClass="icon">
                <ItemTemplate>
                    <asp:Image runat="server" ImageUrl='<%# String.Format("~/img/app-{0}.gif", Eval("FinancialApplicationDetail.FOStatus.IconOption")) %>'
                        Visible='<%# Eval("FinancialApplicationDetail.FOStatus.IsIconVisible") %>' />
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn HeaderText="<h2>D</h2>" HeaderStyle-Width="20px" HeaderTooltip="Dependency" ItemStyle-HorizontalAlign="Center" ItemStyle-CssClass="icon">
                <ItemTemplate>
                    <asp:Image runat="server" ImageUrl='<%# String.Format("~/img/app-{0}.gif", Eval("FinancialApplicationDetail.DEPStatus.IconOption")) %>'
                        Visible='<%# Eval("FinancialApplicationDetail.DEPStatus.IsIconVisible") %>' />
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn HeaderText="<h2>C</h2>" HeaderStyle-Width="20px" HeaderTooltip="Other Colleges" ItemStyle-HorizontalAlign="Center" ItemStyle-CssClass="icon">
                <ItemTemplate>
                    <asp:Image runat="server" ImageUrl='<%# String.Format("~/img/app-{0}.gif", Eval("FinancialApplicationDetail.OtherColStatus.IconOption")) %>'
                        Visible='<%# Eval("FinancialApplicationDetail.OtherColStatus.IsIconVisible") %>' />
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn HeaderText="<h2>R</h2>" HeaderStyle-Width="20px" HeaderTooltip="Other Resources" ItemStyle-HorizontalAlign="Center" ItemStyle-CssClass="icon">
                <ItemTemplate>
                    <asp:Image runat="server" ImageUrl='<%# String.Format("~/img/app-{0}.gif", Eval("FinancialApplicationDetail.OtherResStatus.IconOption")) %>'
                        Visible='<%# Eval("FinancialApplicationDetail.OtherResStatus.IsIconVisible") %>' />
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn HeaderText="<h2>A</h2>" HeaderStyle-Width="20px" HeaderTooltip="Funds Authorization" ItemStyle-HorizontalAlign="Center" ItemStyle-CssClass="icon">
                <ItemTemplate>
                    <asp:Image runat="server" ImageUrl='<%# String.Format("~/img/app-{0}.gif", Eval("FinancialApplicationDetail.FundAuthStatus.IconOption")) %>'
                        Visible='<%# Eval("FinancialApplicationDetail.FundAuthStatus.IsIconVisible") %>' />
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn HeaderText="<h2>F</h2>" HeaderStyle-Width="20px" HeaderTooltip="FAFSA" ItemStyle-HorizontalAlign="Center" ItemStyle-CssClass="icon">
                <ItemTemplate>
                    <asp:Image runat="server" ImageUrl='<%# String.Format("~/img/app-{0}.gif", Eval("FinancialApplicationDetail.FAFSAStatus.IconOption")) %>'
                        Visible='<%# Eval("FinancialApplicationDetail.FAFSAStatus.IsIconVisible") %>' />
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn HeaderText="<h2>M</h2>" HeaderStyle-Width="20px" HeaderTooltip="MPN" ItemStyle-HorizontalAlign="Center" ItemStyle-CssClass="icon">
                <ItemTemplate>
                    <asp:Image runat="server" ImageUrl='<%# String.Format("~/img/app-{0}.gif", Eval("FinancialApplicationDetail.MPNStatus.IconOption")) %>'
                        Visible='<%# Eval("FinancialApplicationDetail.MPNStatus.IsIconVisible") %>' />                                               
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn HeaderText="<h2> </h2>" HeaderStyle-Width="10px" ItemStyle-CssClass="icon">
                <ItemTemplate> </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn HeaderText="<h2>H</h2>" HeaderStyle-Width="20px" HeaderTooltip="High School Transcript" ItemStyle-HorizontalAlign="Center" ItemStyle-CssClass="icon">
                <ItemTemplate>
                    <asp:Image runat="server" ImageUrl='<%# String.Format("~/img/app-{0}.gif", Eval("DocumentDetail.HsTranscript.IconOption")) %>'
                        Visible='<%# Eval("DocumentDetail.HsTranscript.IsIconVisible") %>' />
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn HeaderText="<h2>T</h2>" HeaderStyle-Width="20px" HeaderTooltip="College Transcipt" ItemStyle-HorizontalAlign="Center" ItemStyle-CssClass="icon">
                <ItemTemplate>
                    <asp:Image runat="server" ImageUrl='<%# String.Format("~/img/app-{0}.gif", Eval("DocumentDetail.CollTranscriptCount.IconOption")) %>'
                        Visible='<%# Eval("DocumentDetail.CollTranscriptCount.IsIconVisible") %>' />
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn HeaderText="<h2>F</h2>" HeaderStyle-Width="20px" HeaderTooltip="FAFSA/ISIR" ItemStyle-HorizontalAlign="Center" ItemStyle-CssClass="icon">
                <ItemTemplate>
                    <asp:Image runat="server" ImageUrl='<%# String.Format("~/img/app-{0}.gif", Eval("DocumentDetail.FafsaIsir.IconOption")) %>'
                        Visible='<%# Eval("DocumentDetail.FafsaIsir.IsIconVisible") %>' />
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn HeaderText="<h2>A</h2>" HeaderStyle-Width="20px" HeaderTooltip="Funds Authorization" ItemStyle-HorizontalAlign="Center" ItemStyle-CssClass="icon">
                <ItemTemplate>
                    <asp:Image runat="server" ImageUrl='<%# String.Format("~/img/app-{0}.gif", Eval("DocumentDetail.FundsAuth.IconOption")) %>'
                        Visible='<%# Eval("DocumentDetail.FundsAuth.IsIconVisible") %>' />
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn HeaderText="<h2>S</h2>" HeaderStyle-Width="20px" HeaderTooltip="Stafford" ItemStyle-HorizontalAlign="Center" ItemStyle-CssClass="icon">
                <ItemTemplate>
                    <asp:Image runat="server" ImageUrl='<%# String.Format("~/img/app-{0}.gif", Eval("DocumentDetail.Stafford.IconOption")) %>'
                        Visible='<%# Eval("DocumentDetail.Stafford.IsIconVisible") %>' />
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn HeaderText="<h2>C</h2>" HeaderStyle-Width="20px" HeaderTooltip="Competency Exams" ItemStyle-HorizontalAlign="Center" ItemStyle-CssClass="icon">
                <ItemTemplate>
                    <asp:Image Irunat="server" ImageUrl='<%# String.Format("~/img/app-{0}.gif", Eval("DocumentDetail.CompExams.IconOption")) %>'
                        Visible='<%# Eval("DocumentDetail.CompExams.IsIconVisible") %>' />
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn HeaderText="<h2>A</h2>" HeaderStyle-Width="20px" HeaderTooltip="Academic Complete Signoff" ItemStyle-HorizontalAlign="Center" ItemStyle-CssClass="icon">
                <ItemTemplate>
                    <asp:Image runat="server" ImageUrl='<%# String.Format("~/img/app-{0}.gif", Eval("DocumentDetail.AmSign.IconOption")) %>'
                        Visible='<%# Eval("DocumentDetail.AmSign.IsIconVisible") %>' />
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn HeaderText="<h2>F</h2>" HeaderStyle-Width="20px" HeaderTooltip="Financial Complete Signoff" ItemStyle-HorizontalAlign="Center" ItemStyle-CssClass="icon">
                <ItemTemplate>
                    <asp:Image runat="server" ImageUrl='<%# String.Format("~/img/app-{0}.gif", Eval("DocumentDetail.FaSign.IconOption")) %>'
                        Visible='<%# Eval("DocumentDetail.FaSign.IsIconVisible") %>' />
                </ItemTemplate>
            </telerik:GridTemplateColumn>
        </Columns>
    </MasterTableView>
</telerik:RadGrid>
Pavlina
Telerik team
 answered on 04 Feb 2011
1 answer
34 views

Hello,

I am using RadControls for ASP.NET AJAX Q2 2010; I have found a few posts that discusses the focus issue with RADEditor when the control receives focus from another control.  The cursor does get placed in the Editor contect area, however the container is selected; irrespective of the contentAreaMode (DIV / IFrame). Refer attached image (TabIntoRADEditor_Actual.JPG).  If we start typing the selection indicator is going away. Is there a way to avoid this behavior; and stil retain the tabbing functionality in the editor workspace? Attached is the sample source that I have tried as per forum posts (to avoid the tabs on the toolbar items).

Thanks.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="TryTelerikFeatures._Default" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="radScriptMgr" runat="server" EnableTheming="True">
        </telerik:RadScriptManager>
        <asp:TextBox ID="ctrl1" runat="server" TabIndex="1">
        </asp:TextBox>     
        <asp:DropDownList ID="ctrl2" runat="server" TabIndex="2">
            <asp:ListItem>Option 1</asp:ListItem>
            <asp:ListItem>Option 2</asp:ListItem>
        </asp:DropDownList>
        <br />
        <telerik:RadEditor ID="myEditor" runat="server" ContentAreaMode="iframe" OnClientLoad="OnClientLoad">
        </telerik:RadEditor>
    </form>
</body>
</html>
  
<script type="text/javascript" language="javascript">
    function OnClientLoad(editor, args)
    {
        var buttonsHolder = $get(editor.get_id() + "Top");   
        var buttons = buttonsHolder.getElementsByTagName("A");   
        for (var i=0; i< buttons.length; i++)  
        {  
            var a = buttons[i];  
            a.tabIndex = -1;  
            a.tabStop = false;  
        }  
    }
</script>
Rumen
Telerik team
 answered on 04 Feb 2011
Narrow your results
Selected tags
Tags
+124 more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?