Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
171 views
Hello
I am using quite an old version of radcontrols for asp.net ajax (q3 2008)
I have a NoRecordsTemplate for my grid for when there is no data to display but the grid still shows all of the headers and footers, including some custom aggregates I calculate in the ItemDataBound event and display in the grid footer.
How can i get the grid to show nothing else apart from the NoRecordsTemplate when there is no data?

thanks
andieje
Top achievements
Rank 1
 answered on 08 Nov 2012
1 answer
116 views
Hi,
My db contains a field date of birth. Its of type datetime. But in grid I want to show only the date. Im using boundcolumn for displaying dob. Can you provide a solution.

thanks in advance
Savyo
Shinu
Top achievements
Rank 2
 answered on 08 Nov 2012
5 answers
278 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
151 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
263 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
58 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
429 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
96 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
158 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
139 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
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
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?