Telerik Forums
UI for ASP.NET AJAX Forum
22 answers
280 views
I am have been unable to set up data binding for a SPRadGrid Web Part on a SharePoint 2013 site.  After adding the Web Part, I open 'SPRadGrid Designer'.  The upper treeview shows TelerikSPRadGrid1>MasterTable.  In the lowertree view, MasterTable offers General Settings and Data Binding.  General Settings are all selected.  Under databinding>SQL is SQL Server Instances.  When I click to expand the node, it tells me "the server method 'GetData' failed".  The Excel tab is blank.  Under SharePoint lists, attempting to expand the node (SP Lists) returns the similar error "the server method 'GetSPListData' failed.  

I suspect there is a rather simple explanation for why I cannot bind to data, but I am lost.  Anyone assist?  

Marin
Telerik team
 answered on 18 Dec 2013
2 answers
84 views
Hi,
I have a very small and limited ASP.NET site where i use telerik controls and skins.
The site works fine with all browsers running from Windows, however, many of the MAC OS X users claim that when they reach our site all they can see is a blank white page.
I don't have any css files other than 1 BlackMetroSkin on the entire site.
I couldn't find anything on the forums or google regarding such an issue,
Please assist.
Zeev
Top achievements
Rank 1
 answered on 18 Dec 2013
2 answers
2.2K+ views
I have a RadGrid that has a Master Table and a child and grandchild

Master
     Child
         Grandchild

I am using the OnItemCommand and I can't seem to access the Datakey's that are listed in the Grandchild.
foreach (GridDataItem item in rg1.MasterTableView.Items)
          {
              long Id1 = (long)rg1.MasterTableView.Items[0].GetDataKeyValue("Id1");
                  if (item.HasChildItems)
                  { 
                      foreach (GridDataItem citem in item.ChildItem.NestedTableViews[0].Items)
                      {
                          string Id = citem.GetDataKeyValue("Id2").ToString();
                      }
                  }
           }


<MasterTableView DataKeyNames="Id1" Name="Master">
            <DetailTables>
                <telerik:GridTableView DataKeyNames="Id1,Id2" Name="Child">
                    <DetailTables>
                        <telerik:GridTableView DataKeyNames="Id1,Id2,Id3" Name="Grandchild" EditMode="InPlace">
                            <Columns>

Your help is appreciated.
Mike
Top achievements
Rank 1
 answered on 18 Dec 2013
1 answer
349 views
I've read a number of similar postings in this forum but I'm unable to find one that helps with this...

I have a Default.aspx page (no master page) with a RadAjaxManager and associated RadAjaxLoadingPanel.
On this page I have user controls, one for filters, one for a summary grid, and one for a detail grid.
The flow is that the user makes changes in the filter, clicks Run, and they get data in the summary grid. Click a row in the summary and they get detail.

When the user ticks various options in the filter user control, I see the loading panel in the parent. But not when they click the RadButton.

The user control for the filter has a RadAjaxManagerProxy.
All filter controls including the RadButton are nested in an asp:Panel, which is ajaxified in the proxy via markup.
In order to get the button to trigger an update of the summary or detail user controls in the parent, I use codebehind in Page_Load:

parentPage.AjaxManager.AjaxSettings.AddAjaxSetting(btnRun, parentPage.DetailControl, parentPage.LoadingPanel);
parentPage.AjaxManager.AjaxSettings.AddAjaxSetting(btnRun, parentPage.SummaryControl, parentPage.LoadingPanel);

Again, other controls in this usercontrol / filter activate the loading panel, and clicking the button does update the other user controls with he grids. But the parent loading panel is not activated from the button.

In the above, the parentPage is loaded from the parent/container when this UC is initialized (I could probably have used the Page property...).

Here's the button and related container:
<telerik:RadAjaxManagerProxy ID="RMP1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="Panel1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="Panel1" UpdatePanelCssClass="" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManagerProxy>
...
<asp:Panel ID="Panel1" runat="server" Width="1000px">
    <table border="0" style="width: 852px">
...
   <tr>
       <td>
           <div runat="server" id="dExecute" style="margin-top: 20px;">
               <telerik:RadButton ID="btnRun" runat="server" Text="Run" OnClick="btnRun_Click"/>
           </div>
       </td>
   </tr>
    </table>
</asp:Panel>

The parentPage.LoadingPanel is defined in the parent (Default.aspx) as:
public RadAjaxLoadingPanel LoadingPanel
{
    get
    {
        return this.ralp1;
    }
}

After the AddAjaxSetting calls above I do see that the button is ajaxified in the parent manager with the ralp1 loading panel.

For testing purposes I've also added a 5 second delay in the generation of the grid to ensure the loading panel triggers.

It looks like it's wired up, it just doesn't display.

Thanks!
Maria Ilieva
Telerik team
 answered on 18 Dec 2013
1 answer
116 views
hi
 i have a DateTime column with datatype as DateTime. Im performing sorting, but its not sorting correctly.can anyone help?
Shinu
Top achievements
Rank 2
 answered on 18 Dec 2013
1 answer
162 views
hi ..
how to open a window on row double click?i want to get the selected row id along with it.
Princy
Top achievements
Rank 2
 answered on 18 Dec 2013
3 answers
128 views
In a grid with an edit form when the EditMode="PopUp" the OnPopUpShowing event is available.
I need to have EditMode="EditForms" and i need to run some javascript code before the forms loads.
but it doesn't seem like the OnPopUpShowing works when EditForms is selected. Is there any other settings or work around that i can use?
I haven't been able to find anything, any tips?
Viktor Tachev
Telerik team
 answered on 18 Dec 2013
1 answer
137 views
I have a RadToolBar with 3 buttons. The first to are standard buttons while the last one has an ItemTemplate. The item template has a combo box in it. Now the problem I found is that the combo box is always disabled. The only solution I found was to add an empty ToolBarButton to the end.

Here is my code

<telerik:RadToolBar runat="server" ID="TSiToolBar1"Width="100%" BorderWidth="2" BorderColor="#E5E5E5" 
                                OnClientButtonClicked="OnFormulaToolBarButtonClicked">
                            <Items>
                                <telerik:RadToolBarButton runat="server" Text="Create" />
                                <telerik:RadToolBarButton runat="server" IsSeparator="true" />
                                <telerik:RadToolBarButton runat="server" Text="Copy" />
                                <telerik:RadToolBarButton runat="server" IsSeparator="true" />
                                <telerik:RadToolBarButton runat="server" Value="FormulaComboBoxToolBarButton">
                                    <ItemTemplate>
                                        <div style="padding-left: 6px;">
                                            <telerik:RadCombobox runat="server" ID="CopyFormulaComboBox" Width="200" AutoPostBack="true" 
                                                                OnSelectedIndexChanged="UseExistingComboBox_SelectedIndexChanged" />
                                        </div>
                                    </ItemTemplate>
                                </telerik:RadToolBarButton>
                                <telerik:RadToolBarButton runat="server">
                                </telerik:RadToolBarButton>
                            </Items>
                        </telerik:RadToolBar>


The last empty toolBarButton is there only to make the combobox enabled
Nencho
Telerik team
 answered on 18 Dec 2013
5 answers
1.1K+ views
Hi Telerik
I am using Upload / Silverlight RadUpload , I have problem that everytime I upload files, those files remain in uploadfiles method or array.
I want to clear those previous files name once they uploded. when ever I upload one file and save file info into database then try to upload another file this time it will loop though old uploaded file also and new one also.

I want to delete uploaded files from memory only not disk once they uploaded and if I upload new file it should show only new file not previous uploaded files.

I have Upload / Silverlight RadUpload and one button on form within RadWindow and I am using Radajax

What I am doing
Steps
1. Upload file 1 using Upload / Silverlight RadUpload
2. Click on Button to retrieve uploaded files info to store in database
3. Now I want to upload file 2 so i selected file 2
4. Click on button to retrieve uploaded file 2 but this time it will show me file 1 and file 2 also


If i repeat thoese steps it will show me all files again while i save thier info.
only one way I have found to clear it is to refresh page but I am using Radajax and I dont want to refresh


Also please tell me is thier any way to change thier file name while uploading..


reply me please asap urgent



Kind Regards:
Harinder Singh
McConnell Dowell SEA
Genady Sergeev
Telerik team
 answered on 18 Dec 2013
2 answers
73 views
Hi,  

I want to hide the 2 lines that appear to the left and right of an event on the month view.  These are pictured in the attached sample.

How would I do that?

Many thanks,

Jon

Jon
Top achievements
Rank 1
 answered on 18 Dec 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?