Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
86 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
290 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
91 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
86 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
293 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
293 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
118 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
86 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
104 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
4 answers
119 views
This is a little hard to explain, so I have a few links below that will explain it visually much better, but I want to be able to do this:  when I am dragging a slider, when I get close to the right end (the higher values) I want the "selected value" to go up faster than it would with the lower values.  Have a higher "scale" for the higher values.  Ok visual help:

I am trying to replicate the functionality at this link:  http://www.bluenile.com/diamond-search
See my version for reference also:  http://www.fronseetechnology.com/autoid_video/Admin/DiamondMaintenance.aspx

- Look at the Carat slider on the bluenile link.  Notice when you are sliding towards the end of this slider, the values go up much faster.  Values 3 - 15 are in the last quarter of the slider.  While .23 - 2.00 are in the whole first half.  If you look at mine, it is all even through the whole slider.  Is it possible to achieve this "scaling" with your slider.  I imagine I could play with some of the OnClient javascript functions, but wanted to get your input first.

Your help is always much appreciated.  Thank you

Joe
Shimon
Top achievements
Rank 1
 answered on 17 Feb 2016
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?