Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
127 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
102 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
147 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
158 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
376 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
87 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
1 answer
88 views
I changed my column type from GridBoundColumn to GridDateTimeColumn using the datepicker control. When I edit a row I don't see the textbox with the date in it (see image).  Also how to control the position of the calender control
<%--<telerik:GridBoundColumn SortExpression="EffectiveDate"
                               HeaderText="EffectiveDate" HeaderButtonType="TextButton"
                               DataField="EffectiveDate" UniqueName="EffectiveDate"
                               DataFormatString="{0:MM/dd/yyyy}" Visible="True">
                                <HeaderStyle Width="80px" />
                           </telerik:GridBoundColumn>--%>
                           <telerik:GridDateTimeColumn DataField="EffectiveDate" DataFormatString="{0:MM/dd/yyyy}" PickerType="DatePicker"
                               HeaderText="EffectiveDate" SortExpression="EffectiveDate" DataType="System.DateTime"
                               UniqueName="EffectiveDate" EditDataFormatString="MM/dd/yyyy" >
                               <HeaderStyle Width="170px" />
                           </telerik:GridDateTimeColumn>
.
Iana Tsolova
Telerik team
 answered on 28 Jun 2011
1 answer
86 views
Hi,

Is there an easy way to get the default AdvancedEditTemplate for the scheduler?  I want to tweak the default, but not have to re-write it from scratch and I can't seem to find it.

Thanks.
Plamen
Telerik team
 answered on 28 Jun 2011
8 answers
237 views
When trying to use a .NET DateTimeOffset property for the RadScheduler.DataStartField and DataEndField property, I get the following error on DataBind:

Unable to cast object of type 'System.DateTimeOffset' to type 'System.IConvertible'

Is it possible to use DateTimeOffset as a data field?

Thanks.
Plamen
Telerik team
 answered on 28 Jun 2011
2 answers
162 views
Dear All,

  In radgrid set ShowHeader="false" because no need header. But we need filter for columns. I set Allowfilter="False" but its not working.
can u pls sort out this problem.

thanks
Vinoth
vinoth sansar
Top achievements
Rank 2
 answered on 28 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?