Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
104 views
Hi all,
I have done grouping and I need to enable sorting . When I am using GridBoundColumn the follwing set of code, sorting, filtering  is working
  <telerik:GridBoundColumn SortExpression="CloseOutName" HeaderText="testCloseOutName" HeaderButtonType="TextButton"
                        DataField="CloseOutName">
                    </telerik:GridBoundColumn>     
But Sorting and Filtering  is not working with GridTemplateColumn  , Please on this issue
  <telerik:GridTemplateColumn HeaderButtonType="TextButton"   SortExpression="CloseOutName">
   <HeaderTemplate  >
               <asp:Label ID="lblHeaderCloseOutName" runat="server" Text="workbook/Interim"></asp:Label>
    </HeaderTemplate>
      <ItemTemplate>
     
     <asp:Label ID="lblCloseOutName" runat="server" Text='<%# eval("CloseOutName") %>' ></asp:Label>
       
         </ItemTemplate>
        </telerik:GridTemplateColumn>
saravanakumar subramaniam
Top achievements
Rank 1
 answered on 02 Aug 2011
2 answers
185 views

I am trying to use the Selected index of one RadComboBox help build the query to populate another RadComboBox, they are both in the <EditItemTemplate>.
I get an Object reference not set to instance of an object when I run this code just adding a RadComboBoxItem without even building the query.

Protected Sub ItemType_SelectedIndexChanged(ByVal o As Object, ByVal e As RadComboBoxSelectedIndexChangedEventArgs)
        Dim DDL As RadComboBox = TryCast(RadGrid1.FindControl("FlatFileType").Controls(0), RadComboBox)
        Dim RadComboBoxItem1 As New RadComboBoxItem("First Item")
        DDL.Items.Add(RadComboBoxItem1)
End Sub

I am not sure how to correctly access the second radcombobox to be able to populate it.
Any help is greatly appreciated.

Rakesh Gupta
Top achievements
Rank 2
 answered on 02 Aug 2011
1 answer
312 views
Hi, below has a picture attached.


Inside the Radcombobox, it display the date and time, however i want to have the format changed to "d MMMM yyyy" and show it on Radcombobox1. Can anyone please help?

Thanks
Shinu
Top achievements
Rank 2
 answered on 02 Aug 2011
3 answers
152 views
Hello!!

Can someone tell me how can i change the color of a RadGrid (Q2 2011)...I chose the skin "Black" for the Grid but now i need to change the color of the text field of the FilterItem.
Princy
Top achievements
Rank 2
 answered on 02 Aug 2011
2 answers
147 views
I have a listView with Grids in them.
I want to iterate over the grids when a grid row is clicked or selected.
foreach grid i want to filter the rows based on a time comparison with the selected row's time column.
I can do this server-side;  I'm trying to do this client-side, using javascript.
Maria Ilieva
Telerik team
 answered on 02 Aug 2011
1 answer
2.0K+ views
Hi,
i am getting the following error

Could not load file or assembly 'Telerik.Web.UI, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

How can i resolve this?
Andrey
Telerik team
 answered on 02 Aug 2011
2 answers
139 views
Hello,

I'm developing a DNN module with the RadScheduler but am seeing a few issues.

DayStartTime and DayEndTime on DayView, WeekView and where-ever these can be set are: 6.00:00:00 and 24.00:00:00 as I want all time to be displayed from 6am to Midnight for Day and Week views.

Result: the scheduler ONLY displays all time in 24hours and never the "business hours" I've set!

When I click "Show 24 Hours", the rows line up correctly with the times in the time column BUT, when I click "Show Business Hours" the rows under the days DO NOT line-up with the rows in the time column AND it still shows all 24 hours!

Lastly, I've set the first day of week to be Monday and last to be Sunday - when showing 24hours, it displays that correctly BUT when showing "business hours" the days start on Sunday, end Saturday !!

I think you guys have some work to do on this. I'm surprised this got through QA!

Unless the build that ships with DNN is really buggy and I should use the latest v2011.2.712.40 (but cannot because DNN is compiled using 2011.1.519.35).

Please advise.

thanks
Peter
Telerik team
 answered on 02 Aug 2011
1 answer
202 views
Hello,,
I have aproblem with the radtooltip control (demo: http://demos.telerik.com/aspnet-ajax/tooltip/examples/onclientresponseend/defaultcs.aspx).
I always got the webpage error : Unable to get value of the property 'style': object is null or undefined.
If I remove the following javascript lines then the error doesn't display:
$get("startRequest").style.display = "none";
        $get("endRequest").style.display = "";

Note: I'm using the version 2009.3.1314.35

Please, I need your help,
It is appreciated to send me the solution of the problem,

Regards,
Bader
Svetlina Anati
Telerik team
 answered on 02 Aug 2011
4 answers
133 views
Hi,

I´m using RadEditor control and I need to specify that when an user introduces some text in the content area, for default align the text to the left side for example.

Thanks for the help.
Rumen
Telerik team
 answered on 02 Aug 2011
3 answers
120 views
My grid is exporting but the format is not acceptable.  I really want the export to put each column in the grid is 1 separate column in the export and I'm having a problem.  Here is the sample of my grid.

<

 

telerik:RadGrid ID="grdCurrentandPrior" runat="server" AllowSorting="True" AutoGenerateColumns="False"

 

 

GridLines="None" Skin="Web20" Style="margin-right: 0px" Width="673px" Height="260px"

 

 

OnNeedDataSource="grdCurrentandPrior_NeedDataSource" OnItemDataBound="grdCurrentandPrior_ItemDataBound">

 

 

<ExportSettings FileName="OpenItemsCurrentInventory" IgnorePaging="True" OpenInNewWindow="True">

 

 

<Excel Format="HTML" />

 

 

</ExportSettings>

 

 

<MasterTableView CommandItemDisplay="Bottom" AllowNaturalSort="false">

 

 

<CommandItemSettings ShowExportToExcelButton="true" ShowAddNewRecordButton="false" ShowRefreshButton="false"/>

 

 

<Columns>

 

 

<telerik:GridTemplateColumn HeaderText="Assignee" UniqueName="Assignee" SortExpression="Assignee">

 

 

<HeaderStyle Font-Bold="True" Width="100px" HorizontalAlign="Center" />

 

 

<ItemTemplate>

 

 

<asp:Label ID="lbAssignee" runat="server" Text='<%# Eval("Assignee") %>'></asp:Label>

 

 

</ItemTemplate>

 

 

</telerik:GridTemplateColumn>

 

 

<telerik:GridTemplateColumn HeaderText="Jurisdictions" UniqueName="JurisdictionCount" SortExpression="JurisdictionCount">

 

 

<HeaderStyle Font-Bold="True" Width="100px" HorizontalAlign="Center" />

 

 

<ItemTemplate >

 

 

<asp:Label ID="lbJurisdiction" runat="server" Text='<%# Eval("JurisdictionCount") %>'></asp:Label>

 

 

</ItemTemplate>

 

 

<ItemStyle HorizontalAlign="Right" ForeColor="Black" />

 

 

</telerik:GridTemplateColumn>

 

 

<telerik:GridTemplateColumn UniqueName="TemplateColumn">

 

 

<HeaderTemplate>

 

 

<table id="Table1" cellspacing="1" cellpadding="1" width="200px" border="1">

 

 

<tr>

 

 

<td colspan="2" align="center">

 

 

<b>Open Items by Age</b>

 

 

</td>

 

 

</tr>

 

 

<tr>

 

 

<td align="center" width="50%">

 

 

<b>Prior</b>

 

 

</td>

 

 

<td align="center" width="50%">

 

 

<b>Current</b>

 

 

</td>

 

 

</tr>

 

 

</table>

 

 

</HeaderTemplate>

 

 

<ItemTemplate>

 

 

<table id="Table2" cellspacing="1" cellpadding="1" width="260px" border="1">

 

 

<tr>

 

 

<td width="50%">

 

 

<asp:Label ID="lblPriorCount" runat="server" Text='<%# Eval("OpenItemsCountPrior") %>'></asp:Label>

 

 

</td>

 

 

<td width="50%">

 

 

<asp:Label ID="lblCurrentCount" runat="server" Text='<%# Eval("OpenItemsCountELD") %>'></asp:Label>

 

 

</td>

 

 

</tr>

 

 

</table>

 

 

</ItemTemplate>

 

 

</telerik:GridTemplateColumn>

 

 

<telerik:GridTemplateColumn HeaderText="Items Left to Pay" UniqueName="TotalRemainingItems" SortExpression="TotalRemainingItems">

 

 

<HeaderStyle Font-Bold="True" Width="100px" HorizontalAlign="Center" />

 

 

<ItemTemplate>

 

 

<asp:Label ID="lblPctComplete" runat="server" Text='<%# Eval("TotalRemainingItems") %>'></asp:Label>

 

 

</ItemTemplate>

 

 

<ItemStyle HorizontalAlign="Right" ForeColor="Black" />

 

 

</telerik:GridTemplateColumn>

 

 

<telerik:GridTemplateColumn HeaderText="% Complete" UniqueName="clmPctComplete">

 

 

<HeaderStyle Font-Bold="True" Width="100px" HorizontalAlign="Center" />

 

 

<ItemTemplate>

 

 

<asp:Label ID="lblPctComplete" runat="server" Text='<%# Eval("TotalRemainingItems") %>'></asp:Label>

 

 

</ItemTemplate>

 

 

<ItemStyle HorizontalAlign="Right" ForeColor="Black" />

 

 

</telerik:GridTemplateColumn>

 

 

<telerik:GridBoundColumn DataField="AssigneeEmployeeKey" ReadOnly="True" UniqueName="AssigneeEmployeeKey"

 

 

Visible="False">

 

 

</telerik:GridBoundColumn>

 

 

</Columns>

 

 

</MasterTableView>

 

 

<HeaderStyle BorderStyle="Solid" />

 

 

 

<ClientSettings>

 

 

 

<Scrolling AllowScroll="True" UseStaticHeaders="True" />

 

 

</ClientSettings>

 

 

</telerik:RadGrid>

 

Princy
Top achievements
Rank 2
 answered on 02 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?