Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
250 views
Hi Freinds,
I have a radgrid with data in the grid having timing as hh:mm:ss whenever i click in excel export the containing hh:mm:ss that get converted to Total second in excel, i bind my radgrid with datatable having timing as total second (60 i.e get converted to 00:01:00 with timespan) but when i export it to excel it shows me as 60 in the column but actualy radgrid contains 00:01:00. Excel also should show 00:01:00. I hav also used

RadGrid1.ExportSettings.Excel.Format = Telerik.Web.UI.

GridExcelExportFormat.ExcelML;
RadGrid.MasterTableview.ExportToExcel()
and

 

RadGrid1_ExcelMLExportStylesCreated,

 

RadGrid1_ExcelMLExportRowCreated.

 

 

I just want get whatever in radgrid as it is in excel.

How to achieve this please let me know.

Thanks in advance.
Manoj Gupta

Daniel
Telerik team
 answered on 08 Nov 2012
3 answers
142 views
Hi,

I need to have a Scheduler / Reminders with reminders.. how can I do this.

Thanks,Chandu
Plamen
Telerik team
 answered on 08 Nov 2012
8 answers
252 views
Hi ,
I have a telerik rad grid  binded on client side using ajax call.In order to Export the Excel and Pdf ,I have a two button for Excel and PDf  out side the grid and on button click the data will be exported from excel  from  a data table which is binded the radgrid  data source . Export to Excel was working as the expected ,but when i click for export to pdf....the  message says " xxxxxxxxx.pdf is Protected.Please Enter a document Open password".I have tried with different passwords and by enabling and disabling the User password in pdf setting .But of no use.Can any one help me out in this please.Below is the code i had used for exporting to pdf.
 In Button Click event
{
             datatable dt;
             RadGrid.DataSource = dt;
            RadGrid.ExportSettings.IgnorePaging = true;
            RadGrid.DataBind();
            RadGrid.MasterTableView.AllowPaging = true;
            RadGrid.MasterTableView.IsItemInserted = true;
            RadGrid.ExportSettings.OpenInNewWindow = true;
            RadGrid.AllowFilteringByColumn = false;
            RadGrid.ExportSettings.ExportOnlyData = true;
            RadGrid.MasterTableView.HierarchyDefaultExpanded = false;
            RadGrid.MasterTableView.ClearChildEditItems();
            RadGrid.ExportSettings.FileName = filename;
 //RadGrid.ExportSettings.Pdf.UserPassword = "XXXX";
             RadGrid.ExportSettings.Excel.Format = GridExcelExportFormat.Html;
            RadGrid.MasterTableView.ExportToPdf();
            RadGrid.Rebind();
}

Kostadin
Telerik team
 answered on 08 Nov 2012
1 answer
54 views
Hello,

I'm trying to find out what level of WCAG accessibility support my RadGrid version has. I've scoured the ASP.NET AJAX control version history but found no references to WCAG (only WAI-ARIA).

Can you please advise when WCAG 2.0 Level AA support was added to the RadGrid?

Thanks!

Alex.
Maria Ilieva
Telerik team
 answered on 08 Nov 2012
2 answers
408 views
Hi,

I am having the RadDatePicker control inside the rad grid. I want to add the "OnDateSelected" client event dynamically in code behind based on some conditions.

I have the following code in my grid's ItemDataBound,

 

string paramVal = "('" + isConditionalTimeFrame + "','" + imgExpandButton.UniqueID + "','" + grdViewRegistries.ClientID + "')";

 

if

 

(isConditionalTimeFrame)

 

{

 

    dtpLastEventDate.ClientEvents.OnDateSelected =

"dtpLastEventDate_OnDateSelected" + paramVal;
}

This is my java script,

 

function

 

dtpLastEventDate_OnDateSelected(isConditionalTimeFrame, imgExpandButtonUniqueID, grdViewRegistriesClientID)

 

{
    

 

}

The issue is, the script is executed immediately after ItemDataBound, and its not triggered when I select any date in the DatePicker.
If anybody have any idea about this, pls share with me.

Thanks.

Mahtab
Top achievements
Rank 1
 answered on 08 Nov 2012
1 answer
87 views
I have put several RadComboBoxes on a page.  The client had a user that selected bad entries.  How can the client remove the entries via the interface?

I am trying to use an iPad for the Client, and as I select the combobox, the keyboard doesn't pop-up.  Also, it seems the delete key on a computer doesn't clear the selection.  In my old days, we used a {ctrl}+0, to set the combobox back to null, but that didn't work either.  Can someone share what I should tell the user to clear the selection?

Thanks,
Dan
Kalina
Telerik team
 answered on 08 Nov 2012
3 answers
146 views
Dear all

I have radgrid to show all student information (Data key:student_id) and i use radtooltip to show details information about this student , but the problem hapen after filter my radgrid when mose move over any row the radtooltip retrive wrong information about student , the radtooltip use the previous primary key like before filter

here simulation example

before filter

student_id       Name
A1                    A
A2                    B
A3                    C
A4                    D
A5                    E
A6                    F



After filter

student_id            Name
A5                           E
A6                           F


when mouse move over A5   the radtooltip show A1  and when mouse move over A6 the radtooltip show A2

also the code to retriev primary key to radtooltip is

Protected Sub OnAjaxUpdate(sender As Object, args As ToolTipUpdateEventArgs)
       Me.UpdateToolTip(args.Value, args.UpdatePanel)
   End Sub
 
 
 
Private Sub UpdateToolTip(elementID As String, panel As UpdatePanel)
       
       Dim ctrl As Control = Page.LoadControl("../Class_Details.ascx")
       Session("center_id") = elementID
       panel.ContentTemplateContainer.Controls.Add(ctrl)
   End Sub


how to solve this problem



Vasil
Telerik team
 answered on 08 Nov 2012
1 answer
121 views

I am using DataSet as DataSource for RadGrid. I can apply DataSource either through NeedDataSource or through directly datasource property of radgrid. I could not use DataSource control for binding. I went through all examples but could not find one which does not use DataSource control or any example with DataSet.

Edit Scenario:
Records Insert / Update needs to be in-place and all rows are editable from start, User have option of clicking "Save" button to save all changes.

Insert Scenario:
For insert operation, when user clicks "Add New" button. New row will be added at bottom and user can add new record in that. Then clicking on "Save" button will save new record along with any changes made in existing records.

Current Issues:
# DataSource is not retained after post-back from "Save" or "Add New" button and RadGrids shows empty. Any control with in RadGrid, like rows and columns which are rendered in page are also empty.
# For Insert Scenario I tried adding empty row in DataTable and then did binding. But above issue occurs and not data is retained from end user.

Mentioned scenario should be well with-in the capabilities of RadGrid control. Please advise on implementation details.

Andrey
Telerik team
 answered on 08 Nov 2012
1 answer
107 views

Hello,

I have a RadGrid with 4 template columns.
1. ASP:TextBox
2. RadEditor
3. ASP:LinkButton (ADD)
4. ASP:LinkButton. (DELETE)

When we click on "ADD" button we are adding a new row next to the selected row. Same way we are deleting the selected row on click of "DELETE" button. This we are doing in postback by rebinding the RadGrid. We need to avoid the postback and Add/Delete rows dynamically in javascript. Please provide the solution. Please find herewith the sample code that we are doing in code behind.

FYI: we are using net framework 4.0 and the Telerik.Web.UI.dll version is v. 2011.2.915.40

I am not able to add the code here.

Vasil
Telerik team
 answered on 08 Nov 2012
6 answers
240 views
Hi all

got something funny going on.
Trying to hide the Anchor tab in the LinkManager dialog as per http://www.telerik.com/help/aspnet-ajax/disablingtabs.html

If I put the Visible="false" attribute in the tab does not show but when I click the email tab I get the Anchor fieldset!?

Tried with a fresh file and just made that one change and always does it. What am I doing wrong?

Matt

Q3 2008
FF 3.08 and IE6
Roberto
Top achievements
Rank 2
 answered on 08 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?