Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
113 views

Hello Team,

 

When I return data set from db, it has a field named "MoreThan 20 chk is on here" which am trying to display on PivotGrid. But this field has more than 20 characters hence on pivot grid we can see column name as "MoreThan 20 chk is o", What changes am suppose to make so that it displays full name "MoreThan 20 chk is on here"

Refer attachments for more details.

 

Thanks,

Mohan

Attila Antal
Telerik team
 answered on 08 Apr 2019
2 answers
114 views

Hi All,

I have a monitor running at 125% scaling (set in Windows Display settings). The radgrid width is calculated incorrectly. For some reason I always get a grid that is 503px wide (100% would be about 1500).

Both setting the scale to 100% and refreshing the page fixes it.

Moving the window to another monitor at 100% scaling and refreshing fixes it.

 

This looks to 100% be a bug in the way Telerik determines width when scaling is used.

Thanks,

Will

Attila Antal
Telerik team
 answered on 05 Apr 2019
1 answer
346 views

In my asp.net application i programmatically create radgrid and add i to div and display it. 

now i would like to add programmatically created radgrids to radgridwrapper. (now i would like to programmatically create radgridwrapper and add radgrids to it.)

Can anyone please let me know how to do this in c#?

later i would like to export radgridwrapper to excel / csv. finding it difficult to export groups of radgrids to multiple excel sheets with my Telerik version 2017.2.503.40

i don't want to upgrade my telerik version as of now.

 

Attila Antal
Telerik team
 answered on 05 Apr 2019
1 answer
199 views

Hello

I have a form that has 7 grids.  Each grid is being displayed within a separate RadPanel.  Screenshot is attached.

We are using the Persistent Framework to store user settings.  The Save and Load work great!  The Reset works great if we are resetting all the grids.

My question is, Is it possible to Reset just one grid and allow all other grids to maintain their settings?  Is there a function available that allows us to get very granular when resetting certain controls on a page?

Thanks

Tom

Attila Antal
Telerik team
 answered on 05 Apr 2019
4 answers
1.6K+ views

I am using a RadGrid in batch edit mode with 4 editable columns.

This is working fine but I need to optionally set the columns as non-editable depending on which user is editing the screen.

eg. user A can edit all columns but user B can only edit 2 and user C only 1 column.

Is there a way to make an editable column non-editable when drawing the grid.

Thanks

Richard

Richard
Top achievements
Rank 1
 answered on 05 Apr 2019
3 answers
223 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
166 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
300 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
101 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
451 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
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?