Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
365 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
134 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
530 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
97 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
295 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
134 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.6K+ 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
141 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
4 answers
341 views

Hi,

I am witnessing some strange behaviour in my HtmlChart.

When displaying unstacked data everything looks fine (first attched file).

 

But when turning staking on, for some reason some of the columns parts look 1000 times bigger than they should (second attached file).

The data is strictly the same in these 2 examples, the only difference is turning line.Stacked true or false, nowhere in the code do we multiply any value by 1000.

Telerik Web UI is version 2017.1.118.45.

The same page works perfectly with Telerik Web UI 2014.1.403.40.

Is it a known issue? Is there any known solution?

Here is the ascx code:

<radS:RadHtmlChart runat="server" ID="RadHtmlChart1" Width="1000px" Height="500px">
        <PlotArea>
            <XAxis DataLabelsField="day">
                <TitleAppearance Text="Days" Visible="true"></TitleAppearance>
                <LabelsAppearance DataFormatString="{0}"/>
                <MinorGridLines Visible="false"></MinorGridLines>
                <MajorGridLines Visible="false"></MajorGridLines>
            </XAxis>
            <YAxis>
                <TitleAppearance Text="Count" Visible="true"></TitleAppearance>
                <LabelsAppearance DataFormatString="{0}"></LabelsAppearance>
                <MinorGridLines Visible="false"></MinorGridLines>
            </YAxis>
        </PlotArea>
        <Legend>
            <Appearance Visible="true"></Appearance>
        </Legend>
    </radS:RadHtmlChart>

 

The binding part in the C#:

RadHtmlChart1.PlotArea.Series.Clear();
 
for(int i=1; i<dtTemp.Columns.Count;i++)
{
    Telerik.Web.UI.ColumnSeries line = new Telerik.Web.UI.ColumnSeries();
    line.Name = string.Format("{0} ({1})",Names[i],Totals[i]);
    line.Stacked = true;
    //line.Stacked = false;
    line.LabelsAppearance.Visible = false;
    line.LabelsAppearance.DataFormatString = "{0}";
    line.DataFieldX = "day";
    line.DataFieldY = dtTemp.Columns[i].ColumnName;
    RadHtmlChart1.PlotArea.Series.Add(line);
}
 
RadHtmlChart1.DataSource = dtTemp;
RadHtmlChart1.DataBind();

 

Thank you.

 

 

Adam
Top achievements
Rank 1
 answered on 02 Apr 2019
3 answers
191 views
How can I make bullet list to alphabetic bullet list. I searched alot but couldn't find solution, please suggest me on this.
Rumen
Telerik team
 answered on 02 Apr 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?