Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
127 views

I use the RadEditor in my RadGrid and vant remove padding and color around the editor.

RenderMode="Classic" And Skin="Silk"

See attached image.

How?

Kjell
Top achievements
Rank 1
Iron
Iron
 answered on 18 Feb 2016
1 answer
122 views

 Telerik RadDateTimePicker is not working after i register script using ScriptManager.RegisterStartupScript in C# code

Code :  ScriptManager.RegisterStartupScript(Page, typeof(Page), "mykey", "showSummaryPopup('TEst Message')", true);

 <telerik:RadDateTimePicker id="txtSendingScheduleDate" runat="server" skin="Vista" EnableAjaxSkinRendering="true" EnableViewState="true" 
            dateinput-readonly="false" />
Eyup
Telerik team
 answered on 18 Feb 2016
5 answers
108 views

following the demo here - http://demos.telerik.com/aspnet-ajax/scheduler/examples/export/defaultcs.aspx

 I get a script error on ": 'demo' is undefined" on "demo.ajaxManager = $find("ctl03_RadAjaxManager1")"

here is the script:

  <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="RadScheduler1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
        <telerik:RadScriptBlock runat="Server" ID="RadScriptBlock1">
            <script type="text/javascript">
                /* <![CDATA[ */
                Sys.Application.add_load(function () {
                    demo.ajaxManager = $find("<%= RadAjaxManager1.ClientID %>");
                });
                /* ]]> */
                (function () {
                    var demo = window.demo = window.demo || {};

                    window.Export = function (sender, e) {
                        demo.ajaxManager.__doPostBack(sender.name, "");
                    }
                }());
            </script>
        </telerik:RadScriptBlock>

Plamen
Telerik team
 answered on 18 Feb 2016
3 answers
132 views

Hi Telerik:

I am using .skin file and would to know what properties can be set via the template

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
...
<telerik:RadTextBox runat="server" Skin="MetroTouch" >
</telerik:RadTextBox>
...

I tried Height and CssClass, but that did not get layered onto the control.

Phil

 

Phil H.
Top achievements
Rank 2
 answered on 17 Feb 2016
5 answers
314 views

Hello,

I have a RadFileExplorer on my web form.  When I select an Excel file (.xlsx) and choose 'Open' from the context menu the file is converted into a '.Zip' file and my options are either of the following: 'Open (The file wont' be saved automatically), Save, and Save As).

How can I prevent the file from being changed to a '.Zip' file?  Is it possible to set a property that would just keep the file as is, an Excel file with (.xlsx) extension?

Here's my markup for my RadFileExplorer:

<telerik:RadFileExplorer ID="rfeNASFileExplorer" runat="server"
    Width="980px" Height="750px"
    AllowPaging="true" PageSize="50"
    EnableEmbeddedSkins="true" Skin="Windows7"
    EnableFilterTextBox="true" 
    EnableOpenFile="true" >
</telerik:RadFileExplorer>

Thanks,

Shawn A.

Vessy
Telerik team
 answered on 17 Feb 2016
1 answer
126 views

Hello,

I'm having kinda a generic problem, I'm updating a radgrid using the AjaxManager on the event of an aspButton click, filtered by a set of parameters supplied by a set of radComboBoxes.

The thing is after a couple of tweaking and filtering using the button the grid starts view the elements as if they are not provided no filtering values

my question is, is there's any known issue where the radComboBoxes losses it's viewstate? because that's the only thing I could think of which might cases this problem

Nencho
Telerik team
 answered on 17 Feb 2016
1 answer
364 views

Is it possible to have the control only show *.pdf files when my users are selecting files?  I know I can set it to just accept *.pdf files and it shows a red dot if it isn't a pdf, but I want to eliminate an other files that are not pdf files when selecting.

 

Thank you

Nencho
Telerik team
 answered on 17 Feb 2016
1 answer
120 views

Hi,

 We recently upgraded to 2016.1.113. After doing so, all of the Comboboxes we have nested in Toolbar ItemTemplates no longer accept whitespace as input. We have lots of instances where the user is searching for a contact in the dropdown, and its pretty frustrating you can input "Bob" and "Foley", but can't type "Bob Foley". 

 Is there a known workaround or any ETA on a fix?

 

Nencho
Telerik team
 answered on 17 Feb 2016
1 answer
105 views

Hi, I am able to select any item in the List and save it Properly, but when I load the page again, what I want is User should be able to see previously selected item as selected rather than selected nothing. For that, it is happening when I select the parent level item but not happening if the selected item is Child.

I am using the below code to retrieve the selected item, as TaxanomyChildIdSelected value would be coming from database and depending upon that value I want to show the user which item has has selected Previously. I am using below code to do that. But FindItemByKeyValue function returns null when I am trying to retrieve the Child level item. Any help a code snippet, link or even suggestion would be very very helpful. Thanks in advance.

 TreeListDataItem item = rtlManageHealthTopics.FindItemByKeyValue("HealthTopicId", TaxanomyChildIdSelected.ToString());
                            if ((item != null) && !DBNull.Value.Equals(item))
                                item.Selected = true;


Below is the full code

WebAdmTopicHealthTopicService _objWebAdmTopicHealthTopicService = new WebAdmTopicHealthTopicService();
                    var _listOfWebAdmTopicHealthTopic = _objWebAdmTopicHealthTopicService.Find(" TopicId= " + _topic.TopicId.ToString());

                    if((_listOfWebAdmTopicHealthTopic!=null) && !DBNull.Value.Equals(_listOfWebAdmTopicHealthTopic) && (_listOfWebAdmTopicHealthTopic.Count>=1))
                    {
                         WebAdmHealthTopicViewService _objWebAdmHealthTopicViewService = new WebAdmHealthTopicViewService();
                         var _listOf_objWebAdmHealthTopicView = _objWebAdmHealthTopicViewService.Get(" HealthTopicId = " + _listOfWebAdmTopicHealthTopic[0].HealthTopicId.ToString() , " Name ");

                        if ((_listOf_objWebAdmHealthTopicView != null) && !DBNull.Value.Equals(_listOf_objWebAdmHealthTopicView) && (_listOf_objWebAdmHealthTopicView.Count() >= 1)
                            && (_listOf_objWebAdmHealthTopicView != null) && (_listOf_objWebAdmHealthTopicView[0].HealthTopicId > 0))
                        {
                            var _objOf_objWebAdmHealthTopicView = _listOf_objWebAdmHealthTopicView[0];
                            TaxanomyChildIdSelected = _listOfWebAdmTopicHealthTopic[0].HealthTopicId;                          
                            
                            TreeListDataItem item = rtlManageHealthTopics.FindItemByKeyValue("HealthTopicId", TaxanomyChildIdSelected.ToString());
                            if ((item != null) && !DBNull.Value.Equals(item))
                                item.Selected = true;                          
                        }                       
                    }

Eyup
Telerik team
 answered on 17 Feb 2016
6 answers
325 views
Hi,

I'm using a RadGrid and wit the NextPrev PagerStyle-Moded, anyway the grid displays the Next, Previous First and Last.
I need to hid ethe First and Last

Thank you,
Eyup
Telerik team
 answered on 17 Feb 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?