Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
52 views
Hi
I have a scheduler that uses Advanced Edit & Advanced Insert templates.
These forms open exactly as they should and display all controls as they should, but the forms will not close!
It doesn't matter if the Close, Cancel or Save buttons are clicked the forms just hang (with the icon moving).
I've checked everything I can think of but have now run out of options.
Hope someone can help,
Thanks,
Chris
Hristo Valyavicharski
Telerik team
 answered on 04 Feb 2015
3 answers
54 views
Hi, I have a simple page setup for testing an issue I have found. I have found that if you set  EnableHeaderContextMenu on a radgrid it messe with the binding order on the page. For example:

I have a drop down of users. this drop down is used as a controlparameter for the datasource of the radgrid.

on page load, the dropdown is bound, then the selectedvalue is used as a filter in the sqldatasource for the radgrid. this works as expected

the problem arrises if you make one simple change - set  EnableHeaderContextMenu="true" on the radgrid.

with this set, the radgrid is now bound BEFORE the drop down, meaning you either get no data (if you have cancelselectonnullvalue on the data source0 or as in my case ALL of the data (2,000+ rows) instead of the 20 expected fort he selected user.

any ideas on how to fix this without doing a manual databind of the radgrid on page load?
James
Top achievements
Rank 1
 answered on 04 Feb 2015
1 answer
232 views
Dear Friends,

I have a RadGrid with Following Columns

Name     DOB      Address      City       Country

I am populating this grid in JavascriptI didn't get how to populate DOB Date field, City Dropdown and Country Dropdown columns.

In code behind I have ItemCreated Event, But I didn't get how to trigger it from Javascript. Becuase i am binding the grid through Javascript.

So, Please help me to resolve this issue.


Regards,
Rajendran
Konstantin Dikov
Telerik team
 answered on 04 Feb 2015
1 answer
76 views
I'm trying to add a label and checkbox after the Page Size drop down in the standard pager. However, when I do this:

protected void AssetGrid_OnItemEvent(object sender, GridItemEventArgs e)
{
    if (e.EventInfo is GridInitializePagerItem)
    {
        var showAllLabel = new Label {Text = "Show All"};
        var showAllCheckBox = new CheckBox();
 
        (e.Item as GridPagerItem).PagerContentCell.Controls.Add(showAllLabel);
        (e.Item as GridPagerItem).PagerContentCell.Controls.Add(showAllCheckBox);
    }
}

The result is the controls above the whole pager. 
Eyup
Telerik team
 answered on 04 Feb 2015
4 answers
147 views
Basically, the height of the textbox fields in my Filter Row are too small and they are cutting off the text being typed. It works fine but you cannot see the text. I have tried several things (css, programmatic, properties, etc) but I cannot change the height. I can change the width with no problems. Removing themes and formatting does not help either. There has to be a n easy solution for this. See my screen below.
Eyup
Telerik team
 answered on 04 Feb 2015
1 answer
58 views
Are there any examples where the listbox mover boxes are databound on the left side  to a datasource, and the right side, with the data items associated with the current selected row in a grid? For instance, I want to use the listbox control within my datagrid as a gui to control a one (grid record) to many (listbox options) relationship, but I can't find any documentation on that type of setup. Any help would be appreciated.

Thank you!
Michael
Bozhidar
Telerik team
 answered on 04 Feb 2015
1 answer
71 views
When I have a RadTreeList with TreeListTemplateColumn defined, the RadContextMenu is not available when the mouse is over the Text for the Node.  When the mouse is moved off of the text, the RadContextMenu is available. By available, I mean right mouse click will bring up the menu.

If I replace the TreeListTemplateColumn with a TreeListBoundColumn, the new RadContextMenu is available over the text.

Thank you
Maria Ilieva
Telerik team
 answered on 04 Feb 2015
1 answer
125 views
I have a RadTreeList that contains a Template Column holding a DropDownlist.  I am populating the DropDownList during the ItemDataBound event:

Protected Sub RadTreeList1_ItemDataBound(sender As Object, e As TreeListItemDataBoundEventArgs) Handles RadTreeList1.ItemDataBound
If TypeOf e.Item Is TreeListEditableItem AndAlso CType(e.Item, TreeListEditableItem).IsInEditMode Then
Dim tmpItem As TreeListEditableItem = TryCast(e.Item, TreeListEditableItem)
Dim tmpControl As MultiView = TryCast(e.Item.FindControl("MultiView1"), MultiView)

Select Case tmpItem.DataItem("SelectionType").ToString
Case "DROPDOWN"
tmpControl.ActiveViewIndex = 0
Dim tmpDrop As DropDownList = TryCast(tmpControl.FindControl("DropDownList1"), DropDownList)

Using dbContext As New EntitiesModel
Dim tmpInt As Integer = tmpItem.DataItem("SowGroupID")
tmpDrop.AutoPostBack = True
tmpDrop.DataValueField = "SowSelectionID"
tmpDrop.DataTextField = "SelectionName"
tmpDrop.DataSource = dbContext.LibSOWSelections.Where(Function(c) c.SowGroupID = tmpInt).OrderBy(Function(c) c.Seq_No).ToList
tmpDrop.DataBind()
End Using
Case "CHECKBOX"
tmpControl.ActiveViewIndex = 1
Case "TEXTBOX"
tmpControl.ActiveViewIndex = 2
Case Else
tmpControl.ActiveViewIndex = 3
End Select
End If
End Sub

This works fine, but the problem is that I have the DropDownList posting back on change so that I can perform some logic, but when it posts back, I lose the selection of the dropdownlist.  It is rebinding and I do not know where I can capture the selected value.

Any help would be appreciated.
Maria Ilieva
Telerik team
 answered on 04 Feb 2015
6 answers
155 views
Hi, 
here my problem:
I want to load some RadPivotGrid inside a RadListView according to some parameters in the listview's datasource.
Everything works fine but when I try to expand groups (or something else that cause a postback) the listview is rebinded and the radpivotgrids are reloaded from scratch.
I have tried to put pivot grid inside a user control surrounded by a radajaxpanel but even if the the ajax panel fires the loading panel associeted the problem persist.
Could you help me?
Do you need an example?

Thanks 
Maria Ilieva
Telerik team
 answered on 04 Feb 2015
3 answers
90 views
Hi folks,

I need compute the percentual of my parents tasks according to the children tasks.
Exists a client method for this?

tks.

ps.
sry my bad english.

best regards.

Bozhidar
Telerik team
 answered on 04 Feb 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?