Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
134 views
Hi telerik team,

I have one question about RadScheduler control, Is there a way to change X-axis items and Y-axis items such that, hours will appear in the header section of the control horizontally and Days/Resources will appear on the left hand side of the control vertically? If this can be done, could you guys kindly post instructions for this?

Regards,
mark
Mark Ktz
Top achievements
Rank 1
 answered on 18 Dec 2009
9 answers
380 views
Using the Combo box with load-on-demand with "WCF" don't show any text values. The call to the webservice is working fine but there is no text-values displayed in the dropdown. The combo box containted 10 empty elements without any text values..?

Please help.

Here is my simplecode

ILocationService.cs
[ServiceContract]
public interface ILocationService
{
    [OperationContract]
    RadComboBoxItemData[] GetCountries();
}

LocationService.cs
[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
public class LocationService : ILocationService
{
    public RadComboBoxItemData[] GetCountries()
    {
        List<RadComboBoxItemData> result = new List<RadComboBoxItemData>();
        for (int i = 0; i < 10; i++)
        {
            RadComboBoxItemData itemData = new RadComboBoxItemData();
            itemData.Text = "Item" + i.ToString();
            itemData.Value = i.ToString();
            result.Add(itemData);
        }
        return result.ToArray();
    }
}

LocationService.svc
<%@ ServiceHost Language="C#" Debug="true" Service="LocationService" CodeBehind="~/App_Code/LocationService/LocationService.cs" %>

TestSVC.aspx
        <telerik:RadComboBox ID="drpCountry" runat="server" EnableLoadOnDemand="True">
            <WebServiceSettings Method="GetCountries" Path="~/WebServices/LocationService.svc" />
        </telerik:RadComboBox>
Joe
Top achievements
Rank 2
 answered on 18 Dec 2009
1 answer
67 views
Hi,

Grid is distorted in Mozilla(Firefox). Can you please confirm that Telerik control supports Mozilla(Firefox) browser.

Thnks in advance...

Regards,
Nidhi...

sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 17 Dec 2009
1 answer
92 views
I am using an image button with m,y listview using the command="Select" to add the item to my cart. When the item is selected the selected_indexChanged is firing twices and insert 2 records for the one item selected.

I am using 2009.2.1208 version Control ListView

Has anyone else seen this issue? Is there a fix or work around?


Thanks
Dwayne Starkey
Top achievements
Rank 1
 answered on 17 Dec 2009
3 answers
131 views
Hi,

I am having Rad Grid, which has a child grid inside, Click on particular row in the parent Grid, I am displaying child Grid. I want to Export the entire Grid with expanded child grid to PDF. I tried the samples given in the Telerik forums, 

On Button Click Event:

grid.ExportSettings.ExportOnlyData =

true;

 

grid.MasterTableView.HierarchyDefaultExpanded =

true;

 

grid.MasterTableView.ExportToPdf();


I am getting following error:

System.SystemException: At least one of minimum, optimum, or maximum IPD must be specified on table.
  at Telerik.Web.Apoc.ApocDriver.FireApocError(String message)
  at Telerik.Web.Apoc.Fo.Flow.Table.SetIPD(Boolean bHasProportionalUnits, Int32 maxAllocIPD)
  at Telerik.Web.Apoc.Fo.Flow.Table.CalcFixedColumnWidths(Int32 maxAllocationWidth)
  at Telerik.Web.Apoc.Fo.Flow.Table.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Block.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.TableCell.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.TableRow.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.AbstractTableBody.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Table.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Block.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Flow.Layout(Area area, Region region)
  at Telerik.Web.Apoc.Fo.Flow.Flow.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Pagination.PageSequence.Format(AreaTree areaTree)
  at Telerik.Web.Apoc.StreamRenderer.Render(PageSequence pageSequence)
  at Telerik.Web.Apoc.Fo.FOTreeBuilder.EndElement()
  at Telerik.Web.Apoc.Fo.FOTreeBuilder.Parse(XmlReader reader)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more

Can anyone help me on this.

Thanks, Malli
Daniel
Telerik team
 answered on 17 Dec 2009
2 answers
233 views

We are using a third party control to develop the scheduler functionality in our application. But with that we are not able to show the appointments in a different color based on the appointment status. I have seen your online Demos and I saw RadScheduler is a perfect suit for our requirements.

We had recurring appointments and we were rebinding our control to the datatable on the next day or previous day button click events.

RadScheduler was not showing anything even I have an appointments exists for next day/previous day.  I tried rebinding the datatable to the Scheduler from RadScheduler1_NavigationCommand Event but it still showing nothing.  Is there anyway that I can make this workout without using DataRecurrenceField and DataRecurrenceParentKeyField ?

 

 

Harsh Mehta
Top achievements
Rank 1
 answered on 17 Dec 2009
2 answers
147 views
Good Afternoon,

I am trying to wire up the ItemDataBound event of the RadListView control and encountering issues doing so. Let me describe the situation.

I am building a custom Sharepoint webpart that loads a control from an aspx page using Page.LoadControl. The loaded aspx page contains the RadListViewControl whose events I wish to wire up.
_ctrlGoogleCalendarSubscriptions = Page.LoadControl("/_controltemplates/NUGoogleCalendarSubscriptions.ascx");  
 

To wire up the event I call;

 

 

 

_radCalendarListView.ItemDataBound += new EventHandler(this.radCalendarListView_OnItemDataBound);  
 

I do this in the CreateChildControls method.

 

 

However when I compile I recieve the error "No overload for 'radCalendarListView_OnItemDataBound' matches delegate 'System.EventHandler'"

The method I am passing is below,

 

        protected void radCalendarListView_OnItemDataBound(object sender, Telerik.Web.UI.RadListViewItemEventArgs e)  
        {  
        } 

I am able to wire up the DataBinding event without issue.

Am I missing something, is this not possible with the Rad Controls when loaded in this fashion?

Please let me know if you need any further details at all.

Regards,

Christian Brown
Christian
Top achievements
Rank 1
 answered on 17 Dec 2009
2 answers
197 views
I have a grid that is subclassed from the telerik grid control. It is declared like this on the page

ID

 

="NotarySearchResultsGrid" runat="server" AutoGenerateColumns="false" OnNeedDataSource="NotarySearchResultsGrid_NeedDataSource"

 

 

OnItemCommand="NotarySearchResultsGrid_ItemCommand" AutoGenerateDeleteColumn="false" AutoGenerateEditColumn="false"

 

 

AllowDelete="false" AllowEdit="false" AllowInsert="false" AllowSorting="true"

 

 

ShowViewDetailsCommandColumn="false"

 

 

AllowPaging="true" PageSize="100" PagerStyle-Position="Bottom" PagerStyle-Mode="NextPrevAndNumeric"

 

 

>

 

 

<MasterTableView DataKeyNames="CommissionNumber" CommandItemDisplay="None" >

 

 

<Columns>

 

 

<telerik:GridButtonColumn HeaderText="Commission #" UniqueName="CommissionNumberColumn" ButtonType="LinkButton" DataTextField="CommissionNumber"

 

 

CommandName="CommissionSelected" SortExpression="CommissionNumber" ></telerik:GridButtonColumn>

 

 

<telerik:GridBoundColumn HeaderText="Name" UniqueName="NotaryNameColumn" DataField="Name" SortExpression="Name"></telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn HeaderText="Address" UniqueName="AddressColumn" DataField="Address" SortExpression="Address"></telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn HeaderText="City" UniqueName="CityColumn" DataField="City" SortExpression="City"></telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn HeaderText="Zip" UniqueName="ZipColumn" DataField="Zip" SortExpression="Zip"></telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn HeaderText="County" UniqueName="CountyColumn" DataField="County" SortExpression="County"></telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn HeaderText="Status" UniqueName="StatusColumn" DataField="Status" SortExpression="Status"></telerik:GridBoundColumn>

 

 

</Columns>

 

 

<NoRecordsTemplate>

 

 

<div>

 

No records to display.

 

</div>

 

 

</NoRecordsTemplate>

 

 

</MasterTableView>

 


However, when the grid displays, there is an extra column at the end of the grid. Looks like a hyphen or the beginning of an underline in the column header area but no data in the column. Using the IE dev toolbar, I'm able to see tha tthe UniqueName for this column is DeleteCommandColumn. Both AllowDelete and AllowAutoGenerateDelete columns are set to false in the code above. Is there another setting I can set too? Nothing jumped out at me.

Thanks,
Dennis
Dennis
Top achievements
Rank 1
 answered on 17 Dec 2009
2 answers
169 views
I want to create column header groups. and am not able to find an example of anything close to what I'm trying to do.

I need to group repeating set of columns, and the grid is resizeable, so it would be optimal to have these headers generated within the grid headers, but have no idea how this would be best accomplished.

I've attached a sample visual which I think will explain better than words.
Steve
Top achievements
Rank 1
 answered on 17 Dec 2009
6 answers
130 views
Hi,
Can we able to access the controls inside rad pannel from code behind.
Like asp pannel.
Thanks.
Eva

Eva Stephen
Top achievements
Rank 1
 answered on 17 Dec 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?