Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
174 views

When I install the "Telerik UI for ASP.NET AJAX R1 2018" I notice that there are xml files with the same names as the dll files that I have to add to my project's references.

What is the purpose of those xml files and how to use them?

Rumen
Telerik team
 answered on 01 Jun 2020
0 answers
84 views

I'm tring to remove the "(blank)" value from my columns values .

the field  "aircraft" has blank values and I want to ignore the blank column.

I've tried several things from code behind (working with vb.net) and nothing happens.

If I try filtering this field from the webpage, I get an error of :

"cannot convert object of type 'system.string' to type 'telerik.web.ui.pivotgrid.core.nullvalue'

<telerik:RadPivotGrid RenderMode="Lightweight" AllowPaging="true" PageSize="10" Height="500px"
              ID="RadPivotGrid1" runat="server" allowfiltering="true" emptyvalue="0">
              
              <Fields>
  
                  <telerik:PivotGridColumnField DataField="aircraft" showgroupwherenodata="false">
                  </telerik:PivotGridColumnField>
                  <telerik:PivotGridRowField DataField="Category" ZoneIndex="0">
                  </telerik:PivotGridRowField>
                  <telerik:PivotGridRowField DataField="ProductName" ZoneIndex="1">
                  </telerik:PivotGridRowField>
               
                  <telerik:PivotGridAggregateField DataField="emp_num" Aggregate="count" >
                  </telerik:PivotGridAggregateField>
                
              </Fields>
              <totalsettings rowgrandtotalposition="last"      />
          </telerik:RadPivotGrid>

 

DANA
Top achievements
Rank 1
Veteran
 asked on 01 Jun 2020
2 answers
185 views

Good afternoon everyone, I am trying to make a donut chart and I have managed to fill it with the values of a datatable, the problem I have is when showing the legends, it always gives me the same value to show. How can I make the labels show as they should be? Thank you

 

 

Arturo
Top achievements
Rank 1
 answered on 29 May 2020
19 answers
1.6K+ views

Has anyone encountered this error with RadGrid (2009Q3)?

[KeyNotFoundException: The given key was not present in the dictionary.]

System.ThrowHelper.ThrowKeyNotFoundException() +28

System.Collections.Generic.Dictionary`2.get_Item(TKey key) +7456108

Telerik.Web.UI.RadGrid.LoadClientState(Dictionary`2 clientState) +138

Telerik.Web.UI.RadCompositeDataBoundControl.LoadPostData(String postDataKey, NameValueCollection postCollection) +123

Telerik.Web.UI.RadCompositeDataBoundControl.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) +13

System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +693

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1743

Doncho
Telerik team
 answered on 29 May 2020
11 answers
2.2K+ views
Hi,

We are using Rad Grid which has a detail table per row in master table. We have an event ItemDataBound for master table but can't find this event for child/detail table. How can I use that?

Thanks
JGoswami
Top achievements
Rank 1
 answered on 29 May 2020
10 answers
591 views

I have a grid with a template column that contains values from two datafields.
How do I get the filtering to work on this column?

<telerik:GridTemplateColumn UniqueName="Name" HeaderText="Name" >
 <ItemTemplate>
   <asp:Label ID="lblFirstName" runat="server" Text='<%# Eval("FirstName") %>'></asp:Label
   <asp:Label ID="lblLastName" runat="server" Text='<%# Eval("LastName") %>'></asp:Label>
 </ItemTemplate>
</telerik:GridTemplateColumn>
Eyup
Telerik team
 answered on 29 May 2020
4 answers
160 views
I am trying to insert/edit items in the TreeList using a pop-up usercontrol.And when finish insert/update, user control can not close .Please tell me how to close Popup user control.Thank u .

Here is my code in User control :

<telerik:RadButton ID="btnInsert" runat="server" Text="Insert"   Width="75px"
                CommandName ="PerformInsert"
                Visible ="<%#DataItem is Telerik.Web.UI.TreeListInsertionObject %>"
                onclick="btnInsert_Click">
                <Icon PrimaryIconCssClass ="rbSave" />
        </telerik:RadButton>
        <telerik:RadButton ID="btnSave" runat="server" Text="Save"   Width="75px"
                CommandName ="Update"
                Visible ="<%#!(DataItem is Telerik.Web.UI.TreeListInsertionObject) %>"
                onclick="btnSave_Click">
              <Icon PrimaryIconCssClass ="rbSave" />
        </telerik:RadButton>
        <telerik:RadButton ID="btnCancel" runat="server" Text="Cancel"  Width="75px"
                CommandName ="Cancel"  CausesValidation="False">
                 <Icon PrimaryIconCssClass ="rbCancel" />
</telerik:RadButton>

Oscar
Top achievements
Rank 1
 answered on 28 May 2020
1 answer
153 views

When looking at the FireFox Developer it doesnt seem the value from the browser autocomplete is filling in the values. Even though the screen shows the value in box, the inspector does not show any value. Where is this value? I need to capture that value on the client-side markup. If i select the address list from the browser prefill, it fills in the controls correctly. Referencing screen shots:  I can see the "DG3123" in the inspector and the zip displays "59332", but the inspector shows the zip as "". So no value. If i click on the control, it received focus and fills in the zip value of "59332". Please advise how to workaround this issue. As stated, i need to capture this before moving to the next step in the wizard, as its making the validation value.

 

Please see my screen shots.

 

Thanks!

Attila Antal
Telerik team
 answered on 28 May 2020
1 answer
87 views

I'm using the following ClientDataSource to bind a radgrid. 

<telerik:RadClientDataSource runat="server" ID="clientDataSourceGrid">
    <ClientEvents OnCommand="dataSourceCommand" OnRequestStart="requestStart"  OnRequestEnd="requestEnd"  />
    <DataSource>
        <WebServiceDataSourceSettings>
            <Select Url="../../api/apd" RequestType="Get" />
            <Insert Url="../../api/apd" RequestType="Post" />
            <Update Url="../../api/apd" RequestType="Put" />
            <Delete Url="../../api/apd" RequestType="Delete" />
        </WebServiceDataSourceSettings>
    </DataSource>
    <Schema>
        <Model ID="APDId">
            <telerik:ClientDataSourceModelField FieldName="AM" DataType="String" />

 

The Web API action to do the update is as follows:

 

public void PutAPD(int id, APD apd)
  {
 
        // Do the update ....
 
        // How can I return a message in case something goes wrong in the update?
 
  }

My question is: how can I return a message from PutAPD back to the client? I want to be able to inform the user in case the update failed.

My 

 

                    


Eyup
Telerik team
 answered on 28 May 2020
1 answer
153 views

Hi,

i have a high subMenu (vertical) in my asp.net web page ; if this subMenu has more items than the height of screen (scrollbar...), when hovering the bottom items, sub items opening are placed in the middle of the screen and not in front of the hovering item.

I think the sub items do not show lower than the initial screen.

I have this problem in Edge and Chrome, not in FireFox nore IE.

Can you help me to fix this bug ?

Thanks in advance, kind regards.

Doncho
Telerik team
 answered on 28 May 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?