Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
174 views
I have a RadGrid that displays rows with textboxes for the user to enter qty's of an item they want to purchase.  If an item doesn't exist in the grid, I need the user to have the ability to add it to the radgrid without losing values entered into the other rows.  My question is how do I insert a row into the grid while keeping the current state of the grid?

Could I fill a datatable from RadGrid1 somehow then add a row to the datatable?
Veli
Telerik team
 answered on 08 Sep 2010
1 answer
400 views

I have a very complex RadGrid that is bound with a list that's stored in the session.  The grid's master table consists of one row per day in a given month, so it ranges from 28 to 31 rows.  Each grid item has 8 controls varying between native ASP controls to Telerik controls.  Each grid item also has a detail table which contains 3 gridbound columns with between 5 and 8 rows a piece.  As you can imagine, it's a pretty large grid.

The issues we come across relate to speed with ajaxification.  We have the ajaxmanager set up as an AjaxSetting and one of the controls it updates is the radgrid (rgEmployees).  We have it set up this way because we have clientside script that calls the ajaxmanager using .ajaxRequest("RebindGrid") which ultimately results in the grid being rebound serverside.  Here's the declaration:

<telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
 <UpdatedControls>               
  <telerik:AjaxUpdatedControl ControlID="rgEmployees" LoadingPanelID="RadAjaxLoadingPanel1" />
  <telerik:AjaxUpdatedControl ControlID="OtherControls" />
  <telerik:AjaxUpdatedControl ControlID="OtherControls" />
  <telerik:AjaxUpdatedControl ControlID="OtherControls" />
 </UpdatedControls>
</telerik:AjaxSetting>
           
Here's where it gets hairy:  Each edit button, when clicked, calls .ajaxRequest("PopulateItem").  This takes the data from all the controls in the grid item and populates its cooresponding item in the session list on the server, after whice we use the ajax manager's ClientEvents-OnResponseEnd to invoke other javascript.  The issue is that, since the button also calls .ajaxRequest(), the entire grid goes through its harrowing update/re-rendering process when we click the button since the radgrid is an updated control of the ajax manager.

Is there a way to modify the ajaxsettings/updated controls via client script?  We would want to do this so that we could disable it for when we click the edit button since we wouldn't need to update any controls, but would want to keep it since we would need to rerender the grid after a rebind.

Conceptually, I would like to do something like this in javascript:

var UpdatedControl = AjaxManager.GetAjaxSetting("RadAjaxManager1").GetUpdatedControl("rgEmployees");

UpdatedControl.disable();
AjaxManager.ajaxRequest("PopulateItem")
UpdatedControl.enable();

I obviously just made that up, but perhaps you can see where I am going with this.

If necessary, I can create a sample app.  Due to the complexity of the grid, though, that could take some time, so I hope I explained myself good enough here.

Veli
Telerik team
 answered on 08 Sep 2010
7 answers
189 views
Hello,

I have searched the forums for someone who has had this issue but havent found anything. I am using some DatePicker controls in a web page but when I scroll the page, the textbox part of the control scrolls with the page but the buttons do not scroll.

Is this a known issue?

Ken

P.S. I am using Telerik RadControls for ASP.NET Ajax v2008.3.1314.35
Ken Jones
Top achievements
Rank 1
 answered on 08 Sep 2010
1 answer
106 views
2010.2.809.35 VS2008

MinDate works fine, but I had DateInput-MinDate="1/1/1945" initially to allow a date prior to 1/1/1980.
However the date gets saved with 1/1/1980 when an earlier date was entered.    That doesn't sound right to me.

All I did was changing DateInput-MinDate to just MinDate in the declaration aspx and the problem disappeared.
Dimo
Telerik team
 answered on 08 Sep 2010
10 answers
267 views
I would like to visually distinguish a column which has a filter applied, much like you can with a sorted column using .rgSorted in the CSS.

I would be happy if I could change the background colour of a filtered column, or even just change the background colour of the filter box.

Is there any way to achieve this?
Libby Stainer
Top achievements
Rank 1
 answered on 08 Sep 2010
1 answer
69 views
Hello,

I want to drag and drop node name from tree node into the opened excel/word document. How can I achieve this with RAD Control tree view?
My requirement is to open an excel/word document into web application. Web page also contains tree view. I want to drag and drop node name from tree view into office document.
Nikolay Tsenkov
Telerik team
 answered on 08 Sep 2010
1 answer
108 views
Hey Guys,

I'm opening a RAD Window from code, is it possible to open the window in the maximized state?
Shinu
Top achievements
Rank 2
 answered on 08 Sep 2010
1 answer
119 views
Dear Telerik,
I have a treeview with documents (ms word) bound to them.

All i need is to check the documents and send them to the printer.

Kindly help with a snippet.

thanks.
Nikolay Tsenkov
Telerik team
 answered on 08 Sep 2010
1 answer
242 views
Hi,

I did a search on the forums and I didn't run into this question so hopefully I'm in the right area.

My client has a need for more rows to be exported into an Excel file from the RadGrid. I'm pretty sure that the limit for Excel '97-2003 is 65,536. They are using Excel 2007 on their desktop machines now, which is capable of handling many more rows. I know the RadGrid exports to '97-2003 so I know that limit would exist. Is there a hotfix for the RadGrid to be able to export to Excel 2007 or at least more than the 65,536 row limitation of Excel '97-2003?

Thanks for your time,
~Armando
Daniel
Telerik team
 answered on 08 Sep 2010
1 answer
205 views
Hi,

We are using SharePoint 2010 for our site. We have Pages and Folders inside the Site Pages library. We wanted to have a tree view control which can read Site Pages library and render and the treeview in the left navigation as per the same stucture in the Site Pages library. This tree view control should be placed in master page. Tree expand and collapse should happen thru Ajax and it should not have full page refresh.

We would like to know if there are any ready controls available for achieving this functionality. Please let me know if there is any such control or which is nearing to achieve this requirement.

Thanks
Nikolay Tsenkov
Telerik team
 answered on 08 Sep 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?