Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
171 views
I have page named change Summary where I have a radcombobox named " Change Level " .

Currently we are facing a weird issue where in the radcombobox ( " Change Level " ) is getting disabled on click of button save event.I have attached the aspx and .cs file for your reference. During the initial analysis, I found that the items are not getting binded again so I tried to bind the items to the dropdown again.I ran Fiddler and it appears that the items are still being pushed to the page.

Now that I try to look at it more, it appears that they may still be there, but are being moved to different areas of the page and sometimes are not always in the same location. This may explain why it appears that they weren't where they should be before.I do see that a JavaScript error is occurring in the console, but it’s difficult to track back to exactly what might be causing it. It could be something in the Telerik code.

That error may be keeping the drop down from working the way that it should since a JavaScript error can cause other JavaScript after it to not run.
Nencho
Telerik team
 answered on 04 Feb 2015
1 answer
70 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
71 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
261 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
100 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
172 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
97 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
96 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
165 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
179 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
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?