Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
115 views
Hi everyone

I am trying to update/delete data from the child/details Table of the hierarchical grid. I am able to open the pop-up with the related fields but not able to get the primary key value/datakeys value for the selected row in the Child table.
Kindly let me know how to retrieve the same.

Thanks and Regards
Paromita

Princy
Top achievements
Rank 2
 answered on 28 Apr 2008
9 answers
465 views
Hello,
I am using Prometheus radgrids in a business grid/details grid scenario.  Before inserting a new item, I attempt to clear out any preexisting items to ensure that the user only sees one item at a time.  In the BusinessGrid_ItemCommand event when e.CommandName="AddDetail" I attemp to clear any existing items to accomplish this.  However, when I debug I find that detailsGrid.Items.Count = 1 before and after calling detailsGrid.MasterTableView.ClearEditItems so it doesn't seem to work.  This causes multiple items to show in the detailsGrid which is not the behavior I want.  There doesn't seem to be another way to clear the detailsgrid items. (I tried detailsGrid.EditIndexes.Clear, detailsGrid.MasterTableView.ClearSelectedItems(), etc but nothing works.)  The code where I attempt to clear the items is below.  Thanks in advance for your help.

Erin

protected void BusinessGrid_ItemCommand(object source, GridCommandEventArgs e)
{
    switch (e.CommandName)
    {
        
case "AddDetail":
            de
tailsGrid.EditIndexes.Clear();
            detailsGrid.MasterTableView.ClearEditItems();
            //detailsGrid.MasterTableView.Items.Count still equals 1 here...
            detailsGrid.MasterTableView.IsItemInserted = true;
            detailsGrid.MasterTableView.Visible =
true;
            
detailsGrid.Rebind();
    
         break;
    }
}

Erin
Top achievements
Rank 1
 answered on 27 Apr 2008
0 answers
102 views
Hi,
I was looking into the demo of the tree view and discovered that when I add or rename a node in the tree, the entire page reloads.

Please correct me if I'm wrong, but isn't this supposed to be in an "ajax" fashion, without reloading the entire page?
Is it possible to perform the "new folder" and "rename" operations without reloading the entire page?

Thank you!
Nir.
Nir
Top achievements
Rank 1
 asked on 27 Apr 2008
1 answer
98 views
-How do i remove maximize/minimize/pin options from the top of rad window. I only want to show close option .
-Also modal=true property is not working. whenever window showup  it does not grey out background page.


please advice
Rhyss
Top achievements
Rank 1
 answered on 27 Apr 2008
1 answer
178 views
Hello,

I have a problem with RadContols used in ASP.NET 2.0 web site. I get the following compilation error:

Assembly 'Telerik.Web.UI, Version=2008.1.415.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' uses 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'   

How can I fix this?   
Todd Anglin
Top achievements
Rank 2
 answered on 26 Apr 2008
20 answers
473 views
Hello, I'm trying to localize a RadGrid control with paging using resource files. The paging mode is "Next, Previous and Pages". In my resource file I have an entry called PagerTextFormat whos value is: "Change page: {4} &nbsp;Displaying page {0} of {1}, items {2} to {3} of {5}.", when I run it my page I have no values on parameter {4}, but in the others parameters  the values are there.  For explaning better, I'd like to view something like "Change page: < 1 2 >    Displaying page 1 of 2, items 1 to 3 of 4", instead of "Change page: <  >    Displaying page 1 of 2, items 1 to 3 of 4". The cuestion is, has the text  "Change page: {4} &nbsp;Displaying page {0} of {1}, items {2} to {3} of {5}." a format well formed to the localization? Someone had the same problem?
Thanks in advance

Alvaro
Antoine
Top achievements
Rank 1
 answered on 26 Apr 2008
1 answer
135 views
Hello,

I have an issue with arrows on slide bar when CollapseMode is set to something other than None. The problem is that this arrow (or both if mode set to Both) is displayed not in the middle of slide bar, but on top of it like this:

|<|
|  |
|  |
|  |
|  |
|  |

How can I treat this?
QualiWareUA
Top achievements
Rank 1
 answered on 26 Apr 2008
1 answer
139 views
Is it possible to create an input form using RADgrid and Linq. Do not want to display any records from the table that is having data input.

Brad
Vladimir
Top achievements
Rank 1
 answered on 26 Apr 2008
3 answers
199 views
I am looking for best practices and the answer to where I am going wrong.  I am creating the grid with bound columns (not autogenerated).  I have enabled paging.  I am querying an Oracle database and returning about 18,000 rows.

I placing these returing rows into a datatable.  I am setting that datatable to the grid datasource in the NeedDataSource Event. 

Here is my problem with the grid:

1.  The paging and sorting are not working.  The grid blanks out when I attempt to goto the next page or sort a column.

Here is my questions:

1.  Is there a better way to handle this than the datatable route that I am using...It takes too long to fill the datatable with 18,000 records... While I know this is not an issue with the Telerik controls, is there a best-practice that I can use to increase performance.

<EDIT>
<update>  I made a datasource for my data (5 of them since I have 5 grids).  The grid paging works.  However, the page initially takes 45 seconds to load.  and takes another 45 seconds everytime the user goes to the next page on the grid.

New Questions:

1.  Why is paging taking so long... What can I do to optimize it so it does not take 45 seconds to change grid pages.

2.  Is there a pre-load splash screen that I can display while the page initially loads.  My users are ok with an initial wait but, I have to do something about the grid pages.
</EDIT>

Thanks in advance

- Adam
Vladimir
Top achievements
Rank 1
 answered on 26 Apr 2008
1 answer
195 views
Hi

If you have a radgrid inside an update panel and the grid is not initially visible you find that when you set the grid to be visible on postback the control's skin doesnt display properly, presumably because the css file did not load the first time the page was loaded. Please can you tell me how to fix this.

I'm using radgrid 5.1.2. I dont want to upgrade top prometheus because i'm using the windows skin which isn't supported

tahnks
Vladimir
Top achievements
Rank 1
 answered on 26 Apr 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?