Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
77 views
Hi there

I am looking at using a RadGrid to display complexe table of figures. The table is made up of Questions in the left column, people along the top row and, answers in the middle, and then calculated totals around the right and bottom. The questions are grouped into related categories and they come from a database source but there will never be many questions so they should not be paged. The people come from a database source and there will be many people so the user should be able to page through them. I have a business layer to generate the row and colum totals.

I expect the RadGrid will get data from datasets that I supply to it as it executes its "on data source bind" and "on data source item bind" events. The examples I have seen all appear to use nested tables that "pop out" in sub areas but I need mine to tightly follow the row and column layouts (ie not be sub tables). The attached image is how I need to provide the layout.

My instinct is to use to use nested repeaters but the RadGrid has worked so well for other parts of my project. Can you suggest an example that is similar to this or a method of RadGrid construction that can handle this?

Thanks,
Steven. 

Yavor
Telerik team
 answered on 30 Apr 2010
6 answers
430 views
I am facing a little problem when using paging in my Radgrid.
Pager style mode i have chosen NextPrevAnd Numeric, so in this mode with the previous and next and numeric there is a another field that appears when running my page which is PageSize and has a dropdown that takes by default the pagesize that we have declared.
So the problem that i am facing is when i select in that Pagesize dropdown let's say pagesize as 10 or 20 or 50 the Grid is disappearing.
So do i need to bind it in some event or what.
Please need some suggestions.

 

Senthil ramna
Top achievements
Rank 1
 answered on 30 Apr 2010
1 answer
142 views
Good day!

I'm trying to refresh a scheduler every 5 minutes on the client-side by calling the rebind() method. But I need to pass an additional parameter to the SchedulerInfo argument of the web service, and I'm doing this through the OnClientAppointmentsPopulating handler, but it seems that this does not get raised when calling rebind(), even though I have set the

ResourcePopulationMode to

SchedulerResourcePopulationMode.ClientSide. Why is this so?

Thanks.

 

Joe Buckle
Top achievements
Rank 1
 answered on 30 Apr 2010
2 answers
161 views
Hello,
My radgrid is cut in half when I publish my website on the server. Locally the grid uses the full width, like it should.
I used the same browser and the code is the exact same. I attached two images that illustrates the grid in the two different scenarios.
What's causing this strange behavior?

Kevin Donahue
Top achievements
Rank 1
 answered on 30 Apr 2010
2 answers
139 views
Is there a way to detect if a width and height were specified when radopen() was called? I'd like the page loaded into the radwindow to resize the radwindow to a default width and height, but only if a width and height were not specified when calling radopen().
adam0101
Top achievements
Rank 1
 answered on 30 Apr 2010
5 answers
127 views
Hi,

If the editor is set to "Black" skin - when you open the Style builder for a table all the font colours are incorrect (black font on black background).

This is causing a serious problem for our users - can this be fixed or a workaround be applied?

Note that the attached file comes from your demo site.

Thanks
James Dean
Top achievements
Rank 1
 answered on 29 Apr 2010
5 answers
417 views
Okay, going to try and describe this as clearly as possible, since it's a bit of a complicated situation.

This is for VS2010, .NET 4.0, Telerik Q1-2010 release. 

The setup is as follows, there's a master page, with a content page. The master page has an ajaxmanager and the content page has a proxyajaxmanager. The content page has user controls, amongst other things. 

The goal is as follows: there's a linkbutton on the content page, that when clicked adds a user control to a panel on the content page. 

The problem: the linkbuttons are dynamically added, as in: 
var li = new LinkButton 
                { 
                    Text = action.Name, 
                    ToolTip = action.Description, 
                    ID = "al" + action.ReportActionTypeID, 
                    EnableViewState = false 
                }; 
                li.Click += ActionTrigger; 
                
                ActionPanel.Controls.Add(li); 

So, after that, I attempt to add them to the Ajaxmanager from code behind (doing it through longer way of constructing and using Add instead of AddSetting, because AddSetting was throwing a null reference error that I never managed to figure out):
var ajaxSetting = new AjaxSetting(); 
                var target = new AjaxUpdatedControl(ActionPanelDynamic.ID, "AjaxLoadingPanel"); 
                ajaxSetting.UpdatedControls.Add(target); 
                ajaxSetting.AjaxControlID = li.ID; 
                _ajaxManager.AjaxSettings.Add(ajaxSetting); 

The code executes with no issues, however, the AJAX is not applied as expected. It just does a full page refresh when one of the linked buttons is clicked. 

I've tried to apply settings to a static linkbutton (one that I just added in markup), and this functions as expected. 

My guess at this point is that the IDs of controls are just incorrect at some point? As ASP renames them, and there are some empty string warnings for GetElementByID in FireBug console. But I'm not really sure at what point or where to correct this. I was thinking this http://west-wind.com/weblog/posts/54760.aspx may possibly be related? 
Kevin Kembel
Top achievements
Rank 1
 answered on 29 Apr 2010
3 answers
152 views

I'm setting the following properties during OnItemDataBound event, but it doesn't seem to change anything.  Is there something else I need to do?  I can set the BackColor and ForeColor for an entire row during the event and be able to see the change, but when I set anything with Border, it doesn't change anything,

e.Item.BorderColor =

Color.Red;

 

e.Item.BorderStyle =

BorderStyle.Groove;

 

e.Item.BorderWidth =

Unit.Parse("10px");

 

robertw102
Top achievements
Rank 1
 answered on 29 Apr 2010
2 answers
124 views
Hello,

When you load a project within Visual Studio, and it uses an older version of Telerik, you now get that upgrade prompt.  That is very annoying when I cannot just simply upgrade as then I would have to regression test the application.  Is there any way that you can disable that to not do the check?

Thanks.
Brian Mains
Top achievements
Rank 1
 answered on 29 Apr 2010
2 answers
161 views
Hi all,

I have a problem I can't seem to solve.  I don't have nested grids but I'm calling them parent and child for ease of explaining.

I have a grid (parent).  When I click edit, the gridparent opens in form template.  The form template has a section that contains a user control.  In the user control is a grid (child).  The user control grid has records related to the parent grid.  When I click the edit command button in the user control it opens correctly using inplace edit.  No problem saving.

The Problem
Child - I want to remove the edit button and use the the rowclick to put the child grid in edit mode.  Now clicking the row will open another row in the parent grid. Clicking the row again closes the parent record.  I have no primary id's matching the parent and child.  So I don't understand why it opens a record outside of it's scope.  Again the child grid is self contain so clicking row edit shouldn't open a record from another grid.

Thanks,
Khanh
Khanh
Top achievements
Rank 1
 answered on 29 Apr 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?