telerik

RadDatetimepicker capture the date

I am working with WPF and C#. I want to fire an event when the user modifies or selects a date on my raddatepicker control. What event handler should I be using for this? I want to be able to convert this captured date to a SQL server 'datetime' variable for use in the backend. ...

How to save byte[] using a procedure?

This stored procedure does not save the data, it seems to be a problem with the VARBINARY. I am passing a byte[] to it, but then it doesn't work. If I send this parameter as NULL it works. I'm calling the procedure with the following code: public Community AddCommunity(string name, string description, byte[] picture, User owner, int? v...

Get months in view in radcalendar

I am using a telerik RadCalendar in my WPF project. I am using a 3 months view style so at a time 3 months are displayed. When you press the left arrow, the previous 3 months are displayed and so on.. Is there a way to get all 3 months in view at a moment. example if May, June and July are currently being displayed then I should get 5,6 ...

Telerik RadCalendar set focus on more than 1 dates

I want to focus on multiple dates in multiple months in a 3 month wide telerik RadCalendar view on my WPF project. Right now only the current date (today's date) gets highlighted (or focused). I want to focus on other dates too besides today's date. Any suggestions/ideas how to go about it? ...

Telerik RadComboBox not showing Selected Item

I have a RadComboBox that i have bound like shown below <telerik1:RadComboBox Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="3" Margin="5,2" ItemsSource="{Binding RepTypes}" DisplayMemberPath="Path=TypeName" SelectedValuePath="Value" SelectedItem="{Binding RepType, Mode=TwoWay}" > </telerik1:RadComboBox> When i s...

Perform customization in edit/add operation using telerik grid using the popup gridmode

I have an application in MVC in which i am using telerik grid to display the record.I am using the entity model for it. In case of edit and add operation i want to use the popup mode but i am not able to perform any customization:Hiding any column in edit mode,make some column uneditable, showing the proper validation message and maintai...

AssociatedControlID for RadListBox and RadDateTimePicker controls?

I am using RadListBox and RadDateTimePicker in a traditional C# ASP.Net 3.5 web application, and I have labels like this: <asp:Label ID="lblStartDate" runat="server" Text="Start Date" AssociatedControlID="dtpStartDate" /> <telerik:RadDateTimePicker ID="dtpStartDate" runat="server"> </telerik:RadDateTimePicker> The label doesn't connec...

tab strip in telerik grid

Hi, In my mvc web application, I am using telerik tab strip for different tabs. Now I want that for each tab , I can call different action method of controller. How Can I do that? ...

drag and drop from radtreeview into grid

Can anyone suggest most accurate events handlers to be used for the below mentioned description: I have a radtreeview and i will drag radtreeviewitems (nodes in the tree) onto a grid. I want to raise an event when an item is dropped into the grid, then check whether the type of the dropped item is radtreeviewitem. ONLY if it is a radtr...

Way to control editor for individual cell in Telerik RadGrid

I'm trying to figure out how to control an individual cell's editor (not column, a particular cell) in Telerik's RadGrid control. For example, I need the following layout: -------------------------------------------------------------------------- |Name Column |Col 1 | Col 2 | Col 3 | ---------------...

telerik radgridview drop event handler

I have a populated telerikGridView:RadGridView. I am dragging nodes from a Treeview into this radgridview. How to I get (capture) the row & column of the cell where the node is being dragged into? the source is a telerikNavigation:RadTreeViewItem (i would extract the header text of course) and the target is just a telerikGridView:RadG...

TreeviewItem disappears after draggin it onto a grid

I am dragging and dropping a Treeviewitem from a RadTreeview in my WPF/C# project. After a succesful drag and drop the node disappears from the treeview. How can I avoid this? which event handler to change for this? I am assuming that this should be done in teh treeview's drag event handler and nothing to do with the grid's drop event ha...

Memory problem in Winforms application - Memory increases on each search and bind activity.

I have memory problem in my application. Each time I fetch data from db and assign it to Grid, memory increases and sometimes when extensive searches are made the memory reaches to 1 G.B. There can be other memory handling issues but to test that searching and binding data repeatedly consumes good amount of memory I have created a new w...

GridView During Runtime

I have an application in which you add file locations into radgridviews. To create the gridviews there is a button which Creates a new tab with a gridview in it. Resources = new RadPageViewPage(); ResourcesGridView = new RadGridView(); TabContainer.Controls.Add(Resources); Resources.Controls.Add(ResourcesGridView); etc. The problem...

ASP.NET Ajax client-side framework failed to load .net 4.0

Good Evening, I am experiencing a strange problem. I only experience the problem when the site has been deployed to IIS 7.0. The web page renders fine when launched in VS 2010; however when viewed to IIS 7.0 the entire page gets shifted to the right. errors only happen when this is on the .aspx page <telerik:RadScriptManager ID="RadSc...

Select multiple tables using Linq to SQL

Hi, I'm trying to bind columns from two different tables in to gridview using Linq To Sql Here's the bind: var q = (from o in mail.tblmails join c in mail.tblstaffs on o.staffId equals c.id select new { o, c }); return View(q); and here is where I'm calling the bind in my View. .Columns(columns => { colu...

Telerik tabstrib doesn't work when jquery ui is used

Ive got the following code in my site.master page: <head runat="server"> <title><asp:ContentPlaceHolder ID="TitleContent" runat="server" /></title> <link rel="shortcut icon" href="../../favicon.ico" type="image/x-icon" /> <%--<script src="../../Scripts/jquery-1.4.2.min.js" type="text/javascript"></script> <script src="...

Rad Upload modification

i have a Rad Upload control to upload more than one image ,,the problem is :: i want each image to have a caption (inserted by the user as a text)during the uploading operation,, so what i wanna to do is modifying the Rad Upload control and adding a text box in it and access the data in this text box .. how to do this???? ...

How to referesh Telerik:radgrid contorl using Javascript ?

How to referesh Telerik:radgrid contorl using Javascript ? ...

Dynamic iFrame height not working with Ajax!

Hello, I am developing a web application with ASP.NET 3.5 with C# and Telerik Ajax Control. I have a iFrame in my master page. Application load other pages in iFrame dynamically and iFrame height adjust the dynamically when page load. I uses RadScriptManager , RadAjaxPannel, RadAjaxLoadingPannel in my page. The problem is when ajax "call...