Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
252 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
93 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
301 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
96 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
89 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
300 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
1 answer
303 views

I've a RadGrid where I'm using the edit form template editing mode, within a user control (Edit.ascx). The user control is part of a custom module for DNN. Whenever I click the Edit button in the generated edit column, the ItemCommand event triggers successfully, however the item command isn't triggered at all upon clicking the Update or Cancel buttons, instead the page posts back to another page control (View.ascx). The ItemCommand handler is a simple stub method; it does nothing.

My grid markup is as follows:

<telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="ObjectDataSource1" AutoGenerateColumns="False" DataKeyNames="UniqueID"
    GroupPanelPosition="Top" AllowAutomaticUpdates="True" AutoGenerateEditColumn="True" OnItemCommand="RadGrid1_OnItemCommand">
    <MasterTableView>
        <Columns>
            <telerik:GridBoundColumn DataField="Address" HeaderText="Address" FilterControlAltText="Filter Address column" UniqueName="Address">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="LandArea" HeaderText="Land Area" FilterControlAltText="Filter Land Area column" UniqueName="LandArea">
            </telerik:GridBoundColumn>
        </Columns>
 
        <EditFormSettings EditFormType="Template">
            <FormTemplate>
                <dnn:label ID="Label2" runat="server" Text="Land Area" />
                <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("LandArea") %>'></asp:TextBox>
                <asp:CompareValidator ControlToValidate="TextBox1" runat="server" ErrorMessage="Numbers only please" Operator="DataTypeCheck" Type="Double"></asp:CompareValidator>
                <dnn:label ID="Label3" runat="server" Text="Other features" /><br/>
                <dnn:texteditor ID="otherFeatures" runat="server" Text='<%# Bind("OtherFeatures") %>'></dnn:texteditor>
                <asp:LinkButton runat="server" ID="btnUpdate" CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>' Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>'></asp:LinkButton>
                <asp:LinkButton runat="server" ID="btnCancel" CommandName="Cancel" CausesValidation="False" Text="Cancel"></asp:LinkButton>
            </FormTemplate>
        </EditFormSettings>
    </MasterTableView>
</telerik:RadGrid>
 

Interestingly, if I implement a similar set up using a standard ASP GridView, the commands work correctly, as expected. However, this doesn't allow me to customise the form as does the RadGrid. Any ideas? I first used the version of Telerik.Web.UI provided with DNN (2013.2.717.40), however upon upgrading to the latest version (2016.1.113.45), the behaviour doesn't change.

Kostadin
Telerik team
 answered on 17 Feb 2016
1 answer
128 views

Has anyone else noticed that if you have RadButtons which use embedded icons, if you then add a RadToggleButton the positions of the embedded icons in the RadButtons change? They move leftward so that part of the icon overlaps the left edge of the RadButton. You have to move them in (left) by 2px to get them back where they should be!

Has anyone also noticed that, by default, the RadToggleButton exceeds the RadButton in height so aligning them adjacent to each other is a little difficult?

Danail Vasilev
Telerik team
 answered on 17 Feb 2016
1 answer
93 views

I have created a new class library project where I extend few telerik controls where as referenced Telerik.Web.UI.dll reference as Specific Version = false and not as embedded resource. I use the CustomTelerik.dll in the project along with Telerik.Web.UI.dll.

The issue is everytime I upgrade my Telerik.Web.UI.dll version the CustomTelerik.dll complains that it could not load Older version of Telerik which it was built against.

How can I make my CustomTelerik.dll version proof for Telerik upgrade?

 Thanks

Danail Vasilev
Telerik team
 answered on 17 Feb 2016
1 answer
111 views

Hi all

Why pan not working in lineseries chart?

this is my code:

<telerik:RadHtmlChart  runat="server" ID="RadHtmlChart1" Width="500px" Height="800px" Skin="Silk" PlotArea-XAxis-StartAngle="90" Transitions="false"  Font-Size="Small">
                        <Pan Enabled ="true" />
                        
                        
                         <ChartTitle Text="My test">
                             
                            <Appearance Align="Center" BackgroundColor="Transparent" Position="Top">
                            </Appearance>
                             
                        </ChartTitle>

-------------------------------

</telerik:RadHtmlChart>

 

Thanks

Danail Vasilev
Telerik team
 answered on 17 Feb 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?