Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
54 views
Hi,

I am creating a chart via code and adding to a placeholder, and with the exception of appearance, it works fine, I see the series values, etc. and all is well. I am doing the following

 Dim rc As New RadChart
                rc.SeriesOrientation = Telerik.Charting.ChartSeriesOrientation.Horizontal
                rc.AutoLayout = True
                rc.AutoTextWrap = True
                rc.ChartTitle.TextBlock.Appearance.AutoTextWrap = True

But despite this, the chart titles do no auto wrap and I get a result like the attached screen shot. Any thoughts on how to overcome this?
Evgenia
Telerik team
 answered on 28 Jun 2011
2 answers
137 views
Hi,

I am having difficulty setting the default value for the combox inside a grid. Getting an error

Selection out of range
Parameter name: value

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

Exception Details: System.ArgumentOutOfRangeException: Selection out of range
Parameter name: value

Source Error:

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

Stack Trace:

[ArgumentOutOfRangeException: Selection out of range
Parameter name: value]
   Telerik.Web.UI.RadComboBox.PerformDataBinding(IEnumerable dataSource) +173
   Telerik.Web.UI.RadComboBox.OnDataSourceViewSelectCallback(IEnumerable data) +471
   System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback


My Goal is to show combobox as a templated column inside a grid. I am using the   SelectedValue='<%# Bind("ReqUpdate") %>'  to do the binding. The grid is bounded with the datasource using "RadGrid1_NeedDataSource".  When I had set the combox Text property, I was not getting any error but the first item in the combo was getting selected.

Other note: When I replace the radcombox with the DropDownList, everything works fine and the value is set properly. But I need to handle client side, onselectedindexchange event. As a result I need to use RADCOMBOX.

Please let me know how can I quickly resolve this issue.

Thanks,
navneet

Navneet
Top achievements
Rank 1
 answered on 28 Jun 2011
1 answer
62 views
Hi

I have a hierarchical grid where some of the columns I want to total but the total to be at the top in the header. I have a working set of code below which shows the hierarchical grid and I want to sum the 3 columns "ValueToSum","ValueToSum2" and "ValueToSum3". I would like the totals in the group headers (both levels).

If this is not possible then do say, thanks

ASPX
<%@ Page Title="Home Page" Language="C#" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="DataFormatting._Default" %>
  
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
  
  
<form id="form1" runat="server">
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
</telerik:RadAjaxManager>
<telerik:RadScriptManager ID="RadScriptManager1" Runat="server">
</telerik:RadScriptManager>
  
    <div class="contributionTable" >
        <asp:PlaceHolder ID="PlaceHolder1" runat="server" >
        <telerik:RadGrid ID="clientContribution" runat="server" 
            onitemdatabound="clientContribution_ItemDataBound" >
        </telerik:RadGrid>
        </asp:PlaceHolder>
    </div>
  
</form>


.cs Code Behind

using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Diagnostics;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Telerik.Web.UI;
  
namespace DataFormatting
{
    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!this.IsPostBack)
            {
                BuildTheGrid();
            }
  
        }
        protected void clientContribution_ItemDataBound(object sender, GridItemEventArgs e)
        {
            if (e.Item is GridGroupHeaderItem)
            {
                GridGroupHeaderItem item = (GridGroupHeaderItem)e.Item;
                DataRowView groupDataRow = (DataRowView)e.Item.DataItem;
  
            }
  
        }
        #region Build the grid
        private DataSet BuildTheGrid()
        {
            try
            {
  
                clientContribution.DataSource = null;
                DataSet contributionColumns = LoadGridData();
  
  
                // Define the main grid
                for (int loopPos = clientContribution.MasterTableView.Columns.Count; loopPos > 0; loopPos--)
                {
                    clientContribution.MasterTableView.Columns.RemoveAt(loopPos - 1);
                }
                clientContribution.ID = "MyGrid";
                clientContribution.DataSource = contributionColumns;
                clientContribution.Width = Unit.Percentage(98);
                clientContribution.AutoGenerateColumns = false;
                clientContribution.ShowStatusBar = true;
                clientContribution.MasterTableView.Width = Unit.Percentage(100);
  
                // now build the hierarchical grid
                clientContribution.MasterTableView.GroupByExpressions.Add(
                    new GridGroupByExpression("GroupValue1 group by GroupValue1"));
                clientContribution.MasterTableView.GroupByExpressions.Add(
                    new GridGroupByExpression("GroupValue2 group by GroupValue2"));
  
                GridBoundColumn boundColumn = new GridBoundColumn();
  
                foreach (DataColumn col in contributionColumns.Tables[0].Columns)
                {
                        boundColumn = new GridBoundColumn();
                        clientContribution.MasterTableView.Columns.Add(boundColumn);
                        boundColumn.DataField = col.ColumnName;
                        boundColumn.HeaderText = col.ColumnName;
                        boundColumn.Visible = true;
  
                }
                clientContribution.DataBind();
            }
            catch (Exception exc)
            {
                Debug.WriteLine(exc.Message);
                return null;
            }
            finally
            {
            }
            return null;
  
        }
        #endregion
  
        #region Load the Grid Data
        private DataSet LoadGridData()
        {
            // return the data to display
            DataSet contributionData = new DataSet("MyData");
  
            DataTable gridData = contributionData.Tables.Add("ContData");
  
            gridData.Columns.Add(new DataColumn("GroupValue1"));
            gridData.Columns.Add(new DataColumn("GroupValue2"));
            DataColumn decCol = new DataColumn("ValueToSum");
            decCol.DataType = System.Type.GetType("System.Int32");
            gridData.Columns.Add(decCol);
            DataColumn perCol = new DataColumn("ValueToIgnore");
            perCol.DataType = System.Type.GetType("System.Int32");
            gridData.Columns.Add(perCol);
            DataColumn decCol2 = new DataColumn("ValueToSum2");
            decCol2.DataType = System.Type.GetType("System.Int32");
            gridData.Columns.Add(decCol2);
            DataColumn perCol2 = new DataColumn("ValueToIgnore2");
            perCol2.DataType = System.Type.GetType("System.Int32");
            gridData.Columns.Add(perCol2);
            DataColumn decCol3 = new DataColumn("ValueToSum3");
            decCol3.DataType = System.Type.GetType("System.Int32");
            gridData.Columns.Add(decCol3);
            DataColumn perCol3 = new DataColumn("ValueToIgnore3");
            perCol3.DataType = System.Type.GetType("System.Int32");
            gridData.Columns.Add(perCol3);
  
  
            for (int j = 1; j < 5; j++)
            {
                for (int i = 1; i < 5; i++)
                {
                    DataRow dataRow = contributionData.Tables[0].NewRow();
  
                    dataRow["GroupValue1"] = "Header 1 as " + j.ToString();
                    dataRow["GroupValue2"] = "Heading 2 as " + j.ToString();
                    dataRow["ValueToSum"] = 1234 * i * j;
                    dataRow["ValueToIgnore"] = 805 * i * j;
                    dataRow["ValueToSum2"] = 42 * i * j;
                    dataRow["ValueToIgnore2"] = 901 * i * j;
                    dataRow["ValueToSum3"] = 651 * i * j;
                    dataRow["ValueToIgnore3"] = 104 * i * j;
  
                    contributionData.Tables[0].Rows.Add(dataRow);
                }
            }
            return contributionData;
        }
        #endregion
  
    }
}
Mira
Telerik team
 answered on 28 Jun 2011
1 answer
360 views
I'm using the built-in export buttons of the RadGrid control which are default to be aligned to the right side.

There are 2 columns for the command item row and the buttons are located in the second one. I set the align of the second column to the left but how could I remove the first column or set its width to 0 then setting the colspan of the second column to 2?

 Many thanks,
Pavlina
Telerik team
 answered on 28 Jun 2011
1 answer
121 views

Can this ASP.NET ajax control:
1. Bind or connect to an Exchange Server data store (2003 and higher)?

2. Display multiple calendars simultaneously (display 2 or more user calenders at the same time)?

3. Allow email to be sent.

I am sorry; these are more like sales questions, than technical questions, but I don't have time to test everyone's trial version of these controals (daypilot, devexpress, etc.). I just know that I need a third-party control that looks sort of like an Outlook calendar and will allow a user to save scheduled appointments directly to Exchange Server (while mobile) so that when the user returns to the office and opens Outlook, they will see the new appointments. I don't want to have to jump thru hoops, such as storing appointments elsewhere, like SQL Server, and then having to migrate the data over to Exchange. I want the ASP.NET controls to be able to read/write directly to Exchange.

When a user is mobile, they will also need to view the calendar of multiple contractors at one time, in order to figure out which contractor is available to work on a job. And while mobile, they may need to immediately send email to that contractor, so I need the web control to be able to send email messages as well.

As a Visual Studio 2010 developer, is RadCalendar right for what I need???

Iana Tsolova
Telerik team
 answered on 28 Jun 2011
1 answer
101 views
Hi,

I have two usercontrols that are identical and contain the RadGrid. Inside the code file the NeedDataSource method is used to set the  datasouce. For each page the datasource is different i.e. they pull diffenet records from database.

On both RadGrids I have the same properties set ...

AllowPaging=True,
AllowCustomPaging = False,
AllowSorting = True

When I run the application and visit pages that contain the usercontrols I find one RadGrid displays the paging (footer) and and when click to navigate pages or use the dropdown the expected behaviour happens and records displayed are changed. In the second usercontrol I notice that the paging footer exists, but when i click to move to another grid page of data nothing happens. When I set on this RadGrid the ShowFooterStatus= True and try again I see a image display in the footer indicating that the grid is loading. This never seems to finish and therefore nothing is changed with the data shown.

I also noticed that the sorting does not work in the RadGrid that will not page.

Both usercontrols sit on a blank page and there is no external code that affects each page differently. I have checked each line of markup/code and there are no real differences apart from a different datasource supplied.

I have checked which version of the telerik control i am using ... 2009.3.1208.35

I did see a forum page http://www.telerik.com/community/forums/aspnet-ajax/grid/client-side-paging---hyperlink-not-working.aspx
that said there is a bug in the grid ... "The problem got solved.  In our project we were using telerik version 2009.1.402.20 and it didn't work.  When i changed the version to 2010.3.1109.20, it worked."

Is there a problem with paging and sorting in the version i have?

I dont understand why both my pages show different results. Let me know and I can supply the code files!
Tsvetoslav
Telerik team
 answered on 28 Jun 2011
2 answers
144 views
HI,

I have implemented telerik editor control in my website, it is created dynamically. when I click on image manager it will open image manager dialog, it is working perfect in local environment but when I upload same page in live and open image manager then Image editor are is not loading properly. I have coded like below.

            private RadEditor m_RadEditor;

            m_RadEditor = new RadEditor();
            m_RadEditor.ID = String.Format("ce_{0}{1}", strId, repeatRegionID);

            m_RadEditor.Skin = "Windows7";
            m_RadEditor.AutoResizeHeight = true;

            m_RadEditor.ImageManager.ViewPaths = new string[] { Common.ImageManager };
            m_RadEditor.ImageManager.DeletePaths = new string[] { Common.ImageManager };
            m_RadEditor.ImageManager.UploadPaths = new string[] { Common.ImageManager };

            m_RadEditor.DocumentManager.ViewPaths = new string[] { Common.DocumentManager };
            m_RadEditor.DocumentManager.DeletePaths = new string[] { Common.DocumentManager };
            m_RadEditor.DocumentManager.UploadPaths = new string[] { Common.DocumentManager };

            m_RadEditor.FlashManager.ViewPaths = new string[] { Common.FlashManager };
            m_RadEditor.FlashManager.DeletePaths = new string[] { Common.FlashManager };
            m_RadEditor.FlashManager.UploadPaths = new string[] { Common.FlashManager };

            m_RadEditor.MediaManager.ViewPaths = new string[] { Common.MediaManager };
            m_RadEditor.MediaManager.DeletePaths = new string[] { Common.MediaManager };
            m_RadEditor.MediaManager.UploadPaths = new string[] { Common.MediaManager };

            m_RadEditor.TemplateManager.ViewPaths = new string[] { Common.TemplateManager };
            m_RadEditor.TemplateManager.DeletePaths = new string[] { Common.TemplateManager };
            m_RadEditor.TemplateManager.UploadPaths = new string[] { Common.TemplateManager };
            
            EditorModule htmlInspector = new EditorModule();
            htmlInspector.Name = "RadEditorStatistics";
            htmlInspector.Visible = true;
            m_RadEditor.Modules.Add(htmlInspector);
            
            m_RadEditor.Languages.Clear();
            m_RadEditor.SpellCheckSettings.DictionaryLanguage = "en-US";
            m_RadEditor.ContentAreaCssFile = "~\\enigma\\css\\EditorContent.css";

When open Image manager in page the it will not display properly, I have attached error image for your reference.
Then I have checked error console and it will give error like.

Error: The stylesheet http://new.mr-resistor.co.uk/WebResource.axd?d=4iHdWX44oChUrGXhywayMKYj0PizRSWhqsZ51XINAU4IgbfH5V2FzINmIo0E0iRgy5MEQHnCRn4GC7wI32MUgzFZkxMP1bBcJGQOOprEFzOcmR6bUIQbVtOXXuyTgW2U5REoiA2&t=634390492591420682 was not loaded because its MIME type, "text/html", is not "text/css".
Source File: http://new.mr-resistor.co.uk/enigma/UserControls/Telerik.Web.UI.DialogHandler.aspx?DialogName=ImageManager&UseRSM=true&Skin=Windows7&Title=Image%20Manager&doid=ab42a00e-cf17-4030-a56d-82557e925ea1&dpptn=&dp=eiQOLiAMATIHDQwYFHAoNiNucUUxIUlvN2FzJycmAz0QOBw0OSUaGy0IBAhjeBsfcR4aJyAKPDwpehwoLH8kHBsJEh4KLi4pAUJjISEMOQIuNwwMPSU%2FBCsIBA9aGTYrZQoaBDdoAT0%2FeAsaL3wWNxsLPBkPMSoOO3FrPiAyFwMpDgANEDkZBC4Icw53fCkQeycwNCgjHTszVCo1A0Q4ASAZCh8mHRBqN0QIYRceXh4vJBQ5ChAKBSAOFEh0GiENZQ1SaigOfiM8UxAOHH9TGxsLFh4xIS4cO3F3PRZ4PWMoJwAbPToOGx0mOjtgfBsichoVJzYfGTIBaT1VGm8kBxtvEh0xRCksMER%2FIiB5OiUHIy4ACgcKRy8JGDJpfxcMch4kJCNrIxo8ZjpSFHAoByIlPCAIGCozLm14Igx7Xj4vJgAWPjphHyMgGAxbbDUMSRESMTYcESMHdiYOAmwnAQw2BUUkMj0oLRhrPSEMOS8rNyUUDjo0HxsiexJrbDU1SR5XLR4eJz0HV10nL38kASNuICAOLj4zNkR%2FJRkYFxETNy4bBi4vADUjGDRvRS05fwwSKiMBIHoyeBg6HXA0JRcLMEQ%2BGhgMAW5rGQwTAxsrURwWCys8Qx0JLQttRTkxSiUoaCMzAX8AVRAQLGAwKBduFgY9MBgYBn9VCRkMFzwrURwWCys8Qx0JMkldGQcPeng4Jy01IwAGeS5XAH4KExdsKEQ9GiotARlVFhQmFzwoC2MWBRcRRzYwcw1ocwsWfTMwaS4eOxkAe1E2AGASPRRvIBs%2BIjIIARtrGBUlAzccJBBQCxEwIDQiDAhrRS0VeXkoDyAfLwAGDC46GkMaExYbPCMyHDZvAG5zIA4DBxgrCwwVCys8ITRVezlrfykXfnkSMi4NARkoehwvLBosGiMbKEMyLi4vABsMABoTPTkGJQwJPjUWGzUhAw92GzVsTA40JBg0DTg3eQQKLG9bHCJtBh0PMRssMER%2FIiB5OiUHIyFWCiUaBBtXBBdsbCVoSQEvLiwRAXo%2FbR8VAm4SBiAmEhw5RgxvO0JaYCIdNiEcChw2PjowMyAfCDZcfSksTAxTEyhqLDwzDzIJLxooNCQYCiQ9Mj1mLRlvJBocJSUQNQAVBRAOHCMiFBdsGRcoSicvLig0DTgGDD0RA1EaJyIyEhkkRioqO35zIhkeAyITNzINDioKBx0iewV1bjkwSgEsMTYdBjgzdiJTFHwWJSALEkY%2BMTpvA2F0IhUDJWcQMyEWEDsoAxgfFBVrGxNocSIBbBsPEjwzVCI1LG8KNhgmDj8OIDYrBmwIHxF4CCEcUQwKPU8SMRwhDC1vbyJhZ3k0KCMOATg%2FaDoNKn9TGyMxAgUJMwQvAERNISEmDCUYDRASP08NBDQcOilaRTU0Z3gsNxk0JzwBe1kKLEUkHBsEDiQIG0UoOHFzYSIcOSwGJQwJPjUWGzUhAw8%3D
Line: 0

Error: The stylesheet http://new.mr-resistor.co.uk/WebResource.axd?d=qrEz-LyCwpTuSE7k3Ie4Dg_J2Fnv6GrezKEtGMqw0rQOmJD6-x1wt9RXD9XiXE6KFILbFmlg_xodV4zEFbB_3nSwPox9YQMZ4oqnXHyUjRLAFkdNk1TpILEFZDKOLv5WvFfeMzqHMg5VtsgiPxIUzzglg9A1&t=634390492591420682 was not loaded because its MIME type, "text/html", is not "text/css".
Source File: http://new.mr-resistor.co.uk/enigma/UserControls/Telerik.Web.UI.DialogHandler.aspx?DialogName=ImageManager&UseRSM=true&Skin=Windows7&Title=Image%20Manager&doid=ab42a00e-cf17-4030-a56d-82557e925ea1&dpptn=&dp=eiQOLiAMATIHDQwYFHAoNiNucUUxIUlvN2FzJycmAz0QOBw0OSUaGy0IBAhjeBsfcR4aJyAKPDwpehwoLH8kHBsJEh4KLi4pAUJjISEMOQIuNwwMPSU%2FBCsIBA9aGTYrZQoaBDdoAT0%2FeAsaL3wWNxsLPBkPMSoOO3FrPiAyFwMpDgANEDkZBC4Icw53fCkQeycwNCgjHTszVCo1A0Q4ASAZCh8mHRBqN0QIYRceXh4vJBQ5ChAKBSAOFEh0GiENZQ1SaigOfiM8UxAOHH9TGxsLFh4xIS4cO3F3PRZ4PWMoJwAbPToOGx0mOjtgfBsichoVJzYfGTIBaT1VGm8kBxtvEh0xRCksMER%2FIiB5OiUHIy4ACgcKRy8JGDJpfxcMch4kJCNrIxo8ZjpSFHAoByIlPCAIGCozLm14Igx7Xj4vJgAWPjphHyMgGAxbbDUMSRESMTYcESMHdiYOAmwnAQw2BUUkMj0oLRhrPSEMOS8rNyUUDjo0HxsiexJrbDU1SR5XLR4eJz0HV10nL38kASNuICAOLj4zNkR%2FJRkYFxETNy4bBi4vADUjGDRvRS05fwwSKiMBIHoyeBg6HXA0JRcLMEQ%2BGhgMAW5rGQwTAxsrURwWCys8Qx0JLQttRTkxSiUoaCMzAX8AVRAQLGAwKBduFgY9MBgYBn9VCRkMFzwrURwWCys8Qx0JMkldGQcPeng4Jy01IwAGeS5XAH4KExdsKEQ9GiotARlVFhQmFzwoC2MWBRcRRzYwcw1ocwsWfTMwaS4eOxkAe1E2AGASPRRvIBs%2BIjIIARtrGBUlAzccJBBQCxEwIDQiDAhrRS0VeXkoDyAfLwAGDC46GkMaExYbPCMyHDZvAG5zIA4DBxgrCwwVCys8ITRVezlrfykXfnkSMi4NARkoehwvLBosGiMbKEMyLi4vABsMABoTPTkGJQwJPjUWGzUhAw92GzVsTA40JBg0DTg3eQQKLG9bHCJtBh0PMRssMER%2FIiB5OiUHIyFWCiUaBBtXBBdsbCVoSQEvLiwRAXo%2FbR8VAm4SBiAmEhw5RgxvO0JaYCIdNiEcChw2PjowMyAfCDZcfSksTAxTEyhqLDwzDzIJLxooNCQYCiQ9Mj1mLRlvJBocJSUQNQAVBRAOHCMiFBdsGRcoSicvLig0DTgGDD0RA1EaJyIyEhkkRioqO35zIhkeAyITNzINDioKBx0iewV1bjkwSgEsMTYdBjgzdiJTFHwWJSALEkY%2BMTpvA2F0IhUDJWcQMyEWEDsoAxgfFBVrGxNocSIBbBsPEjwzVCI1LG8KNhgmDj8OIDYrBmwIHxF4CCEcUQwKPU8SMRwhDC1vbyJhZ3k0KCMOATg%2FaDoNKn9TGyMxAgUJMwQvAERNISEmDCUYDRASP08NBDQcOilaRTU0Z3gsNxk0JzwBe1kKLEUkHBsEDiQIG0UoOHFzYSIcOSwGJQwJPjUWGzUhAw8%3D

Please suggest me how to resolve the issue.

Thanks in advance.
Mohmedsadiq
Dobromir
Telerik team
 answered on 28 Jun 2011
3 answers
157 views
Hi all,

I want to bind my radtreelist control to database. em getting only the column names and not getting treelist structure...

 em pasting my below...
and also find the find attachment to know table view which is datasource to my treelist control... 

<

 

 

html xmlns="http://www.w3.org/1999/xhtml">

<

 

 

head runat="server">

 

<title></title>

</

 

 

head>

<

 

 

body>

 

<form id="form1" runat="server">

 

<telerik:RadScriptManager ID="scriptmanager" runat="server"></telerik:RadScriptManager>

 

<div>

 

<telerik:RadTreeList ID="treelist" runat="server"

 

AllowPaging="True" DataKeyNames="FirstName" ParentDataKeyNames="gender"

 

DataSourceID="SqlDataSource1" GridLines="Horizontal" AutoGenerateColumns="true"

 

ShowTreeLines="False" >

 

<PagerStyle Mode="NextPrev" />

 

</telerik:RadTreeList>

 

<asp:SqlDataSource ID="SqlDataSource1" runat="server"

 

ConnectionString="<%$ ConnectionStrings:TestConnectionString1 %>"

 

SelectCommand="SELECT [MobileNumber], [P_Id], [FirstName], [MiddleName], [LastName], [JObTitle], [DOB], [EmailID], [gender] FROM [Persons]">

 

</asp:SqlDataSource>

 

</div>

 

</form>

</

 

 

body>

</

 

 

html>

 
Radoslav
Telerik team
 answered on 28 Jun 2011
3 answers
371 views
Dear Friends,

I am faced with a situation where i need to use RadScheduler to manage guards(security guards) deployments across the city.
I have been doing some reading on the properties of RadScheduler.
Here's what I want to achieve:
  • Define the employees(guard details).That i can do.
  • Design a table called DeploymentTemplate. In this table, i want to store EmpId,AreaId,Start,End,RecurrenceRule where i can capture for each guard a standard template for their deployments. Basically, a particular guard can be deployed in an area for whole month(reason for Recurrance).
  • Each time a guard is deployed, i need to mark (check) him as Worked.e.g on 23-mar-2011,from his deployement template,starting at 8:00am to 6PM, he's checked in as worked.
  • I need to customize the entry form.Currently, RadScheduler has a default entry form with Subject,Description etc which works fine for appointment. All i want is if i want to insert/edit a deployment, and on clicking the calender, i get a pop up FORM with my own controls such RadCombobox,TEXTBOX etc from which i can insert/edit values into the database.
  • I want also to bind all the controls including Resources and RadScheduler from code behind (NOT client side).
  • I need to filter by Guards and info of deployment displayed on the RadScheduler. For example, when i select a guard from a drop down, i need to view his deployment template per day, and be able to edit it as i want. etc

Now, I don't want anybody to do this for me. ALL am kindly requesting is, can someone send me a link where i can download a source for a similar project? Or a fully functional RADSCHEDULER with such complexity.
Note that i have also seen the telerik radscheduler examples, therefore, would request you not send me the link.

You help is highly appreciated.

God bless you and long live telerik.

Robert
kaethy
Top achievements
Rank 1
 answered on 28 Jun 2011
1 answer
86 views

I'm trying to loop through all selected rows via with the code below and it works fine until I ReOrder the columns. 
At that point, it returns the value in the column to the right of  it.  No matter how many times I reorder it, it always returns the value to the right. 

Code Behind:

For Each gdi As GridDataItem In rgTimeMaterial.SelectedItems
    jn = gdi("Customer").Text
Next

 

Asp.Net:

 

<t:RadGrid ID="rgTimeMaterial" runat="server" PageSize="200" AllowPaging="True" AllowSorting="True"
 AllowMultiRowSelection="true" Width="995" Height="412px" GridLines="Both" ShowFooter="true">
 <HeaderStyle Width="100" Wrap="false" />
 MasterTableView EnableHeaderContextMenu="true" CellPadding="0" CellSpacing="0" AllowMultiColumnSorting="true"
 Width="100%" ClientDataKeyNames="Job_Number">
 <CommandItemSettings ExportToPdfText="Export to Pdf" />
 <Columns>
 <t:GridClientSelectColumn HeaderStyle-Width="35" UniqueName="ClientSelectColumn" />
 </Columns>
 MasterTableView>
<ItemStyle Font-Names="Arial,Helvetica,sans-serif" Font-Size="9pt" Wrap="false" />
<ClientSettings ColumnsReorderMethod="Reorder" AllowColumnsReorder="True" AllowColumnHide="true"
ReorderColumnsOnClient="True">
<ClientEvents OnRowContextMenu="RowContextMenu" OnRowDblClick="OnRowDblClick" OnRowCreated="RadGrid1_RowCreated"
OnRowSelected="RadGrid1_RowSelected" OnRowDeselected="RadGrid1_RowDeselected"
OnGridCreated="GridCreated" />
<Selecting AllowRowSelect="true" EnableDragToSelectRows="true" />
<Scrolling SaveScrollPosition="true" AllowScroll="true" UseStaticHeaders="True">
</Scrolling>
<Resizing AllowColumnResize="true" EnableRealTimeResize="true" ShowRowIndicatorColumn="true"
ClipCellContentOnResize="true" AllowResizeToFit="true" />
</ClientSettings>
<PagerStyle Position="Top" Mode="NextPrevAndNumeric" AlwaysVisible="true" />
</t:RadGrid>

Iana Tsolova
Telerik team
 answered on 28 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?