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

Hi Team,

I am using RadGrid inside RadAjaxPanel.

But RadGrid's function OnInfrastructureExporting="RadGrid1_InfrastructureExporting" is not working after adding RadAjaxPanel.

If i delete RadAjaxPanel then everything works fine.

Please let me know where exactly i am doing a mistake.

Thanks & Regards,

Jatin

Maria Ilieva
Telerik team
 answered on 05 Oct 2016
5 answers
164 views

I have put 7 FormView inside the RadPageView  by using  RadTabStrip/RadMultiPage. I am using the databind to the FormView. every time When I save, it only save the FormView data in first RadPageView, the rest are not saved. But try to save again, the all FormView data will be saved now, every time it required 2 time saving for all the FormView, May I know the reasons? where goes wrong?

 

 

Ivan Danchev
Telerik team
 answered on 05 Oct 2016
1 answer
144 views
I need to display a text on a range of cells. Attached is the screenshot of what I am trying to achieve in radgrid. Any suggestions?
Konstantin Dikov
Telerik team
 answered on 05 Oct 2016
3 answers
118 views

After having enabled WAI-ARIA support for the RadTreeView, I cannot navigate to the TreeView items using Tab.

The items in the TreeView are not focusable.

Is this probably a bug? Or do I need to set another property to get keyboard support for reaching/collapsing/expanding nodes?

A
Top achievements
Rank 1
 answered on 05 Oct 2016
1 answer
907 views

HI,

 

Displaying my data in my grid i used few templated column.
They are gather mutiple field and display them nicely. Like : Name - Surname
But for my Exel Export , I need to split those information into 2 column.
To apply filter in exel ect..

 

<telerik:GridTemplateColumn UniqueName="PRD_exp" Exportable="true"
                    HeaderText="Info1<br/>Info2" >
    <ItemTemplate>
        <%#((myDataTYPE)Container.DataItem).Info1 %>
        <br/>-<br/>
        <%#((myDataTYPE)Container.DataItem).Info2 %>
    </ItemTemplate>
</telerik:GridTemplateColumn>


So my EXEL Export i want those information to be in different column.
 So i have set my Templated Column to Exportable="false" , and create hidden Column set visible="false" for each data in each Templated Column.
 Like this:
<telerik:GridBoundColumn DataField="Info1" UniqueName="Info2"
                  Exportable="true"  Visible="false" />
<telerik:GridBoundColumn DataField="Info2" UniqueName="Info2"
                  Exportable="true"  Visible="false" />

What is the simpliest way to achieve this ?

Viktor Tachev
Telerik team
 answered on 05 Oct 2016
4 answers
56 views

Dear Telerik,

we have a problem with RadDatePicker control - "Calendar-DayCellToolTipFormat" format string does not working properly.

Please find attached screenshots.

P.S.:

While testing used "Telerik.Web.UI.dll" version: 2016.3.914.45

 

 

 

Kostadin
Telerik team
 answered on 05 Oct 2016
3 answers
190 views

Hi,

I have two .aspx webpages, each one has a RadGrid on it. Both have a master page file in common so the calls for css files should be the same.

But, styles differ on page A from page B.

On page A Telerik.Web.UI.Skins.GridLite.css is in the combined css file. While on page B, Telerik.Web.UI.Skins.Grid.css is in the combined css file.

Why ?

Css files are called this way in the master page :

<telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server">
    <StyleSheets>
        <telerik:StyleSheetReference Name="mytheme.mytheme.Grid.mytheme.css"
            Assembly="mytheme"></telerik:StyleSheetReference>
    </StyleSheets>
</telerik:RadStyleSheetManager>

And in the web.config I have set :

<add key="Telerik.Web.UI.RenderMode" value="lightweight" />

I use a custom skin made with Telerik theme builder and skin assembly

Maria Ilieva
Telerik team
 answered on 05 Oct 2016
4 answers
452 views

After reviewing the documentation and help files I'm still doing something wrong.  I can actually get the dropdown to display correctly on and insert and edit modes. Everything is working there fine and saving correctly.  I'm having troubles with the value displaying on load. Here's what I've got.

<telerik:GridDropDownColumn UniqueName="WatchdogFrequencyddl" ListTextField="Name" ListValueField="Watchdogfrequencyid" DataField="Watchdogfrequencyid" 
  SortExpression="Watchdogfrequencyid" HeaderText="Frequency" DropDownControlType="DropDownList" FooterText="RadComboBox column footer" > 
</telerik:GridDropDownColumn>   
protected void WDTGrid_ItemDataBound(object sender, GridItemEventArgs e)  
{  
   if (e.Item is GridEditableItem && e.Item.IsInEditMode) //fire for both edit and insert           
   {  
     GridEditableItem eeditItem = e.Item as GridEditableItem;  
     GridEditManager editMgr = editItem.EditManager;  
     GridDropDownListColumnEditor wdfEditor = editMgr.GetColumnEditor("WatchdogFrequencyddl") as GridDropDownListColumnEditor;  
      string s = DataBinder.Eval(editItem.DataItem, "Watchdogfrequencyid").ToString(); //the field should point to the ListValueField of the dropdown editor         
 
      wdfEditor.DataSource = getWatchdogFrequency();  
      wdfEditor.DataBind();  
      wdfEditor.SelectedValue = s;  
 
                
 
    }  
Tarang
Top achievements
Rank 1
 answered on 05 Oct 2016
3 answers
69 views

Postback filter operation for Contains (for string types) does not work well...

See video...

Eyup
Telerik team
 answered on 05 Oct 2016
10 answers
484 views
I'm having an issue getting my detail table to load properly using NeedDataSource and DetailTableDataBind events.  The main grid loads as expected after the NeedDataSource event, however after clicking to expand the row, the detail table does NOT load after the DetailTableDataBind event.  Stepping through the code shows the DetailTableDataBind does fire and the DataSource is assigned.  If I use a SqlDataSource instead of during the DetailTableDataBind event, the table loads properly.  The "GetDetailView" (see below) uses the exact same stored procedure as the SqlDataSource, returning a DataTable.  Stepping through the code, the DataTable is populated with the same data as that returned using SqlDataSource. 

The events fire properly and the DataSource is assigned a valid DataTable value at the correct moment, therefore I don't understand why the detail table does not load.  Any help in resolving the this issue will be greatly appreciated!

protected void MyGrid_DetailTableDataBind(object sender, GridDetailTableDataBindEventArgs e)
{
    try
    {
         GridDataItem dataItem = e.DetailTableView.ParentItem as GridDataItem;

         int                  id            = (int) dataItem.GetDataKeyValue("Id");

         e.DetailTableView.DataSource = MyClass.GetDetailView(id);
    }
    catch(Exception ex)
    {
         // log error
    }        
}

protected void MyGrid_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
{
    try
    {
         if(e.IsFromDetailTable == false)
         {
             MyGrid.DataSource = MyClass.GetView();
         }
    }
    catch(Exception ex)
    {
         // log error
    }
}
Eyup
Telerik team
 answered on 05 Oct 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
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
Iron
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?