Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
246 views

Hi,

 

We are new to telerik controls.

We are using visual studio 2012, .net framwork 4.5 C# for our asp.net web applications. Currently we are using infragistics. Management decided to try another suite. So, Recently, downloaded Telerik controls to test. We use grid extensively in all our applications.

This is what I need:

 

  1. Add RadGrid at designtime and bind to grid. We know exactly what fields from database. An object is used to bind to grid.
  2. Populate at runtime. (I need to know which events fire and when and order of events). Right now we are doing this in page_load event and not post back.
  3. When data is added like (datbind happens), I need to change the URL of hyperlinks (that are added at design time using template columns) of that row based on values in that row’s other fields. Infragistics has ‘RowInitialize’ event. So, we do lot of work in that event.
  4. We hide some columns and hide and show some other columns based on certain criteria.

I appreciate your response
Katta

Prathibarani
Top achievements
Rank 1
 answered on 01 Apr 2013
2 answers
764 views
Hi,

Using Rad controls for asp.net ajax 2013 Q1 with visual studio 2012 ultimate c#.
We have some global code that is used by all the grids in all the pages. In itemDataBound event of RadGrid, I need to get row data and pass it on to global code. Currently, with the grid we are using:
  
    customClass rowData = (customClass) e.data;

Is it possible to cast itemdata to custom object. If yes, please let me know how and example link.

Thanks,
Prathiba.

Prathibarani
Top achievements
Rank 1
 answered on 01 Apr 2013
1 answer
93 views
It looks like RadGridWebPart doesn't support web part connections. Is this so? If it's not supported, is it a (near) future enhancement?

I'd like the users to click a row in one sharepoint list and have that filter another web part's list contents.
Tsvetoslav
Telerik team
 answered on 01 Apr 2013
1 answer
138 views
Hi

I use 'RadWindowManager' and 'radopen' javadcript function to open and brows extra pages.
How can I add [sandbox="allow-forms allow-scripts"] to the iframe of the radwindow?

Thank you very much
Marin Bratanov
Telerik team
 answered on 01 Apr 2013
1 answer
88 views
I currently have a RadGrid with two detail tables and few other columns on the grid. The first column on the Grid has an ExpandColumn to expand the detail tables by default. This comes default because there is a detail table. The second column on the grid is a GridClientSelectColumn. I want to have two ExpandColumns at the beginning and then the GridClientSelectColumn. When I click on the first ExpandColumn, the first detail table needs to be expanded. When I click on the second ExpandColumn, the second detail table needs to be expanded. I tried to add two "telerik:GridExpandColumn" before the checkbox but they are being added after the checkbox. Then I tried to hide the default checkbox as I don't those but then the second ExpandColumn moves to the first column.

Can anyone provide code that displays it in the correct order and displays the appropriate detail table while clicking on an ExpandColumn?

Eyup
Telerik team
 answered on 01 Apr 2013
3 answers
124 views
Hi.

I have a site that is structured as followed:

asp:Content
radA:RadAjaxPanel
asp:DropDownList
asp:DropDownList
asp:DropDownList ... When the selected index changes on DDL 1 the values in DDL 2 should also change but I get a syntax error in auto generated javascript that prevents asp events from happening.
The error is that there is a ' in stead of ' around ctl00_MainContentPlaceHolder_RadAjaxPanel2

Here is the auto generated javascript:
onchange="javascript:setTimeout('AjaxNS.AR(\'ctl00$MainContentPlaceHolder$m_ddlFyrirtaek\',\'\', 'ctl00_MainContentPlaceHolder_RadAjaxPanel2', event)', 0)"

Is this something RadAjaxPanel is causing?

Thanks



Eyup
Telerik team
 answered on 01 Apr 2013
1 answer
93 views
Hi,

We are using the rad grid to display the data and we have export to PDF functionality which export the rad grid data to the PDF file. Everything works fine except one which is star image export to PDF.

When the rad grid is exported to PDF which has star images but in pdf file this star image looks like a small dot. please let us know the resolution of this problem.

PFA -  Rad Grid Image
Kostadin
Telerik team
 answered on 01 Apr 2013
1 answer
113 views
Any chance of adding Stacked functionality to the Area Chart in a future release?
Danail Vasilev
Telerik team
 answered on 01 Apr 2013
3 answers
141 views
Hi,

We have ASP.NET application that consists of master and content page. We load dynamically (using LoadControl method) our user control that has Telerik's grid. There can be 1 master and more detail grids. Detail grids are in separate rad tabs.

How can we get the reference to right grid from master page in case we selected particular tab where grid is placed?

The Ajax is enabled.

Thank you in advance.

Goran
Goran
Top achievements
Rank 1
 answered on 01 Apr 2013
1 answer
196 views
My grid has a mastertable and 1 detail table. 
The master table has heirachyLoadMode="ServerBind"
The detailtable columns has ItemTemplates containing a RadNumericTextBox controls (1 per column).
The master table values are essentially an aggregation of the detail rows.  I have RadNumericTextBox ClientEvents-OnValueChanged javascript that aggregates the detail values and updates the the value in the master row.

That all works.  My problem is when a new row is expanded, a postback occurs and I loose the grid values I calculated and set via javascript.  How do I persist those values?  The values in the RadNumericTextBox controls are persisted so EnableViewState can be eliminated.

This is how I update the master rows:
masterView.getCellByColumnUniqueName(masterView.get_dataItems()[masterRowIndex], "MyColName").innerHTML = parseInt(detailTotal / detailRowCount);
How do I persist that change during postback?  Am I not setting the value correctly?  Do I have add postback code to copy HTML values to a saved datasource then rebind?

I cannot use heirachyLoadMode="Client" because loading takes way too long.
I am using ItemTemplates instead of EditTemplates because I don't want the user to have to click edit on each detail row they want to edit; that would slow them down a lot.
Eyup
Telerik team
 answered on 01 Apr 2013
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?