Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
187 views
Hi,
 I am investigating the replacement of the retired Microsoft OWC with a component with similar functionality. I have looked through the demos and I would like to verify that the following logic is achievable using the PivotGrid control.

Call the PivotGrid webpage passing a parameter of either a MS SQL database table or MS Analysis Services OLAP cube and programmatically bind to that dynamic data source.

If a default view has been previously created and saved in a SQL system table then that saved view is retrieved and the PivotGrid restored back Q: Using the Persistance.Framework demo functionality can the view layout be written into an SQL table?

If no default views exists, and the user is authorised to create views, then display an empty view of the data with all the drop areas (like the Fields List demo sample) to allow the user to construct their own view of the data. If the user is not authorised to create new views then the PivotGrid drop areas are all disabled and not displayed.

If other views exist in the system table then allow these to be selected from a dropdown list and the PivotGrid restored back.

Switch the displayed view between either the PivotGrid or a Chart based on the PivotGrid.

I think all this is achievable but I would like confirmation before downloading the 30 day trial and attempting a prototype ahead of purchasing.

Finally, could this be achieved using the Kendo UI as well as the ASP controls?

Thanks,

Paul.
Antonio Stoilkov
Telerik team
 answered on 14 Oct 2013
3 answers
149 views
I have a dashboard on one tab which loads some data from SQL if I close that tab and open a new tab which has a search screen, I still get a 'hit' on a debug point for that dashboard page ... so closing that dashboard tab does not actually stop processing and spending memory/resources for that page ?

Do we have some setting or property to prevent this behaviour ?
Aarsh
Top achievements
Rank 1
 answered on 14 Oct 2013
4 answers
134 views

I have telerik grid , which have some grid bound columns and one TextBoxTemplateColumn inside which i have hypenlink , when i am downloading the grid data ,all the data  is coming except the template column data , its coming as blank.

Can anyone please give code for that. Its urgent

Kostadin
Telerik team
 answered on 14 Oct 2013
1 answer
158 views
Hi,

I have a TreeList with AllowLoadOnDemand="true". When I export the TreeList using the following code, the exported document has a blank row for header as can be seen in the attached screenshot.


protected void radButtonExcel_Click(object sender, EventArgs e)
 
{
 
rptTreeList.ExportSettings.IgnorePaging = true;
 
rptTreeList.ExportSettings.ExportMode = TreeListExportMode.RemoveAll;
 
rptTreeList.Rebind();
 
rptTreeList.ExportToExcel();
 
}


Please Help!

Thanks,
NA
Kostadin
Telerik team
 answered on 14 Oct 2013
2 answers
96 views
I am trying to implement recurrence appointment. In appointmentinsert event the recurenncestate is showing as not recurring, even though i checked the recurrence checkbox. Someone tell me what i am missing
Plamen
Telerik team
 answered on 14 Oct 2013
2 answers
160 views
Hi,

We are having major problem with the tooltip closing unexpectedly...

In your demo:
http://demos.telerik.com/aspnet-ajax/tooltip/examples/overview/defaultcs.aspx

Change to:
HideEvent: LeaveToolTip
RenderMode: Lightweight

After the tooltip is displayed, move the cursor slowly (moving really fast wont reproduce the issue!), from the top or from the left until the cursor is above the tooltip. In this case the tooltip closes immediately when entering the tooltip!!!

If moving the cursor from the right or bottom into the tooltip, this does not happen.

This issue happens all the time for our users since the tooltip in our case always are located directly to the right of the hovered element, and users often moves the cursor just a little bit to the right and the tooltip closes...

Tested in Firefox and IE10, same behavior.
Only happens in Lightweight render mode...

Regards
Caesar
Andreas
Top achievements
Rank 1
 answered on 14 Oct 2013
4 answers
250 views
Hi,

I don't understand why this settings don't work well?

<telerik:RadAsyncUpload ID="RadAsyncUpload1" Width="200px" AllowedFileExtensions=".xls" MultipleFileSelection="Disabled" runat="server" OnFileUploaded="RadAsyncUpload1_FileUploaded">
    <FileFilters>
        <telerik:FileFilter Description="Excel(*.xls)" Extensions="xls" />
    </FileFilters>
</telerik:RadAsyncUpload>

Anyone have an idea?

Thank you.
Peter Filipov
Telerik team
 answered on 14 Oct 2013
1 answer
199 views
 Hi 
I want to color the rows who has value of Size Not Accessed in Month( in Tib) >2 to red and to yellow for value between 1 and 2 

if you expand the group of rows it should show the inner row for which the value is >2 as red 

Please see the attached image as example.
Antonio Stoilkov
Telerik team
 answered on 14 Oct 2013
1 answer
245 views
Hello
Hello I am trying to place radconfirm through client side .but it wont work .
I have one button .while i clicking the button passed values to client using client script.
but the radconfim is not working inside the client function

 protected void rbconfirm_Click(object sender, EventArgs e)
        {
            ClientScript.RegisterStartupScript(this.GetType(), "closewin", "confirmation('subin');", true); 
        }


   function confirmation(E) {

           radconfirm('Do you want to save?', CallBackFnDefaultSave);

        }

   function CallBackFnDefaultSave(val) {
            alert(val);
        }
User
Top achievements
Rank 2
 answered on 12 Oct 2013
3 answers
157 views
Hello,
I am having a rad grid, in which I try to filter one column according to a range of dates.
I don't know what is the problem, but the filter is doing its job only by the day of the month.
I will appreciate if you have a look on the following.

Thank you in advance.
Tal

  ********** aspx:***************
 
<telerik:GridBoundColumn DataField="date" HeaderText="תאריך" DataType="System.DateTime"
                                   SortExpression="date" UniqueName="Date"
                   DataFormatString="{0:D}"  HeaderStyle-Width="330px"  ItemStyle-HorizontalAlign="Center">
                   <FilterTemplate>
                       מתאריך
                       <telerik:RadDatePicker ID="FromDate"  Culture="he-IL" runat="server" Width="140px" ClientEvents-OnDateSelected="FromDateSelected"
                           MinDate="07-04-1000" MaxDate="05-06-3000" DbSelectedDate='<%# startDate %>'/>
                           <dateinput DateFormat="dd/MM/yyyy"></DateInput> 
                      עד תאריך
                       <telerik:RadDatePicker  ID="ToDate" Culture="he-IL" runat="server" Width="140px" ClientEvents-OnDateSelected="ToDateSelected"
                           MinDate="07-04-1000" MaxDate="05-06-3000" DbSelectedDate='<%# endDate %>'/>
                           <dateinput DateFormat="dd/MM/yyyy"></DateInput>
 
                       <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
                        
                           <script type="text/javascript">
                               function FromDateSelected(sender, args) {
                                   var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");
                                   var ToPicker = $find('<%# ((GridItem)Container).FindControl("ToDate").ClientID %>');
 
                                   var fromDate = FormatSelectedDate(sender);
                                   var toDate = FormatSelectedDate(ToPicker);
                                   if (toDate != '') {
                                       tableView.filter("Date", fromDate + " " + toDate, "Between");
                                   }
 
                               }
                               function ToDateSelected(sender, args) {
                                   var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");
                                   var FromPicker = $find('<%# ((GridItem)Container).FindControl("FromDate").ClientID %>');
 
                                   var fromDate = FormatSelectedDate(FromPicker);
                                   var toDate = FormatSelectedDate(sender);
                               
                                      
                                       if (fromDate != '')
                                       {
                                       tableView.filter("Date", fromDate + " " + toDate, "Between");
                                   }
                               }
                               function FormatSelectedDate(picker) {
                                   var date = picker.get_selectedDate();
                                   var dateInput = picker.get_dateInput();
                                   var formattedDate = dateInput.get_dateFormatInfo().FormatDate(date, dateInput.get_displayDateFormat());
 
                                   return formattedDate;
                               }
                           </script>
                       </telerik:RadScriptBlock>
                   </FilterTemplate>
               </telerik:GridBoundColumn>



code behind cs:
 
     if (e.CommandName == RadGrid.FilterCommandName)
            {
                Pair filterPair = (Pair)e.CommandArgument;
  
                switch (filterPair.Second.ToString())
                {
                    case "date":
                        this.startDate = ((e.Item as GridFilteringItem)[filterPair.Second.ToString()].FindControl("FromDate") as RadDatePicker).SelectedDate;
                        this.endDate = ((e.Item as GridFilteringItem)[filterPair.Second.ToString()].FindControl("ToDate") as RadDatePicker).SelectedDate;
                        break;
                    default:
                        break;
                }
 
 
            }
Konstantin Dikov
Telerik team
 answered on 12 Oct 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?