Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
104 views
Hi,
I try to build an asp.net 2.0 application in VS 2010, reference Telerik.Web.UI (2011.1.519.35). It has lot of errors due to Telerik.Web.UI is not resolved. The following warning I believe is important,

Warning    14    The primary reference "System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" or retarget your application to a framework version which contains "System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35".  

However, this application can be built successfully in VS 2005 with same version of Telerik.Web.UI (2011.1.519.35). What is the problem?

Thanks,
York
york
Top achievements
Rank 1
 asked on 18 Jan 2012
4 answers
200 views
Hi all,

I have a button in a GridTemplateColumn Header which I am using to open a RadWindow through code behind. Here is the .aspx:
<telerik:GridTemplateColumn UniqueName="CVATemplateColumn" InitializeTemplatesFirst="false">
  <HeaderTemplate>
     <asp:Button ID="id" runat="server" OnClick="NewWindowCommand" />
  </HeaderTemplate>
</telerik:GridTemplateColumn>

and in the code behind:
protected void NewWindowCommand(object sender, EventArgs e)
{
  RadWindowManager windowManager = new RadWindowManager();
  RadWindow radWindow = new RadWindow();
  // Set the window properties
  radWindowNavigateUrl = "radWindow.aspx";
  radWindow.ID = "radWindowId";
  radWindow.VisibleOnPageLoad = true;
  windowManager.Windows.Add(radWindow );
  Form.Controls.Add(radWindow );
}

In debug, the NewWindowCommand event handler fires and I can step through all the code, but no window appears.

However, using exactly the same event handler, if I have an asp:button outside the grid, if I click that everything works fine and the window appears.
<telerik:RadGrid>
....
</telerik:RadGrid>
<asp:Button ID="id" runat="server" OnClick="NewWindowCommand" />

Why this unexpected behaviour?
Any help would be appreciated,
Donald
Donald
Top achievements
Rank 1
 answered on 18 Jan 2012
2 answers
95 views
Hi,

We have used RAD Grid with GridTableView with HierarchyDefaultExpanded=True. Attached screen shot "ExpandedColumn Grid.JPG"
There is a provision to export the gird to PDF (Third party dll). We want to hide the expand column image from header and detail view.
I have tried using MyGrid.MasterTableView.ExpandCollapseColumn.Display = false;  This Hides the grouping row and only shows the detail grid in pdf. I have also tried
(rgdGenderAgeSummaryReport.MasterTableView.GetItems(GridItemType.Header)[0] as GridHeaderItem)["ExpandColumn"].Visible = false;
  
            foreach (GridDataItem dataItem in rgdGenderAgeSummaryReport.MasterTableView.Items)
            {
                dataItem["ExpandColumn"].Style["display"] = "none";
                dataItem["ExpandColumn"].Visible = false;
            }

This also not working. Attached screen shot of PDF. Please suggest the solution. should be able to control at runtime.
Hiren
Top achievements
Rank 1
 answered on 18 Jan 2012
2 answers
65 views
  •  The problem: i have the Dock but i want the checkbox list can put inside the Dock


  •  But the multipleValuesResouceControl cannot put in the content of the dock for example:
<telerik:RadDockZone ID="RadDockZone1" runat="server" Height="300px" Width="300px">
<telerik:RadDock ID="RadDock1" runat="server" Width="300px">
<ContentTemplate>
     <scheduler:MultipleValuesResourceControl runat="server" ID="ResStudent" Type="Student" Label="User: " />
</ContentTemplate>
</telerik:RadDock>
</telerik:RadDockZone>

will getting this error


The source code refer from example here.



Tan
Top achievements
Rank 1
 answered on 18 Jan 2012
2 answers
108 views
hi,
 i am planning to use telerik grid in one of my project present i am using infragristic grid

is it possible to edit the hirarchial grid and i want to update all edited recodes at a time in the preset each row having the rowstate which indicates the whether   any one of the cell value is changed or not if change the row state is modified at the end when i click on save i go through loop and find out which row is modified and updated those rows only at the same time if we add now row the sate is new so we can update all the values at a time i want this type of functionality is is possible in the telerik grid

i am waiting for your reply

Thanks & Regards,
M.Koteswara Rao
koteswararao
Top achievements
Rank 1
 answered on 18 Jan 2012
7 answers
196 views
Hi 

The  export to excel, word, pdf, csv  feature works for me in the simple grid

Can someone let me know , whether the Export to Excel, Pdf, Word, CSV is really supported in the RADGrid having heirarchical structure
I get below error when try to export to PDF
 

Server Error in '/' Application.

System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at Telerik.Web.Apoc.Fo.Flow.TableRow.CellArray.GetNextFreeCell(Int32 colNum)
  at Telerik.Web.Apoc.Fo.Flow.TableRow.InitCellArray()
  at Telerik.Web.Apoc.Fo.Flow.TableRow.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.AbstractTableBody.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Table.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Block.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.TableCell.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.TableRow.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.AbstractTableBody.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Table.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Block.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Flow.Layout(Area area, Region region)
  at Telerik.Web.Apoc.Fo.Flow.Flow.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Pagination.PageSequence.Format(AreaTree areaTree)
  at Telerik.Web.Apoc.StreamRenderer.Render(PageSequence pageSequence)
  at Telerik.Web.Apoc.Fo.FOTreeBuilder.EndElement()
  at Telerik.Web.Apoc.Fo.FOTreeBuilder.Parse(XmlReader reader)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.SystemException: System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at Telerik.Web.Apoc.Fo.Flow.TableRow.CellArray.GetNextFreeCell(Int32 colNum)
  at Telerik.Web.Apoc.Fo.Flow.TableRow.InitCellArray()
  at Telerik.Web.Apoc.Fo.Flow.TableRow.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.AbstractTableBody.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Table.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Block.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.TableCell.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.TableRow.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.AbstractTableBody.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Table.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Block.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Flow.Layout(Area area, Region region)
  at Telerik.Web.Apoc.Fo.Flow.Flow.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Pagination.PageSequence.Format(AreaTree areaTree)
  at Telerik.Web.Apoc.StreamRenderer.Render(PageSequence pageSequence)
  at Telerik.Web.Apoc.Fo.FOTreeBuilder.EndElement()
  at Telerik.Web.Apoc.Fo.FOTreeBuilder.Parse(XmlReader reader)

thanks
Shinu
Top achievements
Rank 2
 answered on 18 Jan 2012
1 answer
62 views
Thanks
Lewis
Shinu
Top achievements
Rank 2
 answered on 18 Jan 2012
11 answers
243 views
Is possible to customize the NavigationPane? How? Thanks
The Doctor
Top achievements
Rank 1
 answered on 17 Jan 2012
5 answers
110 views

We're displaying search results in a grid, and allowing filtering by column.

The issue I'm resolving is if a user filters, then hits the search button again, the results of the query are set as the data source, then the grid re-applies the filters on Rebind().

I want to clear the filters and show the data which the new search got from the database.

I found a thread which gave me something that works.  Rather than do all this work for every grid in our application, I was looking for something like grid.ClearFilters().

Am I just missing the easier way?  If not, that might be a nice convenience method.

Code-behind of my search button click:

------------
...set new search data...

grdUserSearchResults.MasterTableView.FilterExpression = String.Empty;
foreach (Telerik.Web.UI.GridColumn column in grdUserSearchResults.Columns)
{
    column.CurrentFilterFunction = Telerik.Web.UI.GridKnownFunction.NoFilter;
    column.CurrentFilterValue = String.Empty;
}

grdUserSearchResults.Rebind();
--------------

Golem
Top achievements
Rank 1
 answered on 17 Jan 2012
0 answers
63 views
Where can I get a reference/documentation for this version of RadGrid?

Jeff
Top achievements
Rank 1
 asked on 17 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?