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

Hi,

i m giving the Telerik Spreadsheet a try, because i used the WPF and Silverlight one. But as far as i can see, there s still some features missing.

 

I see that the only way to "customize" and "interact" with the spreadsheet is via provider. So, if i want to get data from DB i overwrite the GetSheets() method, and if i want to Save i override the SaveToWorkbook method.

 

1) But, what if i want to interact with the spreadsheet without postback?

2) Is there any way from listening to the Cell OnChange event ? (even on the client side would be fine)

3) In the CellContextMenu there is a OnClientItemClicked event. Are there any more events runnable from the client side?

 

 

Thanks for your support

 

Peter Filipov
Telerik team
 answered on 04 Mar 2016
2 answers
389 views
I've been having a long and frustrating weekend of trying to get my RadControls to work on User Controls (ascx) files.  For instance, the RadAsyncUpload control works just fine Client Side on a regular aspx page, but I'm having issues making it work on ascx files.  I have yet to make a Server Side event work on the AsyncUpload events and thinking of just scrapping it for the regular Asp.net Upload control.  Any way I can get some help within the next 24 hours on this?  I'm already behind struggling with these controls?  What is it that I'm missing to get them to work?
Ali
Top achievements
Rank 1
 answered on 04 Mar 2016
4 answers
311 views
Hi ,
I am using radrotator in my application , i just want to change the border color or color of the rotator selected item from asp.net c# code behind , can i expect some help on this

Thanks,
Mahesh
Bhavya
Top achievements
Rank 1
 answered on 04 Mar 2016
1 answer
181 views

Hi,

i want griddropdowncolumn used as radcomboBox should be set to value when checkbox is check and after that disable that dropdown

<telerik:GridCheckBoxColumn DataField="bitPhysical" HeaderText="Physical" UniqueName="bitPhysical" StringFalseValue="0" StringTrueValue="1" AllowFiltering="false"></telerik:GridCheckBoxColumn>

want this column to change and disable when check box is checked 

<telerik:GridDropDownColumn DropDownControlType="RadComboBox" EmptyListItemText="Select..." ListTextField="strHostName" ListValueField="intHostServerId" HeaderText="Host" UniqueName="HostName" FilterDelay="200" ShowFilterIcon="false"></telerik:GridDropDownColumn>               

also, would be able to do same with

<telerik:GridTemplateColumn HeaderText="Manufacturer" ItemStyle-Width="240px" UniqueName="ManufacturerName" FilterDelay="200" ShowFilterIcon="false">
                    <EditItemTemplate>
                        <telerik:RadDropDownList ID="radManufacturerDDL" runat="server" DefaultMessage="Select....." OnItemSelected="radManufacturerDDL_ItemSelected" AutoPostBack="true"></telerik:RadDropDownList>
                    </EditItemTemplate>
                </telerik:GridTemplateColumn>
                <telerik:GridTemplateColumn HeaderText="Model" ItemStyle-Width="240px" UniqueName="ModelName" FilterDelay="200" ShowFilterIcon="false">
                        <EditItemTemplate>
                            <telerik:RadDropDownList ID="radModelDDL" runat="server" DefaultMessage="Select..." AutoPostBack="true">
                            </telerik:RadDropDownList>
                        </EditItemTemplate>
                    </telerik:GridTemplateColumn> 

Please tell how i access this on client side.

Eyup
Telerik team
 answered on 04 Mar 2016
5 answers
1.1K+ views
Hi,

After doing export to Excel the date format of Date field in Excel is "11/29/2010 0:00".

Where as in the grid it is displaying as "11/29/2010 12:00:00 AM". 

I want the Date format to remain the same in Excel as it is in the Grid, Please let me know how can i do that.

Thanks,
ADod







Kostadin
Telerik team
 answered on 04 Mar 2016
1 answer
87 views

I've tried using the various demo projects here - https://github.com/telerik/aspnet-sdk/tree/master/Scheduler/ExchangeCalendarSync

I'm getting this error:

Compiler Error Message: CS0508: 'ExchangeSchedulerProvider.GetAppointments(Telerik.Web.UI.RadScheduler)': return type must be 'System.Collections.Generic.IEnumerable<Telerik.Web.UI.Appointment>' to match overridden member 'Telerik.Web.UI.SchedulerProviderBase.GetAppointments(Telerik.Web.UI.RadScheduler)'

Source Error:

Line 123: /// <param name="owner">The owner RadScheduler instance.</param> Line 124: /// <returns></returns> Line 125: public override IEnumerable<Appointment> GetAppointments(RadScheduler owner) Line 126: { Line 127: List<ItemIdType> itemIds = new List<ItemIdType>();
Source File: c:\inetpub\sync\App_Code\ExchangeSchedulerProvider.cs    Line: 125

Plamen
Telerik team
 answered on 04 Mar 2016
2 answers
229 views

<telerik:RadButton runat="server" ID="testButton" OnClientClick="onclicktestbutton" />
<script type="text/javascript">
function onclicktestbutton(sender, args) {
// I don't use window.event (it is non-standard)
}
</script>


Where can I set the event object??
I wanted to do it like this:

<telerik:RadButton runat="server" ID="testButton" OnClientClick="onclicktestbutton(event)" />

but we all know you can't insert paragraph on a telerik client event attribute because it automatically includes in the function the parameters (sender, args).

 
Jes
Top achievements
Rank 1
 answered on 04 Mar 2016
1 answer
406 views

Hi,

I am using version 2015.1.401.40 of the ASP.NET controls for AJAX.

I would think my question would be very common and easy to do.

I have a RadGrid with a MasterTableView and 1 DetailTable (GridTableView). I am using NeedDataSource for binding and it is all working fine.

Not all records in the master, have child records. For the rows that do not, I have hidden the expand/collapse button in the DetailTableDataBind event.

When I export to Excel, I want to expand all rows that contain a child record, so that those rows get exported.  I was doing that in DetailTableDataBind by setting every GridDataItem .Expanded = True.

ISSUE:

The problem with this is that it expands and exports the child rows that say "No Child Records".

Question: How can I NOT have it export the gridtableview, if there are no child records?

 

In the DetailTableDataBind, if there are no child records I set the DetailTableView.Visible = False, but my export still contains a blank row (which is better than the "No Child Records", but not perfect).

 

Thanks,
Brent

 

Eyup
Telerik team
 answered on 04 Mar 2016
1 answer
267 views
Hi all,

I have an editable grid. When row is edited new RadWindow is opened. User can make some changes and after pressing save some serve-side code is executed. When specific conditions are met I want user response to continue correctly. I am using RadWindowManager and method RadConfirm for user response. It worked fine, but I need more possibilities now and I want to put 4 buttons instead of Ok/Cancel.

So I created new window DialogDeleteConfirm  on my page 

<telerik:RadWindowManager ID="radWindowManager1" runat="server" ViewStateMode="Disabled" >
  <Windows>
    <telerik:RadWindow ID="RadWindow1" runat="server" ShowContentDuringLoad="false" DestroyOnClose="false" ViewStateMode="Disabled" KeepInScreenBounds="true"
      VisibleStatusbar="false"  Modal="True"  >
    </telerik:RadWindow>
    <telerik:RadWindow ID="DialogDeleteConfirm" runat="server" Width="450px" Height="120px" Modal="true">
        <ContentTemplate>
          <div style="padding: 10px; text-align: center;">
            <p style="text-align: center;">Do you want to delete items automatically?</p>
            <asp:Button ID="btnOk" runat="server" OnClientClick="returnArg('O'); return false;" />
            <asp:Button ID="btnSelection" runat="server" OnClientClick="returnArg('S'); return false;" />
            <asp:Button ID="btnKeepAll" runat="server" OnClientClick="returnArg('K'); return false;" />
            <asp:Button ID="btnCancel" runat="server" OnClientClick="returnArg('C'); return false;" />
          </div>
        </ContentTemplate>
    </telerik:RadWindow>
  </Windows>
</telerik:RadWindowManager>




According another discussion I simply replace my existing code 

radWindowManager1.RadConfirm(messageToUser, "autoDeleteCallback", 450, 120, null, "");

by 

 DialogDeleteConfirm.VisibleOnPageLoad = true;

But it doesn't work and no window is displayed. Unfortunately there is no method in RadWindowManager to open window.

Can you help me how to open new window immediately?

Thanks a lot,
Petr

Eyup
Telerik team
 answered on 04 Mar 2016
1 answer
216 views

hi

I am applying a CssClass on the DateTimePicker and it display 2 textbox outline. How should i remove the inner border of the DateTimePicker?

This is my code:

              <telerik:RadDateTimePicker ID="RadDateTimePicker2"  CssClass="form-control"  runat="server" Width="100%" TimeView-Interval="00:30:00"></telerik:RadDateTimePicker>

Eyup
Telerik team
 answered on 04 Mar 2016
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?