Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
61 views
 is it possible to have Radgird FilterType Combined with Checklist Search facility.
Mangesh
Top achievements
Rank 1
 asked on 10 May 2017
2 answers
63 views

Hello, I am using a custom field editor that has a strongly type class value.  When I try to retrieve the value, the casing fails.

 

public override System.Collections.ArrayList ExtractValues()
{
    ArrayList list = new ArrayList();
 
    MyData = new FilterElement();
    MyData.Param = "kowkowkow";
    list.Add(MyData);
 
    return list;
}

 

FilterElement condition = ((Telerik.Web.UI.RadFilterEqualToFilterExpression<FilterElement>)((Telerik.Web.UI.RadFilterSingleExpressionItem)e.ExpressionItem).Expression).Value;

 

FilterElement needed to implement IConvertible, so it does.  But I don't have any idea why it would need to or even try converting the class to a string.

 

Error message is: Unable to cast object of type 'Telerik.Web.UI.RadFilterEqualToFilterExpression`1[System.String]' to type 'Telerik.Web.UI.RadFilterEqualToFilterExpression`1[FilterElement]'

 

Any suggestions would be great.  Thanks!

Rumen
Telerik team
 answered on 10 May 2017
2 answers
400 views
Hi,
I am trying to use RadEditor in my app but the content is all jumbled up (please see attached). I think what is happening is that the style from the parent tags are affecting the style of RadEditor. How can I cancel the styles applied from the parent tags? Thanks!
Kate
Amruta
Top achievements
Rank 1
 answered on 10 May 2017
7 answers
245 views

I have a radlistbox that's populated with all the employees in the company. The first 6-ish listings can be selected and the following button for inserting the entry will fire fine. But once something further down the list is selected the button no longer responds to clicks. RadListBox and RadButton markups are as follows:

<telerik:RadListBox ID="ddlCSR" runat="server" Width="300" Height="100" CheckBoxes="true" Skin="Metro"></telerik:RadListBox>
 
<telerik:RadButton ID="cmdLogTime" runat="server" Text="Log Exception" OnClick="cmdLogTime_Click"
                                Skin="Metro" ValidationGroup="DateRange">
<Icon SecondaryIconCssClass="rbNext" SecondaryIconRight="4" SecondaryIconTop="2" />
</telerik:RadButton>
Jackie
Top achievements
Rank 1
 answered on 09 May 2017
1 answer
85 views

Hi,

I added  a new javascript confirm window dialog box:

<script type="text/javascript">
function OnClientClick() {
var txttext1 = document.getElementById('<%=txtComments.ClientID%>');
if (txttext1.value != "") {
return true;
}
else {
if (confirm("Are you sure you want to proceed without comments ?"))
{$find("ModalBehaviour").hide();
return true; }
else
{ return false; }
}
}

</script>

After I click ok button on confirm dialog box progress bar not showing:

telerik:RadScriptManager ID="ScriptManager1" runat="server" />
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="mainPanel">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="mainPanel" LoadingPanelID="RadAjaxLoadingPanel1" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" EnableSkinTransparency ="true" runat="server" Skin="Office2010Blue">
</telerik:RadAjaxLoadingPanel>

<asp:Panel ID="mainPanel" runat="server">

Please help to resolve this issue.

thanks so much.

Rumen
Telerik team
 answered on 09 May 2017
0 answers
97 views

Hi,

I use image manager and override StoreFile to change filename, but after reload, file not select like default. I have many file in Explorer, so how to resolve this issue?

Many thanks!

Vu
Top achievements
Rank 1
 asked on 09 May 2017
2 answers
50 views

I am using RadCombobox with client side events. I detect selection change by using the OnClientSelectedIndexChanged event.

This event is not raised when the user changes the selection by using the keyboard arrow down and up keys.

I tried to use the event onclientkeypressing for that but it is fired before the selecion is changed. How can I find out using client side event(s) that a selection has been changed when using the keyboard ?

 

Thanks

Zeev

Zeev
Top achievements
Rank 1
 answered on 09 May 2017
0 answers
78 views

Hi, I've been fighting with this problem already for 3 weeks. I have RadRotator with ItemTemplate including RadGrid with one GridButtonColumn. I use RadGrid1_ItemCommand event to prepare and run RadWindow in codebehind to download file.

After click on GridButtonColumn the file is downloading properly but positon of Items in RadRotator always goes back and restarts from 0. How can I block this procedure ? I want RadRotator do nothing after click and the item position should stay at the same index like before click.

Thanks in advance for anyone help !

 

Best regards

Maciej

 

Maciej
Top achievements
Rank 1
 asked on 09 May 2017
1 answer
78 views

Hi, I'm trying to insert records into my database from code behind in my itemcommand.

I have the form setup in the  No Records Template in a nested RADGrid, but the GridNoRecordsItem does not have a Controls collection.  What am I missing?

Here is some of the pertinent code:

 

        protected void RadGrid2_ItemCommand1(object sender, GridCommandEventArgs e)
        {
            switch (e.CommandName)
            {
                case "InsertSubGoal":
                    string GoalID = string.Empty;
                    string SubGoal = string.Empty;
                    if (e.CommandArgument.ToString() == "Empty")
                    {
                        var insertedItem = (GridNoRecordsItem)e.Item;
                        GoalID = insertedItem.OwnerTableView.ParentItem.GetDataKeyValue("GoalID").ToString();
                        SubGoal = (insertedItem["SubGoal"].Controls[0] as TextBox).Text;

any help or sample code would be appreciated.

Thanks

Tom

Marin Bratanov
Telerik team
 answered on 09 May 2017
9 answers
98 views

Is there a way to find the height of the RadFilter and its expressions through JavaScript? I have a RadFilter on top of a RadGrid. I'm setting the height of the grid to the window height, which works quite well except I can't figure out how to pick up the height of the filter and expressions.

Vessy
Telerik team
 answered on 09 May 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?