Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
73 views
hi im having a issue in telerik Schedule, currently im binding sqldatasource to my Schedule, in my store procedure im querying my Schedule table but suppose i have records of million of entries in my Schedule database table, If i call my Schedule then will it query million records to bind data to Schedule control ?
is that possible any thing like that if i select specific month, day or week then only it will query my command (month, week or any other date) fore database on each time
Boyan Dimitrov
Telerik team
 answered on 30 May 2014
1 answer
98 views
Hey telerik...
I've a cross this "error" when testing my new drag and drop feature on my site.
I tried both local and on your demo site, same result.
It's looking like the ListBox is leaking a bit, when I go "crazy" with the drag and drop.
The selected items get stuck on the cursor, and the whole site hangs.

Is there something i can do to fixs this?

See videos of the problem here:
http://www.screencast.com/t/JzcXehBvd9BJ
http://www.screencast.com/t/7lcJz91cvMhr
Boyan Dimitrov
Telerik team
 answered on 30 May 2014
4 answers
315 views
I have run into an issue with the latest version 2013.2.717.35 when using the eventname property in the radajaxmanager. Using this version and setting an eventname for a control causes a yellow screen of death. See the attached jpg. I have tried this in 3 different projects with all yielding the same result. If I remove the eventname property then all works well. If I revert back to version 417.35, there are no problems using the eventname property. Any suggestions?

My ajax code:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="btnTest" EventName="btnTest_Click">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadTextBox1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>

Event code:
Private Sub btnTest_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnTest.Click
 
End Sub

Controls:
<telerik:RadTextBox ID="RadTextBox1" runat="server" TabIndex="1" EmptyMessage="Empty">
</telerik:RadTextBox>
<telerik:RadButton ID="btnTest" runat="server" AutoPostBack="true" Text="Click">
</telerik:RadButton>

Konstantin Dikov
Telerik team
 answered on 30 May 2014
2 answers
1.1K+ views

Hello,

I have a RadGrid (v2009.01.0527.20) with Height=”100%” and Width=”100” that is inside a RadSplitter pane and set to automatically resize with the RadSplitter pane resize.  This is based on the demo code from:

http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandsplitterresizing/defaultcs.aspx?product=grid.

The columns are NOT autogenerated, they are GridBoundColumn and a few of my own custom columns that inherits GridBoundColumn and are used for custom filtering.

All this is working fine so far.

My problem is that some of the text column contents are too long to fit in the column and do not wrap but instead bleed over into the next adjacent column.  I have tried adding ClientSettings-Resizing-ClipCellContentOnResize="true" but that does not work, the text still bleeds over into the next adjacent column.

How do I get the cell contents to wrap when it is too long to fit in column?

Thanks,

Randall Price

Priyanka
Top achievements
Rank 1
 answered on 30 May 2014
1 answer
108 views
Hi,

I have the exact similar scenario which is descrbed in the below thread. 
http://www.telerik.com/forums/problem-working-with-dynamically-created-radgrid-s

The solution suggested by Telerik Team in this thread is given below

1) To drop the resizing and reordering features from this grid.
2) To disable the ViewState of the whole placeholder where you load the RadGrid control. In this scenario have in mind that the SqlDataReader binding may not works, as each postback in the page will make the grid try to rebind and if the reader is currently closed, you will get an exception.

Unfortunately I cannot use the above suggestion as my customer is so particular on the ReOrder functionality.

As it an old thread(2011) My query here is there any solution available for this issue in latest Telerik Controls?

Thanks,
A2H
Eyup
Telerik team
 answered on 30 May 2014
1 answer
68 views
Hi there,

I have a service that returns an object containing 2 lists.

First list is 'Columns' which contains the following "A1, B2, B3, C1, C2"
Second list is 'ItemCount' which contains the following "Name: abc, A1: 12, B2: 4, C1: 10", "Name: xyz, A1: 12, B2: 4, B3, 2", "Name: def, C1: 10"
and I want grid to display like following:

NAME           A1        B2           B3           C1            C2
abc               12         4             0             10             0
xyz               12         2              2             0              0
def                0           0             0             10            0

How can this be achieved?? please note, columns will change depending on data that is returned
Eyup
Telerik team
 answered on 30 May 2014
7 answers
290 views
In my aspx page is having RadGrid and RadWindow inside the update panel in Radwindow i have RadTreeview and Radeditor the radtreeview is not wroking properly when it is in the update panel before its wroking properly after inserting updatepanel only i am getting error how to solve is it RadTreeView will wrok in UpdatePanel are not
Boyan Dimitrov
Telerik team
 answered on 30 May 2014
4 answers
556 views
Hi Princy,

As the below code provided by you to vinayak for traversing the detail table data items(GridDataItem).
 
1. I want access the (GridFooterItem) in the detail table in item data bound event. 
 
  protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs  e)  
  {  
  if (e.Item is GridDataItem  && e.Item.OwnerTableView.Name == "Detail")   
   {  
      GridDataItem item1 = (GridDataItem)e.Item;  
      DropDownList combo = (DropDownList)item1.FindControl("DropDownList1");  
      combo.Attributes.Add("onChange", "return Change('" + item1.ItemIndex +  "');"); 
      }   
   }  

 

The reference link from  the code fetched is as follows :
http://www.telerik.com/community/forums/aspnet-ajax/grid/set-value-to-cell-in-detailtables-in-radgrid-using-javascript.aspx

Regards!

Majith.B 

 

Princy
Top achievements
Rank 2
 answered on 30 May 2014
3 answers
420 views
Hi,

I have a rad context menu on HTML table cell, and I want to position the sub menu relative to the page rather than parent element. Because, if the user scrolls down to last row and right click for context menu, the sub menu is not showing full list, instead its height is set as very small (due to table cell position - browser bottom) with Up and Down arrows (image2 attached).

This is working fine, if the user clicks top cell of table (Image1)

Is it possible to alter the sub menu position, such that, it will be set with an offset to y position (something like in image3 attached)?

Many Thanks,
Saikrishna
Shinu
Top achievements
Rank 2
 answered on 30 May 2014
1 answer
277 views
Hi,

I am using hierarchical RadGrid. I am using 2 stored procedure, one for the parent rows and the other for the detailed rows. Using NeedDataSource event, I am binding the Hierarchy 0 (Parent) using 1st stored procedure. When the user expands the grid, the respective DetailTableDataBind event is called and I am passing the DataKeyValue to get the list of rows for the DetailsTable (Hierarchy 1) from the DB using 2nd stored procedure. I'm using HierarchyLoadMode="ServerBind" 

My customers want the grid to prepopulate both the parent and the details at one shot. I dont think I can repeatedly call DetailTableDataBind event for the DataKeyValue from the MasterTableView due to performance.

I don't know which event / approach will help to pull both parents and details at one shot using 2 stored procedures. I cannot change the stored procedures at this point in time as they have been working for other pages as well. 

Please share your thoughts on this.

Regards,
Sriram
Princy
Top achievements
Rank 2
 answered on 30 May 2014
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?