Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
95 views
I have found that a grid field cannot be sorted by anything other than "EqualTo" method if the data type is Number. This is an issue for me so I am attempting to create a custom filter for this column. The filter control must be a text box only, no button so that it behaves just like the built in filter for a radgrid. I have tried to find some example but have not been able to. Below is the client side code for the column but i am stuck as to what to do next


<telerik:GridBoundColumn DataField="INPUT_BY" UniqueName="INPUT_BY" HeaderText="Input By"
         AllowFiltering="True" AutoPostBackOnFilter="true" ShowFilterIcon="false">
<FilterTemplate>
  <telerik:RadTextBox runat="server" ></telerik:RadTextBox>
 </FilterTemplate>
</telerik:GridBoundColumn>


Again the desired functionality is to replicate the built in filter functionality but it MUST be able to filter using the contains filter method on a Number data type. Any ideas on how to code that up? Thanks in advance
Princy
Top achievements
Rank 2
 answered on 02 Sep 2013
2 answers
129 views
I am using a telerik radScheduler into my major project. and it is working fine on Local system.
But on live it is not working fine.
I can only view my scheduled activity, drag & drop activity, increase or decrease time span only.
But when i try to create or edit an recurrence activity it open the edit mode but nothing work on it.
Even insert and cancel buttons are also not working on edit mode.
I am showing you simple example of my code over here, please have a look.
 Remember that it is working fine on local machine but on live it is not working.

//on aspx page
 
    <div class="clear"></div>
        <telerik:RadScheduler ID="RadScheduler1" runat="server">
            <AppointmentContextMenus>
                <telerik:RadSchedulerContextMenu runat="server" ID="SchedulerAppointmentContextMenu">
                    <Items>
                        <telerik:RadMenuItem Text="Completed / Re-Initiate" ImageUrl="../Images/right-img.png" Value="complete"/>
                        <telerik:RadMenuItem Text="Notified" ImageUrl="../Images/calender_icon.gif"/>
                    </Items>
                </telerik:RadSchedulerContextMenu>
            </AppointmentContextMenus>
            <TimeSlotContextMenus>
                <telerik:RadSchedulerContextMenu runat="server" ID="SchedulerTimeSlotContextMenu">
                    <Items>
                        <telerik:RadMenuItem Text="New Appointment" ImageUrl="../Images/plus.png" Value="CommandAddAppointment"></telerik:RadMenuItem>
                        <telerik:RadMenuItem Text="New Recurring Appointment" ImageUrl="../Images/refresh-icon.gif" Value="CommandAddRecurringAppointment"></telerik:RadMenuItem>
                        <telerik:RadMenuItem IsSeparator="true"></telerik:RadMenuItem>
                        <telerik:RadMenuItem Text="Go to today" Value="CommandGoToToday"></telerik:RadMenuItem>
                    </Items>
                </telerik:RadSchedulerContextMenu>
            </TimeSlotContextMenus>
        </telerik:RadScheduler>

//on aspx.cs page
 
    protected void bindCalendar(DataTable dtSchedule)
    {
        RadScheduler1.DataSource = dtSchedule;
        //RadScheduler1.DataSourceID = "schedule_id";
        RadScheduler1.DataKeyField = "schedule_id";
        RadScheduler1.DataStartField = "schedule_from";
        RadScheduler1.DataEndField = "schedule_to";
        RadScheduler1.DataRecurrenceField = "schedule_record_data";
        RadScheduler1.DataDescriptionField = "schedule_description";
        RadScheduler1.DataRecurrenceParentKeyField = "schedule_record_key";
        RadScheduler1.DataSubjectField = "schedule_title";
        RadScheduler1.DataBind();
    }

--table structure
CREATE TABLE [ref].[scheduler](
    [schedule_id] [int] IDENTITY(1,1) NOT NULL,
    [schedule_title] [nvarchar](max) NULL,
    [schedule_from] [datetime] NULL,
    [schedule_to] [datetime] NULL,
    [schedule_record_key] [int] NULL,
    [schedule_record_data] [nvarchar](max) NULL,
    [schedule_description] [nvarchar](max) NULL,
    [activity_type] [nvarchar](max) NULL,
    [schedule_users] [nvarchar](max) NULL,
    [schedule_group] [nvarchar](max) NULL,
    [schedule_sop] [int] NULL,
    [schedule_days] [nvarchar](max) NULL,
    [schedule_occurence] [nvarchar](max) NULL,
    [schedule_by] [int] NULL,
    [schedule_date] [datetime] NULL,
    [schedule_modify_by] [int] NULL,
    [schedule_modify_date] [datetime] NULL,
    [schedule_is_completed] [bit] NULL,
    [schedule_completed_users] [nvarchar](max) NULL,
    [schedule_completed_group] [nvarchar](max) NULL,
    [schedule_is_delete] [bit] NULL,
    [schedule_form] [int] NULL,
    [schedule_division_fkid] [int] NULL,
    [schedule_company_fkid] [int] NULL,
    [schedule_sop_for] [int] NULL,
 CONSTRAINT [PK_scheduler] PRIMARY KEY CLUSTERED
(
    [schedule_id] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

Prashant
Top achievements
Rank 2
 answered on 02 Sep 2013
1 answer
276 views
Hi,
I am experiencing some problem with the filename of some document.

The users print out articles from internet and upload them as they are using the upload button of the attachmentcolumn. The problem comes when in the file name there are chars like < > ' which in our case cause exceptions.
To avoid the problem I would like to filter (strip out those special chars from the filename) before uploading.
To do so I need to get access to the filename of the file before it gets uploaded, manage it and pass it back to the attachmentcolumn control.
How can I achieve that?

Jayesh Goyani
Top achievements
Rank 2
 answered on 02 Sep 2013
1 answer
144 views
Hello Team,


        I have a paid dll of telerik controls so i have to use Rad Search Box in my project but in my dll i dont have searchbox control so how can i update my dll please tell me and how can i use search box control in my project with my current dll

Thanks & Regrads
Sunny
Shinu
Top achievements
Rank 2
 answered on 02 Sep 2013
6 answers
123 views
Hi,
I have received the source code of my website from a developer but when I try to open a page in Visual Studio 2012, I get errors all over:
failed to create designer, rendering problems and so on. More details are in the attached picture.
I have added references to telerik.web.design and telerik.web.ui as wel as telerik.web.ui.skins in the project but still I am not coming right.
I can I solve this problem?
Jayesh Goyani
Top achievements
Rank 2
 answered on 02 Sep 2013
9 answers
328 views
Hi all,

I have to ask this and maybe a telerik Admin can answer this as well.  I am using the self-paced tutorial PDF step-by-step document to learn Telerik.  You list a link that is not in the PDF (http://www.telerik.com/help/aspnet-ajax/grddesigncreatinghierarchicalgrids.html).  I also notice that there are other samples and tutorials on the telerik.com website.

  1. How are they (the documentation) different from the other?
  2. What are they?  I've seen the PDF, the above link, the Telerik Trainer (which only lets me view the "introduction", nothing else)
  3. Which one/s should I use to learn Telerik? 

I ask because I'm having some problems using the scripts in the PDF (they don't all work), and I'd like to better manage my time learning Telerik.

Thanks!
r2
Debbie
Top achievements
Rank 1
 answered on 01 Sep 2013
2 answers
158 views
Hi,
I have tried to set up the controls in subject to appear as imageButtons but without success.
Which is the property to be changed to set those menu as imageButtons?
I have highlighted in the attached picture the controls I am talking about.
Felice
Top achievements
Rank 1
 answered on 01 Sep 2013
0 answers
104 views
Hello,
    I have problem in menu bind in TimeSlotContextMenus event.
Here is the menus which i have added in the rad scheduler control but i can't manipulate these menu to display in different time slot according to condition(condition from database).
Example:
<TimeSlotContextMenus>
                                                            <telerik:RadSchedulerContextMenu ID="SchedulerTimeSlotContextMenu" runat="server">
                                                                <Items>
                                                                    <telerik:RadMenuItem Text="New Appointment" Value="New" />
                                                                    <telerik:RadMenuItem IsSeparator="true" />
                                                                    <telerik:RadMenuItem Text="Add Break/Block" Value="Break" />
                                                                    <telerik:RadMenuItem IsSeparator="true" />
                                                                    <telerik:RadMenuItem Text="Paste" Value="Paste" />
                                                                </Items>
                                                            </telerik:RadSchedulerContextMenu>
<telerik:RadSchedulerContextMenu ID="SchedulerTimeSlotContextMenu11" runat="server">
                                                                <Items>
                                                                    <telerik:RadMenuItem Text="Condition" Value="Cond" />
                                                                                                                                   </Items>
                                                            </telerik:RadSchedulerContextMenu>
                                                        </TimeSlotContextMenus>
Only one menu should display in one time slot. I can't get this work. I can do in appointment menu with different menu in RadScheduler1_AppointmentDataBound event.
example:
<AppointmentContextMenus>
                                                            <telerik:RadSchedulerContextMenu ID="SchedulerAppointmentContextMenu" runat="server"
                                                                DataTextField="Status" DataValueField="Code" AppendDataBoundItems="true">
                                                                <Items>
                                                                    <telerik:RadMenuItem Text="Print" Value="Print" />
                                                                    <telerik:RadMenuItem IsSeparator="True" />
                                                                    <telerik:RadMenuItem Text="Copy" Value="Copy" />
                                                                    <telerik:RadMenuItem IsSeparator="True" />
                                                                    <telerik:RadMenuItem Text="Edit" Value="Edit" />
                                                                    <telerik:RadMenuItem IsSeparator="True" />
                                                                    <telerik:RadMenuItem Text="Cancel Chk-In" Value="DelChkIn" />
                                                                    <telerik:RadMenuItem IsSeparator="True" />
                                                                    <telerik:RadMenuItem Text="Cancel Appointment" Value="Delete" />
                                                                    <telerik:RadMenuItem IsSeparator="true" />
                                                                    <%--<telerik:RadMenuItem Text="Payment" Value="Payment" />
                                                                    <telerik:RadMenuItem IsSeparator="True" />--%>
                                                                    <telerik:RadMenuItem Text="Patient Details" Value="PatientDetails" />
                                                                    <telerik:RadMenuItem IsSeparator="true" />
                                                                    <telerik:RadMenuItem Text="Patient Chart" Value="PatientChart" Visible="false" />
                                                                    <telerik:RadMenuItem IsSeparator="true" Visible="false" />
                                                                    <telerik:RadMenuItem Text="Orders" Value="Orders" Visible="false" />
                                                                    <telerik:RadMenuItem Text="Appointment List" Value="AL" Visible="true" />
                                                                    <telerik:RadMenuItem IsSeparator="true" Visible="false" />
                                                                    <telerik:RadMenuItem Text="Visit History" Value="VH" Visible="true" />
                                                                    <telerik:RadMenuItem IsSeparator="true" />
                                                                </Items>
                                                            </telerik:RadSchedulerContextMenu>
                                                            <telerik:RadSchedulerContextMenu ID="BreakContextMenu" runat="server" DataTextField="Status"
                                                                DataValueField="Code" AppendDataBoundItems="true">
                                                                <Items>
                                                                    <telerik:RadMenuItem Text="Edit" Value="Edit" />
                                                                    <telerik:RadMenuItem IsSeparator="True" />
                                                                    <telerik:RadMenuItem Text="Cancel" Value="Delete" />
                                                                </Items>
                                                            </telerik:RadSchedulerContextMenu>
                                                        </AppointmentContextMenus>

Please help me as soon as possible.

Well done Telerik team

Thanks.

Jiten
Top achievements
Rank 1
 asked on 31 Aug 2013
1 answer
198 views
I have a situation where I am presenting the user with a large volume of records on screen.  Call it 500 rows of data.  This information is being viewed in a scrolling section via ScrollHeight property of the grid.  A user can click on a row in the grid which will launch a new page of details.  On that new page there is a "return to list" button that returns the user to the list of records and the desired behavior is that the grid have the previously selected row slected and the window be scrolled down to that item.

So as an example, the user scrolls down to row 250 and clicks on it.  After viewing the infomation and clicking on the "return to list" button the user is presented with the list and row 250 is shown on screen almost as if the user never left the screen.

We've been able to come up with some javascript code that will do the work, but it executes a ltitle slowly resultsing in some jumpy behavior on the screen.  It works, but I am hoping there is a better solution out there.
Jayesh Goyani
Top achievements
Rank 2
 answered on 31 Aug 2013
1 answer
95 views

Hi,

I have a button and a radgrid in myscreen, When I Click the button I am using http response to download a file.
At the end of the file download I want to refresh the radgrid details.
But I am not able to do it

Can you pls help me

Thanks

Jayesh Goyani
Top achievements
Rank 2
 answered on 31 Aug 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?