Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
142 views
Apologies, I realise this has most likely been done to death, I'm half way through some work that uses both RadControls AJAX and Reporting and now I'm informed that they are going to want to use a shared hosting provider for the site instead of using internal servers (as originally discussed).

My question is can both RadControls ASP.NET AJAX and Reporting be deployed to a shared hosting server without actually running the setup exes on the server? I realise I'm most likely going to need some full trust somewhere but I figure that's going to be easier to achieve running some setup exes on servers I have no control over.

Thanks
Chirs 
Paul
Telerik team
 answered on 07 Sep 2009
2 answers
90 views
Hello,

I've got a problem with multiple combo-boxes tab order.

Setup two combo boxes with autopostback="true" and give each one a

OnSelectedIndexChanged event.  I have an ajaxmanager on the page.  If you select an item in the first control and press tab the focus goes somewhere off the form.  If you select an item in the first list and press shift-tab the focus works correctly.  Or if you put a non-post back control between the two combo boxes the focus works correctly.

I don't think using the OnClientSelectedIndexChanging event is an option because the selecting values from these drop downs drive other UI options.

Any ideas?

Thanks,
Rob

Yana
Telerik team
 answered on 07 Sep 2009
1 answer
172 views

Hi,

I have encountered an issue after downloading internal build of ASP.NET AJAX UI Controls version 2009.2.824, and it still exists in release version 2009.2.826.35. I have a control with two related comboBoxes both of which use webservices to get items. When the page is loaded both comboBoxes get populated as expected, but when I change selected item in the first one OnClientSelectedIndexChange gets called where I call requestItems on the other comboBox, but WebService method does not execute.


here is my markup:

<div class="border"></div>  
<div style="clear:both; overflow:hidden; margin:2px">  
    <div style="float:left; width:170px">Wybierz przedstawiciela:</div>  
    <div style="float:left; width:400px">  
        <telerik:RadComboBox ID="_rcbBokers" runat="server" OnClientLoad="OnBrokersLoad"  
            LoadingMessage="WczytujÄ™..." NoWrap="true" Skin="Default" AllowCustomText="false"  
            OnClientSelectedIndexChanged="OnBrokerChanged" OnClientItemsRequesting="OnBrokersRequesting"  
            OnClientItemsRequested="OnBrokersRequested">  
            <WebServiceSettings Method="GetBrokers" Path="WebServices/WarehousesService.asmx" />  
        </telerik:RadComboBox>  
    </div>  
</div>  
<div class="border"></div>  
<div style="clear:both; overflow:hidden; margin:2px">  
    <div style="float:left; width:170px">Wybierz magazyn:</div>  
    <div style="float:left; width:400px">  
        <telerik:RadComboBox ID="_rcbWarehouses" runat="server" OnClientItemsRequesting="OnWarehousesRequesting"  
            LoadingMessage="WczytujÄ™..." NoWrap="true" Skin="Default" AllowCustomText="false" OnClientItemsRequested="OnWarehousesRequested">  
            <WebServiceSettings Method="GetWarehouses" Path="~/WebServices/WarehousesService.asmx" />  
        </telerik:RadComboBox>  
    </div>  
</div> 

here is my code behind:

public partial class WarehousePicker : UserControl  
    {  
        protected void Page_Load(object sender, EventArgs e)  
        {  
            if (IsPostBack) return;  
            if (Session["warehouseId"] != null)  
            {  
                ViewState["warehouseId"] = Session["warehouseId"];  
                ViewState["brokerId"] = Session["brokerId"];  
            }  
            else  
            {  
                ViewState["warehouseId"] = -1;  
                ViewState["brokerId"] = -1;  
            }  
            if (!Page.ClientScript.IsClientScriptBlockRegistered(typeof(WarehousePicker), "warehousPickerScript"))  
                Page.ClientScript.RegisterClientScriptBlock(typeof(WarehousePicker), "warehousePickerScript",  
                                                            string.Format(  
                                                                Properties.Settings.Default.WarehousePickerScript,  
                                                                ViewState["brokerId"], _rcbWarehouses.ClientID,   
                                                                _rcbBokers.ClientID, ViewState["warehouseId"]));  
            Session["warehouseId"] = null;  
            Session["brokerId"] = null;  
        }  
} 

here is javascript I have in Settings.Default.WarehousePickerScript

<script type="text/javascript">  
//<![CDATA[  
function OnBrokersLoad(combo, eventArgs) {{  
    combo.requestItems("", false);  
}}  
function OnBrokersRequesting(combo, eventArgs) {{  
    var brokerId = '{0}';  
    var context = eventArgs.get_context();  
    context["BrokerID"] = brokerId;  
}}  
function OnBrokersRequested(combo, eventArgs) {{  
    var item = combo.findItemByValue('{0}');  
    if (!item && combo.get_items().get_count() > 0) {{  
        item = combo.get_items().getItem(0);  
    }}  
    if (item) {{  
        combo.set_text(item.get_text());  
        item.select();  
    }}  
    var warehouseCombo = $find('{1}');  
    warehouseCombo.requestItems(combo.get_value(), false);  
}}  
function OnBrokerChanged(combo, eventArgs) {{  
    var warehousesCombo = $find('{1}');  
    var item = eventArgs.get_item();  
    warehousesCombo.requestItems(item.get_value(), false);  
}}  
function OnWarehousesRequesting(combo, eventArgs) {{  
    var brokersCombo = $find('{2}');  
    var warehouseId = '{3}';  
    var context = eventArgs.get_context();  
    context["BrokerID"] = brokersCombo.get_value();  
}}  
function OnWarehousesRequested(combo, eventArgs) {{  
    var item = combo.findItemByValue('{3}');  
    if (!item && combo.get_items().get_count() > 0) {{  
        item = combo.get_items().getItem(0);  
    }}  
    if (item) {{  
        combo.set_text(item.get_text());  
        item.select();  
    }}  
}}  
//]]>  
</script> 

and here is my WebService code:

[WebService(Namespace = "http://tempuri.org/")]  
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]  
    [GenerateScriptType(typeof(BrokerItem))]  
    [GenerateScriptType(typeof(WarehouseItem))]  
    [GenerateScriptType(typeof(SelectionMode))]  
    [ToolboxItem(false)]  
    [ScriptService]  
    public class WarehousesService : WebService  
    {  
        [WebMethod(EnableSession = true)]  
        public RadComboBoxData GetBrokers(RadComboBoxContext context)  
        {  
            var userId = ((User)HttpContext.Current.Session["user"]).ID;  
            var brokerText = context["BrokerID"].ToString();  
            int brokerId;  
            var data = new RadComboBoxData();  
            int.TryParse(brokerText, out brokerId);  
            data.Items = (from broker in Entities.Instance.GetBrokers(userId, ActiveType.Active, ActiveType.Active, Premission.Preview | Premission.Central)  
                          select new RadComboBoxItemData { Text = broker.Name, Value = broker.ID.ToString() }).ToArray();  
            data.EndOfItems = true;  
            data.NumberOfItems = data.Items.Length;  
            var item = (from itemData in data.Items where itemData.Value == brokerText select itemData).FirstOrDefault();  
            if (item != null)  
            {  
                data.Text = item.Text;  
                data.Value = item.Value;  
            }  
            else if (string.IsNullOrEmpty(context.Text) && data.Items.Length > 0)  
            {  
                data.Text = data.Items[0].Text;  
                data.Value = data.Items[0].Value;  
            }  
            return data;  
        }  
 
        [WebMethod(EnableSession = true)]  
        public RadComboBoxData GetWarehouses(RadComboBoxContext context)  
        {  
            var brokerText = context["BrokerID"].ToString();  
            var userId = ((User)HttpContext.Current.Session["user"]).ID;  
            int brokerId;  
            int.TryParse(brokerText, out brokerId);  
            var data = new RadComboBoxData  
            {  
                EndOfItems = true,  
                Items = (from warehouse in Entities.Instance.GetUserWarehouses(brokerId, userId, ActiveType.Active, Premission.Edit)  
                         where warehouse.ID != 1  
                         select  
                             new RadComboBoxItemData { Text = warehouse.Name, Value = warehouse.ID.ToString() }).  
                    ToArray()  
            };  
            data.NumberOfItems = data.Items.Length;  
            return data;  
        }  
} 

I'm using visual studio 2008, .net framework 3.5 and Telerik Controls for ASP.NET AJAX v. 2009.02.826.35, and this code was working fine with v. 2009.02.701.35

Thanks in advance

regards

Paweł Aszklar

Paweł Aszklar
Top achievements
Rank 1
 answered on 07 Sep 2009
1 answer
114 views
I hv one window contain some Add cart type function lity when use click on add cart it maximize but when i minize it will goes in minmize zone properly ... but when i am clicking again on ADD Cart button that time it will automatically hide the Window  


 <telerik:RadWindow ID="RadWndCart" runat="server" Modal="false" VisibleStatusbar="False" MinimizeZoneID="Panel1"
                Behavior="Move,Minimize"  Skin="Black" Title="Cart" Top="150px" Left="250px" Width="700px"
                NavigateUrl="AddToCart.aspx"  Height="470px">
            </telerik:RadWindow>



Kindly please tell me why this happen...... Is their any property to set when page is reload......................


Urgenlty reply

Tahksss
Georgi Tunev
Telerik team
 answered on 07 Sep 2009
2 answers
119 views
Hi all,

i retreive editors content (in html-mode) by EditorID.Content and write it to database.
Always it adds body-tags around the content.

Editor: <table><tr><td>blahblah</td></tr></table>
DB: <body><table><tr><td>blahblah</td></tr></table></body>

it looks different in FF and IE, so has it to do with browser?

Is it a know problem, anybody any idea?
do we have to strip body-tags manually?

Thanks in advance
Felix
Lini
Telerik team
 answered on 07 Sep 2009
12 answers
435 views
Hi there,

I am using telerik. In which i have facilitate with virtual loading. I am facing problem when i use to provide scroll for the grid. When the grid having less number of data, the grid height is getting reduce, but the same time when i use to scroll down vertical scroll bar,i am seeing some extra space is there. For example, in my grid i am having 22 data over there, and the page size is 20. Then in first page its coming in actual size and in the second page, the grid height is getting reduce according to data height but with some white space. I am using one javascript coding for this: i.e.
<script type="text/javascript">
  function GridCreated()   
  {              
     var grid = document.getElementById('<%=rgCustomer.ClientID %>');                 
     var scrollArea = document.getElementById("ctl00_DataNowContantHolder_rgCustomer_GridData");
     var dataHeight =  document.getElementById("ctl00_DataNowContantHolder_rgCustomer_ctl00");    
     var GridArea = document.getElementById("ctl00_DataNowContantHolder_rgCustomer")
     if(dataHeight.clientHeight < 350)
     {        
         scrollArea.style.height = dataHeight.clientHeight + "px"; 
         scrollArea.style.overflow = "auto";    
     }        
  }
  </script>
But in the same time if i will Change (scrollArea.style.overflow = "hidden"; ) then the grid don't have extra space and also the scroll bar will not be there. But i want the grid should have scroll bar without extra space.
Can anybody help me to come out of this problem?

Vimal Kumar Srivastava
Madhepura(Bihar)
Email Id: vimaltech04@gmail.com

Vimal Kumar
Top achievements
Rank 1
 answered on 07 Sep 2009
1 answer
119 views
I have the images path of my RadEditor set to a folder with about 100 subfolders.  Each of those subfolders has dozens of images in it.  On the production server, it takes almost 3 minutes just for the Image Manager dialog to open and show the 100 sub folders.  Is this normal behavior?  What can I do to speed this up?

Thanks,
Matt
Lini
Telerik team
 answered on 07 Sep 2009
1 answer
241 views
Hi,

How can I make the time column from 1 - 24 hours instead of the US time format which uses the two times 12 format?

HH:mm on the EditFormTimeFormat property has been set.
Helge
Top achievements
Rank 1
 answered on 07 Sep 2009
2 answers
193 views

Hi,

how it is possible to Highlight the current day in the RadScheduler - Control?

I want to highlight the current day like outlook do it. (see attached screenshot)


CSS
<style type="text/css">     
            
div.RadScheduler_Office2007 .rsMonthView .rsTodayCell      
        {      
            background-color: red;      
            color: #fff;      
        }      
    
</style>  
ASCX
<telerik:RadScheduler ID="RadScheduler" runat="server"  Width="100%"   
 
    OnTimeSlotCreated="RadScheduler_TimeSlotCreated" /> 
 
</telerik:RadScheduler> 
CS
        protected void RadScheduler_TimeSlotCreated(object sender, Telerik.Web.UI.TimeSlotCreatedEventArgs e)  
        {  
            if (DateTime.Compare(e.TimeSlot.Start.Date, DateTime.Now.Date) == 0)  
            {  
                e.TimeSlot.CssClass = "RadScheduler_Office2007. rsMonthView. rsTodayCell";  
            }  
        }     
 

Laz
Top achievements
Rank 1
 answered on 07 Sep 2009
1 answer
118 views
My Grid and Panel are placed on the right pane of a splitter. The combi of those two forces the right panel to have an inner scrollbar. Can someone have a look? Here is the code...

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" Title="BIS ID Content Runner for the Web " %> 
<%@ 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">  
      
        <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">  
            <style type="text/css">  
                html, body, form    
                    {    
                    margin:0px;    
                    padding:0px;    
                    height:100%;    
                    background-image: url(Skins/Default/Common/Default_Top.jpg);  
                    background-repeat: repeat-x;  
                    }  
            </style> 
              
        <link rel="stylesheet" type="text/css" href="/css/bis.css">  
          
    <script type="text/javascript">  
        var ArchiveShowing = ("<%= myCR.ArchiveShowing %>" == "True");  
        var OriginalShowing = ("<%= myCR.OriginalShowing %>" == "True");  
    </script> 
    <script type="text/javascript">  
        function ShowProfileForm() {  
            window.radopen("/Forms/Profile.aspx", "winProfile");  
            return false;  
        }  
    </script>    
    <script type="text/javascript">  
        function ShowInsertForm(id) {  
            window.radopen("/Forms/EditRecord.aspx", "insertForm");  
            return false;  
        }  
    </script>    
    <script type="text/javascript">  
        function ShowEditForm(id) {  
            window.radopen("/Forms/EditRecord.aspx?ID=" + id, "editForm");  
            return false;  
        }  
    </script>    
    <script type="text/javascript">  
        function ShowHelpForm() {  
            window.radopen("Forms/Help.aspx", "winHelp");  
            return false;  
        }  
    </script>    
    <script type="text/javascript">  
 
        function ShowAboutForm() {  
            window.radopen("Forms/About.aspx", "winAbout");  
            return false;  
        }  
    </script>    
    <script type="text/javascript">  
      
        function RefreshGrid() {  
            var masterTable = $find("<%= grMain.ClientID %>").get_masterTableView();  
            masterTable.rebind();  
            }   
    </script>    
    <script type="text/javascript">  
 
        function RowSelected(sender, args) {  
                var toolBar = $find("<%=tbMain.ClientID %>");  
                var grid = $find("grMain");  
                var MasterTable = grid.get_masterTableView();  
                var SelectedRows = MasterTable.get_selectedItems();  
                if (SelectedRows.length > 1) toolBar.findItemByValue("tbWijzig").disable();  
                if (SelectedRows.length < 1) toolBar.findItemByValue("tbWijzig").disable();  
                if (SelectedRows.length == 1) toolBar.findItemByValue("tbWijzig").enable();  
                toolBar.findItemByValue("tbVerwijder").enable();  
                if (SelectedRows.length < 1) toolBar.findItemByValue("tbVerwijder").disable()  
 
                if (ArchiveShowing) {  
 
                    toolBar.findItemByValue("tbNaarArch").disable();  
                    if (SelectedRows.length > 0)  
                        toolBar.findItemByValue("tbNaarOrg").enable();  
                    if (SelectedRows.length < 1)  
                        toolBar.findItemByValue("tbNaarOrg").disable();  
                          
                }  
 
                if (OriginalShowing) {  
 
                    toolBar.findItemByValue("tbNaarOrg").disable();  
                    if (SelectedRows.length > 0)  
                        toolBar.findItemByValue("tbNaarArch").enable();  
                    if (SelectedRows.length < 1)  
                        toolBar.findItemByValue("tbNaarArch").disable();  
                          
                }  
            }           
              
    </script> 
        </telerik:RadCodeBlock>          
      
    </head> 
      
    <body class="BODY">  
        <form id="FormMain" method="post" runat="server">  
        <telerik:RadScriptManager  
            ID="ScriptManager" 
            runat="server"   
            EnableTheming="True">  
        </telerik:RadScriptManager> 
          
        <telerik:RadAjaxManager  
            ID="amMain" 
            runat="server" onajaxrequest="amMain_AjaxRequest">  
            <AjaxSettings> 
                <telerik:AjaxSetting AjaxControlID="amMain">  
                    <UpdatedControls> 
                        <telerik:AjaxUpdatedControl ControlID="tbMain" /> 
                        <telerik:AjaxUpdatedControl ControlID="lblKop" /> 
                        <telerik:AjaxUpdatedControl ControlID="grMain" /> 
                    </UpdatedControls> 
                </telerik:AjaxSetting> 
                <telerik:AjaxSetting AjaxControlID="tbMain">  
                    <UpdatedControls> 
                        <telerik:AjaxUpdatedControl ControlID="tbMain" /> 
                        <telerik:AjaxUpdatedControl ControlID="lblKop" /> 
                        <telerik:AjaxUpdatedControl ControlID="grMain" /> 
                    </UpdatedControls> 
                </telerik:AjaxSetting> 
                  
                <%-- <telerik:AjaxSetting AjaxControlID="LeftPane">  
                    <UpdatedControls> 
                        <telerik:AjaxUpdatedControl ControlID="LeftPane"/>  
                    </UpdatedControls> 
                </telerik:AjaxSetting> --%> 
                <telerik:AjaxSetting AjaxControlID="grMain">  
                    <UpdatedControls> 
                        <telerik:AjaxUpdatedControl ControlID="tbMain" /> 
                        <telerik:AjaxUpdatedControl ControlID="lblKop" /> 
                        <telerik:AjaxUpdatedControl ControlID="grMain" /> 
                    </UpdatedControls> 
                </telerik:AjaxSetting> 
            </AjaxSettings> 
        </telerik:RadAjaxManager> 
          
            <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server"></telerik:RadStyleSheetManager> 
                   
                    <asp:SqlDataSource  
                        ID="dsPanelbar" 
                        runat="server"   
                        ConnectionString="<%$ ConnectionStrings:ContentRunner %>"   
                        SelectCommand="SELECT * FROM [q_navbarweb]"   
            onselecting="dsPanelbar_Selecting">  
                    </asp:SqlDataSource> 
              
                    <asp:SqlDataSource  
                        ID="dsGrid" 
                        runat="server"   
                        ConnectionString="<%$ ConnectionStrings:ContentRunner %>"   
                        oninit="dsGrid_Init"   
                        SelectCommand="SELECT * FROM [t_bezoekers]">  
                    </asp:SqlDataSource> 
                              
                <div width="100%"  border="0px" class=workplace>  
                    <telerik:RadToolBar  
                        ID="tbMain" 
                        style="clear:both" 
                        Runat="server" 
                        Width="100%" 
                        BorderStyle="None" 
                        BorderWidth="0px"   
                        onbuttonclick="tbMain_ButtonClick"   
                        Font-Bold="True"   
                        Font-Names="Trebuchet MS" Font-Size="12pt">  
                        <CollapseAnimation  
                            Type="OutQuint" 
                            Duration="200">  
                        </CollapseAnimation> 
                        <Items> 
                            <telerik:RadToolBarButton runat="server" value="tbProfiel"          Text="Hallo, Gebruiker"    CommandName="cmdProfiel"></telerik:RadToolBarButton> 
                            <telerik:RadToolBarButton runat="server" Text="sep1"                IsSeparator="True"></telerik:RadToolBarButton> 
                            <telerik:RadToolBarButton runat="server" value="tbNieuw"            Text="Nieuw"               CommandName="cmdNieuw"></telerik:RadToolBarButton> 
                            <telerik:RadToolBarButton runat="server" value="tbWijzig"           Text="Wijzig"              CommandName="cmdWijzig"></telerik:RadToolBarButton> 
                            <telerik:RadToolBarButton runat="server" value="tbVerwijder"        Text="Verwijder"           CommandName="cmdVerwijder"></telerik:RadToolBarButton> 
                            <telerik:RadToolBarButton runat="server" Text="sep2"                IsSeparator="True"></telerik:RadToolBarButton> 
                            <telerik:RadToolBarButton runat="server" value="tbNaarOrg"          Text="Naar Origineel"      CommandName="cmdNaarOrg"></telerik:RadToolBarButton> 
                            <telerik:RadToolBarButton runat="server" value="tbNaarArch"         Text="Naar Archief"        CommandName="cmdNaarArch"></telerik:RadToolBarButton> 
                            <telerik:RadToolBarButton runat="server" IsSeparator="True"         Text="sep3"></telerik:RadToolBarButton> 
                            <telerik:RadToolBarButton runat="server" value="tbShowOrg"          Text="Toon Orginelen"      CommandName="cmdToonOrg"></telerik:RadToolBarButton> 
                            <telerik:RadToolBarButton runat="server" value="tbShowArch"         Text="Toon Archief"        CommandName="cmdToonArch"></telerik:RadToolBarButton> 
                            <telerik:RadToolBarButton runat="server" Text="sep4"                IsSeparator="True"></telerik:RadToolBarButton> 
                            <telerik:RadToolBarButton runat="server" value="tbLogUit"           Text="Log uit"             CommandName="cmdLogUit"></telerik:RadToolBarButton> 
                            <telerik:RadToolBarButton runat="server" value="tbHelp"             Text="Help"                CommandName="cmdHelp"></telerik:RadToolBarButton> 
                            <telerik:RadToolBarButton runat="server" value="tbAbout"            Text="About"               CommandName="cmdAbout"></telerik:RadToolBarButton> 
                        </Items> 
                    </telerik:RadToolBar><div style="clear:both"><!-- --></div>  
                    </div> 
                <div class=workplace>  
                <telerik:radsplitter  
                    id="splMain" 
                    runat="server" 
                    height="100%" 
                    width="100%"   
                    Skin="Office2007" 
                    style="clear:both" 
                    HeightOffset="30">  
                    <telerik:radpane  
                        id="LeftPane" 
                        runat="server" 
                        width="212"><telerik:RadPanelBar  
                            ID="pbMain" 
                            Runat="server" 
                            DataFieldID="ID"   
                            DataFieldParentID="ParentID" 
                            DataSourceID="dsPanelbar" 
                            DataTextField="Text"   
                            onitemdatabound="pbMain_ItemDataBound"   
                            width="100%" 
                            Skin="Outlook"   
                            CookieName="ContentRunnerPanelBar"   
                            ExpandMode="FullExpandedItem"   
                            PersistStateInCookie="True"   
                            CollapseDelay="200" ExpandDelay="200" onitemclick="pbMain_ItemClick"   
                            Height="100%"><CollapseAnimation   
                                Duration="220"   
                                Type="InOutElastic" /><ExpandAnimation   
                                Duration="220"   
                                Type="InOutElastic" /></telerik:RadPanelBar><div style="clear:both"><!-- --></div></telerik:radpane> 
                    <telerik:radsplitbar id="RadSplitBar1" runat="server" style="clear:both"></telerik:radsplitbar> 
                    <telerik:radpane id="MainPane" runat="server" style="clear:both"><telerik:RadAjaxPanel  
                        BackImageUrl="~/Common/Images/AppMain/AppMainToolbarBackGround.jpg"   
                        style="clear:both" 
                        ID="apMain" 
                        runat="server" 
                        height="32px" 
                        width="100%"><asp:Panel   
                                ID="Panel3"   
                                runat="server"   
                                Height="33px"   
                                Width="100%"   
                                BackImageUrl="~/Common/Images/AppMain/AppMainToolbarBackGround3.jpg" CssClass="GridAltRow_Outlook"><asp:Panel   
                                    ID="Panel1"   
                                    runat="server"   
                                    Height="4px"   
                                    Width="100%"></asp:Panel><asp:Label  
                                    ID="lblKop" 
                                    runat="server" 
                                    BorderStyle="None"   
                                    BorderWidth="6px" 
                                    Font-Names="Trebuchet MS" 
                                    Font-Size="Medium"   
                                    Text="&amp;nbsp;&amp;nbsp;::BIS ID Content Runner"></asp:Label></asp:Panel></telerik:RadAjaxPanel> 
                        <telerik:RadGrid  
                    ID="grMain" 
                    runat="server" 
                    AllowFilteringByColumn="True"   
                    AllowPaging="True" 
                    AllowSorting="True"   
                    DataSourceID="dsGrid" 
                    GridLines="None"   
                    Height="100%" 
                    Skin="Outlook" 
                    Width="99%"   
                    onitemcommand="grMain_ItemCommand"   
                    onneeddatasource="grMain_NeedDataSource" 
                    oncolumncreated="grMain_ColumnCreated" 
                    AllowAutomaticDeletes="True" 
                    AllowAutomaticInserts="True" 
                    AllowAutomaticUpdates="True"   
                    AllowCustomPaging="True" 
                    onitemdatabound="grMain_ItemDataBound"   
                    onprerender="grMain_PreRender" 
                    ShowFooter="True" 
                    ShowStatusBar="True" PageSize="100" VirtualItemCount="10"   
                            AllowMultiRowSelection="True"   
                            onselectedindexchanged="grMain_SelectedIndexChanged"><PagerStyle AlwaysVisible="True" EnableSEOPaging="True" /><MasterTableView   
                    DataSourceID="dsGrid" 
                    allowcustomsorting="True" 
                                    datakeynames="ID"   
                                    CommandItemDisplay="Top"><RowIndicatorColumn Visible="False"><HeaderStyle Width="20px" /></RowIndicatorColumn><ExpandCollapseColumn Resizable="False" Visible="False"><HeaderStyle Width="20px" /></ExpandCollapseColumn><CommandItemTemplate><img src="Skins/Outlook/Grid/AddRecord.gif" /><a href="#" onclick="return ShowInsertForm();">Nieuw</a> <img src="Skins/Outlook/Grid/AddRecord.gif" /><a href="#" onclick="return RefreshGrid(1);">Ververs tabel</a></CommandItemTemplate><Columns><telerik:GridClientSelectColumn UniqueName="ClientSelectColumn" /><telerik:GridButtonColumn  
                                            ButtonType="LinkButton" 
                                            CommandArgument="{0}"   
                                            CommandName="MyEdit" 
                                            HeaderText="" 
                                            Text="Wijzig" 
                                            UniqueName="colEdit"></telerik:GridButtonColumn><telerik:GridButtonColumn  
                                            ButtonType="LinkButton" 
                                            CommandArgument="{0}"   
                                            CommandName="MyDelete" 
                                            ConfirmText="Wilt u deze regel verwijderen?"   
                                            HeaderText="" 
                                            Text="Verwijder" 
                                            UniqueName="colDelete"></telerik:GridButtonColumn></Columns><EditFormSettings><PopUpSettings ScrollBars="None" /></EditFormSettings></MasterTableView><ClientSettings 
                                    allowkeyboardnavigation="True"><Selecting AllowRowSelect="True" /></ClientSettings><FilterMenu EnableTheming="True" Skin="Outlook"><CollapseAnimation Duration="200" Type="OutQuint" /></FilterMenu></telerik:RadGrid><br /></telerik:radpane> 
                </telerik:radsplitter> 
        <telerik:RadWindowManager   
            ID="wmMain"   
            runat="server"   
            Skin="Default"   
            Height="500px"   
            Left="50px"   
            oninit="wmMain_Init"   
            Top="50px"   
            Width="700px">  
            <Windows> 
                <telerik:RadWindow   
                    ID="winEdit"   
                    runat="server"   
                    Height="500px" 
                    Left="100px" 
                    NavigateUrl="Forms\EditRecord.aspx" 
                    style="display:none;" 
                    Top="100px" 
                    Width="700px" 
                    Modal="True"   
                    Behaviors="Close" BorderWidth="0px">  
                </telerik:RadWindow> 
                  
                <telerik:RadWindow   
                    ID="winProfile"   
                    runat="server"   
                    Left="100px"   
                    NavigateUrl="Forms\Profile.aspx"   
                    style="display:none;"   
                    Top="100px"   
                    width="400" 
                    height="256" 
                    Title="Profile"   
                    Behaviors="Move"   
                    Modal="True"   
                    VisibleStatusbar="False">  
                </telerik:RadWindow> 
                  
                <telerik:RadWindow   
                    ID="winHelp"   
                    runat="server"   
                    Left="100px"   
                    NavigateUrl="Forms\Help.aspx"   
                    style="display:none;"   
                    Top="100px"   
                    width="400" 
                    height="256" 
                    Title="help" 
                    Behaviors="Close" 
                    Modal="True"   
                    VisibleStatusbar="False" Behavior="Close">  
                </telerik:RadWindow> 
 
                <telerik:RadWindow   
                    ID="winAbout"   
                    runat="server"   
                    Left="100px"   
                    NavigateUrl="Forms/About.aspx"   
                    style="display:none;"   
                    Top="100px"   
                    width="400" 
                    height="256" 
                    Title="help" 
                    Behaviors="Close" 
                    Modal="True"   
                    VisibleStatusbar="False" Behavior="Close">  
                </telerik:RadWindow> 
            </Windows> 
        </telerik:RadWindowManager> 
    </form> 
</body> 
</html> 





Dimo
Telerik team
 answered on 07 Sep 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?