Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
238 views

Hi community,

 

I have a radgrid in batch mode bound to a list of tests. The user has to select 1 to n rows by checking checkboxes.

Then, I have a javascript function (CheckRequirement) that checks the consistency of the selected rows (ie.: test1 require test2).

What I need to do is enable/disable the SaveButton depending on the CheckRequirement function result.

 

Any idea to do this on client side?

 

Vessy
Telerik team
 answered on 05 Apr 2019
1 answer
180 views

Im having a small issue.

 

I have the radgrid using an expandable detail view associated. i have the functionality to bring up a document when clicked on the master row, but need to have only a javascript function fire when i click on the expanded detail row. currently whenever i click on a detail row it fires the main c# function i use to get my document. and i have tried adding a javascript call using the scriptmanager.RegisterClientScriptBlock c# to call my js function. but i need it to be done outside of the postback as i want to use the detail grid to pass a variable to javascript function.

Attila Antal
Telerik team
 answered on 04 Apr 2019
3 answers
313 views

Is it possible to use a userControl for the edit and insert item templates and take advantage of automatic update/inserts.   In my (limited) testing, I can get the edit template to populate, it just can't find the fields when updating.  

Alternatively, is it possible to use either the edit or insert itemTemplate for both insert and update functions?   

My edit and insert templates are identical, I'd like to only have to maintain it in one place.  

 

 

 

 

Attila Antal
Telerik team
 answered on 04 Apr 2019
1 answer
105 views

What is the default value for Case Sensitive Grouping.

Hope its false.

Andy

Peter Milchev
Telerik team
 answered on 04 Apr 2019
8 answers
473 views

I have a situation where the RadGrid Filter criteria is saved, but, the RadGrid doesn't execute the Filter expression (yes, I tried ReBind()) upon re-loading Persistence.  Also, Sorts are not re-loaded either.  Only the Filter criteria value is re-loaded upon returning to the page.

 

I have a RadTabStrip with (3) RadGrids.  I implemented RadPersistenceManager with PersistenceSettings for each RadGrid, loading and saving with Page_Load and Page_Unload (code below, if needed).  Everything was working great; Sort & Filter were the same when I returned from exiting the app or returning from another page.  Something changed, though.  I'm not sure where.  The RadGrid Filter criteria is saved, but, the RadGrid doesn't execute the Filter expression, and the Sorts don't re-load.  What could've possibly happened to cause this?

 

 

 <telerik:RadPersistenceManager ID="RadPersistenceManager_AssetTabs" runat="server">
    <PersistenceSettings>
        <telerik:PersistenceSetting ControlID="RadGrid1" />
        <telerik:PersistenceSetting ControlID="RadGrid2" />
        <telerik:PersistenceSetting ControlID="RadGrid3" />
    </PersistenceSettings>
</telerik:RadPersistenceManager>

 

protected void Page_Load(object sender, EventArgs e)

{
    string theKey = "TelerikAspNetRadControlsPersistedState";
    theKey = "StorageProvider_" + Session["UserName"].ToString();
    RadPersistenceManager_AssetTabs.StorageProviderKey = theKey;
    var fileNameAndPath = Server.MapPath("~/App_Data/" + theKey);

    //bool IsPersistenceLoaded = (bool)Session["PersistenceLoaded"];
    if (File.Exists(fileNameAndPath)) // && !IsPersistenceLoaded)
    {
        try
        {
            if (!IsPostBack)
            {
                RadPersistenceManager_AssetTabs.LoadState();
            }
        }
        catch (Exception theError)
        {
            Console.WriteLine("Exception for RadPersistenceManager LoadState: {0}", theError);
        }
    }
}

protected void Page_Unload(object sender, System.EventArgs e)
{
    try
    {
        RadPersistenceManager_AssetTabs.SaveState();
    }
    catch (Exception theError)
    {
        Console.WriteLine("Exception for RadPersistenceManager SaveState: {0}", theError);
    }
}

John
Top achievements
Rank 1
 answered on 04 Apr 2019
1 answer
75 views

Hello Team,

Am using PivotGrid control for displaying pivot data.

but the issue is, when I open pivot in IE browser in that case empty line is being added whereas this issue does not occur in case of Chrome browser. Kindly refer screenshot attached.

Let me know how can this be fixed in IE browser.

Eyup
Telerik team
 answered on 04 Apr 2019
4 answers
243 views
Export to excel works fine, except the column headers have "Sorted ascSorted desc" appended to every column header name in the excel file.  Does anyone have any suggestions or seen this before?

Thanks
Vessy
Telerik team
 answered on 04 Apr 2019
1 answer
105 views

Good afternoon,

My RadGrid does not need horizontal scroll until it goes into in-place edit mode - then there are text boxes to the right of the box containing the grid, but no scroll bar.

Any suggestions?

<telerik:RadGrid ID="RadGrid1" GridLines="None" runat="server"   AutoGenerateColumns="false"  OnNeedDataSource="RadGrid1_NeedDataSource" OnItemDataBound="RadGrid1_ItemDataBound"
                 OnUpdateCommand="RadGrid1_UpdateCommand" OnInsertCommand="RadGrid1_InsertCommand" AllowSorting="True" AllowMultiRowSelection="True" ClientSettings-Scrolling-AllowScroll="true">
        <ClientSettings  >
            
            <Selecting AllowRowSelect="true" /></ClientSettings>
        <MasterTableView AutoGenerateColumns="False" DataKeyNames="HorseKey"  ClientDataKeyNames="HorseKey" EditMode="InPlace" 
             CommandItemDisplay="Top"  >   

Eyup
Telerik team
 answered on 03 Apr 2019
9 answers
3.5K+ views

Hey, 

So I downloaded the telerik toolkit trial first and then I downloaded visual studio 2017. I followed the link below to add the toolkit into visual studio, but I'm getting a message that says "There are no usuable controls in this group. Drag an item onto this text to add it to the toolbox." Is there another method to try for adding the toolkit? 

http://docs.telerik.com/devtools/aspnet-ajax/general-information/integration-with-visual-studio/adding-the-telerik-controls-to-the-visual-studio-toolbox

Vesko
Telerik team
 answered on 03 Apr 2019
2 answers
100 views

I'm assuming the update is the root cause of this issue. This code worked previously and now causes an error "You need to have a DynamicManager control on the page and register your data control with it in order to use a DynamicControlParameter". The RadListView is not compatible with a DynamicManager control.

 

The code causing this error:

 
    Private Sub rbtnAddLocation_Click(sender As Object, e As EventArgs) Handles rbtnAddLocation.Click
        rlvLocations.InsertItemPosition = RadListViewInsertItemPosition.FirstItem
        rlvLocations.ShowInsertItem()
        rbtnAddLocation.CommandArgument = rdlMembers.SelectedValue
        rbtnAddLocation.Enabled = False
    End Sub

 

The offending lines are the two with rlvLocations.

Updates are really getting frustrating to new Telerik user here. 

Eyup
Telerik team
 answered on 03 Apr 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?