Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
67 views
Hello!

I searched the forums and read the following links:

http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/columntypes/defaultcs.aspx
http://www.telerik.com/help/aspnet-ajax/grdcolumntypes.html

I have setup a table with three fields on a RadGrid:

- ID (integer, primary key)
- description (string)
- status (char[01])

and I want to have the status field as a boolean type where I'd like to add an image showing green or red ajaxed to represent the T/F state but I can't get it running.
I also tried to add a Checkbox according to the links I saw but I received the following error message:

"System.FormatException: String was not recognized as a valid Boolean."

What am I doing wrong and how can I achieve the result I want to?
Thanks!

Ricardo
Ricardo Rekowsky
Top achievements
Rank 1
 answered on 12 Aug 2010
2 answers
96 views
Greetings

For some reason my RadComboBox does not display the very well-known selectedvalue property.
If this property is not available, what is the work-around for biding my datasource results to the RadCombobox

please let me know

Thanks

Sergio
Sergio
Top achievements
Rank 1
 answered on 12 Aug 2010
2 answers
95 views
I have a project [pretty much the same one my last 1/2 dozen posts have been on, hehe] where I have a chart in an ajax panel that, when refreshed the map isn't getting "reprocessed" and the old tool tips will still show. The chart is changing, so it's a whole new set of points and axis values, but if I mouse over the same place as the previous points, I get the previous tool tips appearing.
This is only happening in chrome.

I haven't had time to build a simple project to get it to work yet. Just wondering if there's any input or known issue with chrome and refreshing a chart's tooltip map.

Thanks.
Baatezu
Top achievements
Rank 2
 answered on 12 Aug 2010
16 answers
446 views
Hi ALL,
                Iam using Export to Excel for the RadGrid. in code behind iam writing like this

RadGrid1.ExportSettings.Excel.Format = Telerik.Web.UI.

GridExcelExportFormat.ExcelML;

 

RadGrid1.ExportSettings.ExportOnlyData =

true;

 

RadGrid1.MasterTableView.ExportToExcel();

On  RadGrid1.ExportSettings.Excel.Format = Telerik.Web.UI.GridExcelExportFormat.ExcelML; it is giving me error as object Reference is not set.

Can any one pls let me know why it is giving that error.

Regards,
asra

Pavlina
Telerik team
 answered on 12 Aug 2010
3 answers
85 views
Steps:

I have a Rad grid with paging enabled( Say ihave grid with 4pages into it)
Now I select first row in the page 1 then click the sortable coulmn;the grid automatically navigates to page x with the sameselected value.Say it redirects me to page 2 with the same selected row.I dont want the grid to work like this in the above scenario.

My desired output should be something like:
If I select a first row and then click sortable column,the grid should not navigate to different page,rather it should remain on the same page.
Say If I selected row is on page 2 of grid and i click the sortable coulmn.I should be on the page 2 itself and 1st row should remian as selected (may be with different value of sorting is applied).
Pavlina
Telerik team
 answered on 12 Aug 2010
1 answer
65 views
Hi Telerik Team,

We have used RadStyleSheetManager in our application. In local server Styles are applying fine. But when i deploy the application in remote server, the styles are not applying.
In web.config all the required settings are given. What is the reason for it or any extra settings needed other than HttpHandler registration and system.webServer for WebResource?

VS2008
C#

Urgent Help is apperciated,
Thanks.
T. Tsonev
Telerik team
 answered on 12 Aug 2010
5 answers
154 views

Hello Telerik Team,

I have developed a scheduler which pulls data from sharepoint list.But i could see that the end date
does not show up correctly.Please anyone can guide me .

Thank you
Smith

T. Tsonev
Telerik team
 answered on 12 Aug 2010
1 answer
91 views
I am trying to use a GridRatingColumn in a detail table in hierarchical grid. However, I am getting the following error:

FilterDelay is not supported by Telerik.Web.UI.GridRatingColumn


If I remove the rating column, the detail table loads without errors. Should this work?
Veli
Telerik team
 answered on 12 Aug 2010
5 answers
281 views
hi

I am new to telerik controls so please help me to sort out this problem.

I am using AdvanceInsert and AdvanceEdit template to save and edit the appointments. i also used resources and custome attributes in scheduler to match my requirements, but i wasn't been able to fetch the resources values on "schActivities_AppointmentInsert" event.

let me show you my code to explain the issue.

In aspx
<telerik:RadScheduler ID="schActivities" Width="100%" Height="100%" runat="server"
        Skin="Office2007" SelectedView="MonthView" DayStartTime="08:00:00" DayEndTime="18:00:00"
        TimeZoneOffset="03:00:00" DataKeyField="ID" DataSubjectField="ActName" DataDescriptionField="Description" DataStartField="StartDate"
        DataEndField="EndDate" OnClientTimeSlotContextMenu="OnClientTimeSlotContextMenu"
        OnFormCreated="OnFormCreated" StartInsertingInAdvancedForm="true" StartEditingInAdvancedForm="true"
        OnTimeSlotContextMenuItemClicking="OnTimeSlotContextMenuItemClicking" OnClientFormCreated="schedulerFormCreated" AllowDelete="false" CustomAttributeNames="ActType,Priority,Location,ContactIDs,Notes">
        <AdvancedForm Modal="true" Enabled="true" Width="570" />
        <TimelineView UserSelectable="false" />
        <TimeSlotContextMenuSettings EnableDefault="true" />
        <AppointmentContextMenuSettings EnableDefault="true" />
        <ResourceTypes>
            <telerik:ResourceType KeyField="Value" Name="ActType" TextField="Value" ForeignKeyField="ActType" />
            <telerik:ResourceType KeyField="Value" Name="Priority" TextField="Value" ForeignKeyField="Priority" />
        </ResourceTypes>
        <ResourceStyles>
            <telerik:ResourceStyleMapping Type="Priority" Text="Low" ApplyCssClass="rsCategoryGreen" />
            <telerik:ResourceStyleMapping Type="Priority" Text="Medium" ApplyCssClass="rsCategoryOrange" />
            <telerik:ResourceStyleMapping Type="Priority" Text="High" ApplyCssClass="rsCategoryBlue" />
        </ResourceStyles>
        <AppointmentTemplate>
            <img src='<%# "../Images/Schedule" + Eval("ActType") +".gif" %>' alt=" " title='<%# Eval("ActType") %>' />
            <asp:Label ID="lblSubject" runat="server" Text='<%# Eval("Subject") %>' />
            <%--Text='<%# (Convert.ToString(Eval("Subject")).Length > 10) ? Convert.ToString(Eval("Subject")).Substring(0,10) : Eval("Subject") %>'--%>
        </AppointmentTemplate>
        <TimeSlotContextMenus>
            <telerik:RadSchedulerContextMenu runat="server" ID="SchedulerTimeSlotContextMenu">
                <Items>
                    <telerik:RadMenuItem Selected="true" Text="Schedule a meeting" Value="CommandAddAppointment" />
                    <telerik:RadMenuItem Text="Schedule a call" Value="CommandAddAppointment" />
                    <telerik:RadMenuItem Text="Schedule a task" Value="CommandAddAppointment" />
                    <telerik:RadMenuItem IsSeparator="true" />
                    <telerik:RadMenuItem Selected="true" Text="Un-Scheduled activities">
                        <Items>
                            <telerik:RadMenuItem Text="Create a meeting" Value="CommandAddAppointment" />
                            <telerik:RadMenuItem Text="Make a call" Value="CommandAddAppointment" />
                            <telerik:RadMenuItem Text="Create a task" Value="CommandAddAppointment" />
                        </Items>
                    </telerik:RadMenuItem>
                    <telerik:RadMenuItem IsSeparator="true" />
                    <telerik:RadMenuItem Text="Go to today" Value="CommandGoToToday" />
                </Items>
            </telerik:RadSchedulerContextMenu>
        </TimeSlotContextMenus>
        <AppointmentContextMenus>
            <telerik:RadSchedulerContextMenu runat="server" ID="SchedulerAppointmentContextMenu">
                <Items>
                    <telerik:RadMenuItem Text="Edit" Value="CommandEdit" />
                    <telerik:RadMenuItem IsSeparator="True" />
                    <telerik:RadMenuItem Text="Export to iCal" />
                </Items>
            </telerik:RadSchedulerContextMenu>
        </AppointmentContextMenus>
        <AdvancedInsertTemplate>
            <Scheduler:AdvancedForm runat="server" ID="ucAdvForm_Insert" Mode="Insert" Subject='<%# Bind("Subject") %>'
                Description='<%# Bind("Description") %>' ActType="Meeting" Start='<%# Bind("Start") %>'
                End='<%# Bind("End") %>' ContactIDs='<%# Bind("ContactIDs") %>' />
        </AdvancedInsertTemplate>
        <AdvancedEditTemplate>
            <Scheduler:AdvancedForm runat="server" ID="ucAdvForm_Edit" Mode="Edit" Subject='<%# Bind("Subject") %>'
                Description='<%# Bind("Description") %>' ActType="Meeting" Start='<%# Bind("Start") %>'
                End='<%# Bind("End") %>' ContactIDs='<%# Bind("ContactIDs") %>' />
        </AdvancedEditTemplate>
    </telerik:RadScheduler>


In cs file
protected void schActivities_AppointmentInsert(object sender, SchedulerCancelEventArgs e)
        {
//code
        }
 
 
        protected void schActivities_AppointmentUpdate(object sender, AppointmentUpdateEventArgs e)
        {
        }

but i wasn't been able to get resources values in insert event.  actually in my scheduler there are three kind of appointment "Meeting", "Call", "Task" and i need to set the Activity Type on insert command, but i can't find it through resources. Please help me in this.

Regards
Manmeet Singh
Veronica
Telerik team
 answered on 12 Aug 2010
3 answers
149 views
Hi,

In my scheduling application (which displays using web service based binding for the appointments and serverside bindings for the group by resource headers), I need to display different resource headers for different date ranges.

This is fine when the page is loaded for a specific date, but not when the date is changed via the date previous/next/calendar controls, which load new appointments via Ajax.

I'm thinking that I need to handle date change events such that I can reload the entire page under these circumstances, which leads me on to a couple of questions:

1) Which events do I need to override in the browser to make sure that I get control once the date is changed?

2) My schedule control is within an AjaxPanel, from my event handler, how can I force a postback that does a full page reload instead of a partial Ajax one?

3) I need to keep tabs on the date range that the scheduler is displaying throughout all this, what properties do I have to copy into hidden fields for the visible date window?

Thanks for your help.
T. Tsonev
Telerik team
 answered on 12 Aug 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?