Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
158 views
Hello!

This one should be easy but for some reason I can't get it working.

I have RadMaskedTextBox with the Mask="##:##" and getting values works like a charm, but I can't set them.

How can I for example set the value of the RadMaskedTextBox to display 09:30? Text property didn't help at all even though I tried setting the value in the following formats 0930 and also 09:30.

Any help would be appreciated.

EDIT: I thoroughly checked available documentation and it seems that .Text property should do the trick, however nothing is displayed in the RadMaskedTextBox itself.

EDIT 2: It was my mistake, controls weren't inside UpdatePanel! Case closed! :)
Hrvach
Top achievements
Rank 1
 asked on 01 Mar 2012
1 answer
88 views
Hi,

I am using RadComboBox with filtering. I have to implement multiple word filter in a combo box. (i.e. if user enters "test string", it should matches all items containing words "test" and "string" in any order).

Please suggest.

Thanks,
Kevin
Top achievements
Rank 2
 answered on 01 Mar 2012
1 answer
81 views
Hello,

I have a radgrid that has groups nested several layers deep. For each group I have a footer that has several custom aggregate fields. The values for these need to be calculated based upon the actual data in the underlying datasource (most of which is not exposed to radgrid in the form of columns). How can I determine what rows from the datasource make up the group? Something in the form of StartIndex and EndIndex would be absolutely ideal.

Thanks,

Fred
Tsvetina
Telerik team
 answered on 01 Mar 2012
1 answer
345 views
Hello,

I currently have a form that contains a User Control (User Control A).  This User Control contains yet another User Control (User Control B).

On the Form, I have a button called "Create User". 

On User Control A, I have wrapped User Control B in a RadAjaxPanel.

When I click the "Create User" button, the User Control B does not update because it is in the RadAjaxPanel.  If I take User Control B out of the RadAjaxPanel, it updates fine when clicking the "Create User" button.

However, I want to keep User Control B in the RadAjaxPanel so that when I do stuff in User Control B, only User Control B reloads and not the entire page.

How can I make the "Create User" button click force the RadAjaxPanel wrapped around User Control B post back?

I would prefer to do all of this (or as much as possible) server side.

Thanks!

Maria Ilieva
Telerik team
 answered on 01 Mar 2012
1 answer
113 views
Greetings, I hope this can be resolved with some simple CSS. I'm using your RadGrid with group by functionality. If I left drag the column header towards the group by section, I DO NOT see the header. The group by functionality is working properly, meaning if I drop (release the left mouse button) in the group by section, the grid groups the content properly. It's just that the header is not visible during the dragging effort. If I drag my mouse to the left or right off of the data grid, I do see the header, so I suspect the problem is with the z index and the grid is above the dragged header.

Below is a screen shot of the header dragged to the left of the data grid:

Is there a workaround for this issue?

Thanks,
Jim
Andrey
Telerik team
 answered on 01 Mar 2012
5 answers
181 views
The online demo here do not include the file: "Explorer.aspx" used by RadWindow.

I cannot see any property like "DialogMode=FileSelector" on the control itself.

Have anyone tried to setup the "File Selector Dialog" example, and made it work?
Dobromir
Telerik team
 answered on 01 Mar 2012
5 answers
630 views
Hello,
We are using the Telerik build 2010.2.929.40 and occasionally on our app served from a new Server 2008 we receive this error when viewing a RadChart, "A generic error occurred in GDI+." We can recycle our app pool on the server and the charts go back to normal with no errors. Then after a few hours or days the error comes right back and occurs for anyone trying to view the RadChart. Were there any known issues with memory leaks or image file locking issues in this build? Has anyone else experienced a similar issue?
Thanks.
Giuseppe
Telerik team
 answered on 01 Mar 2012
1 answer
102 views
after adding a new record,severside validation gets fired and all the values in new added row gets clear and empty row is desplayed as in ready to insert mode with the GridTextBoxColumnEditor, i have tried e.Canceled = true; in ItemCommand which allows me to stay in insert mode,but values are not retained . is there any solution for the same ???
Andrey
Telerik team
 answered on 01 Mar 2012
1 answer
319 views
Hi All,
I am using radgrid Master-Detail table , having Show/Hide checkbox filter option on master table and its ruuning fine. Depending on Master show/hide checkbox status detail filter option works, but i want 2 diiferent show/hide checkboxs for master and detail radgid, in such a way that in detail table checkbox should come with each row and depending on checkstatus for perticular row checkbox filter option get displayed against each column.

Please help. Below is my code:

 

 

<telerik:RadGrid ID="RadGrid1" runat="server" Width="995px" AutoGenerateColumns="False"

 

 

 

AllowMultiRowSelection="False" AllowPaging="true" PageSize="15" OnDetailTableDataBind="RadGrid1_DetailTableDataBind"

 

 

 

Skin="Sunset" AllowCustomPaging="true" AllowFilteringByColumn="true" OnNeedDataSource="RadGrid1_NeedDataSource"

 

 

 

OnItemCreated="RadGrid1_ItemCreated" OnItemCommand="RadGrid1_ItemCommand" OnInit="RadGrid1_Init"

 

 

 

GroupingSettings-CaseSensitive="false">

 

 

 

<PagerStyle Mode="NumericPages" />

 

 

 

<MasterTableView TableLayout="Auto" AllowMultiColumnSorting="True" CellPadding="0"

 

 

 

DataKeyNames="TXNORDER" Width="100%" CommandItemDisplay="Top" GroupLoadMode="Server">

 

 

 

<CommandItemTemplate>

 

 

 

<asp:CheckBox ID="CheckBox2" AutoPostBack="true" CssClass="CheckBox" runat="server"

 

 

 

ForeColor="White" Text="Show Filter" />

 

 

 

</CommandItemTemplate>

 

 

 

<DetailTables>

 

 

 

<telerik:GridTableView DataKeyNames="TXNORDER" Name="Orders" Width="100%" AllowFilteringByColumn="true">

 

 

 

<Columns>

 

 

 

<telerik:GridTemplateColumn HeaderStyle-Width="5px" AllowFiltering="false">

 

 

 

<ItemTemplate>

 

 

 

<asp:ImageButton ID="imgCheck" runat="server" CausesValidation="false" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "CaptureImageKey")%>'

 

 

 

CommandName='<%# DataBinder.Eval(Container.DataItem, "ItemTypePK")%>' Height="20px"

 

 

 

ImageUrl="~/Images/check-template.png" OnClick="imgCheck_Click" ToolTip="Check Image"

 

 

 

Width="30px" />

 

 

 

</ItemTemplate>

 

 

 

<HeaderStyle Width="40px" />

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridNumericColumn DataField="TXNORDER" HeaderButtonType="TextButton" HeaderText="Transaction#"

 

 

 

SortExpression="TXNORDER" UniqueName="TXNORDER" Visible="False">

 

 

 

</telerik:GridNumericColumn>

 

 

 

<telerik:GridBoundColumn DataField="ItemTypePK" HeaderButtonType="TextButton" HeaderText="Type"

 

 

 

SortExpression="ItemTypePK" UniqueName="ItemTypePK">

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn DataField="FIELD7" HeaderButtonType="TextButton" HeaderText="Serial#"

 

 

 

SortExpression="FIELD7" UniqueName="FIELD7">

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn DataField="FIELD6" HeaderButtonType="TextButton" HeaderText="P44"

 

 

 

SortExpression="FIELD6" UniqueName="FIELD6">

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn DataField="FIELD5" HeaderButtonType="TextButton" HeaderText="Routing#"

 

 

 

SortExpression="FIELD5" UniqueName="FIELD5">

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn DataField="FIELD4" HeaderButtonType="TextButton" HeaderText="AltSerial#"

 

 

 

SortExpression="FIELD4" UniqueName="FIELD4">

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridNumericColumn DataField="FIELD3" HeaderButtonType="TextButton" HeaderText="Account#"

 

 

 

SortExpression="FIELD3" UniqueName="FIELD3" FilterControlWidth="70px" DataType="System.Int32">

 

 

 

</telerik:GridNumericColumn>

 

 

 

<telerik:GridNumericColumn DataField="FIELD2" HeaderButtonType="TextButton" HeaderText="TC#"

 

 

 

SortExpression="FIELD2" UniqueName="FIELD2" FilterControlWidth="70px">

 

 

 

</telerik:GridNumericColumn>

 

 

 

<telerik:GridNumericColumn DataField="Amount" HeaderButtonType="TextButton" HeaderText="Amount"

 

 

 

SortExpression="Amount" UniqueName="Amount" HeaderStyle-HorizontalAlign="left"

 

 

 

ItemStyle-HorizontalAlign="left" FilterControlWidth="70px">

 

 

 

<HeaderStyle HorizontalAlign="Center" />

 

 

 

<ItemStyle CssClass="pad" HorizontalAlign="Right" />

 

 

 

</telerik:GridNumericColumn>

 

 

 

<telerik:GridBoundColumn DataField="CaptureImageKey" HeaderButtonType="TextButton"

 

 

 

HeaderText="CaptureImageKey" SortExpression="CaptureImageKey" UniqueName="CaptureImageKey"

 

 

 

Visible="false">

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn DataField="EnterpriseID" HeaderButtonType="TextButton" HeaderText="EnterpriseID"

 

 

 

SortExpression="EnterpriseID" UniqueName="EnterpriseID" Visible="false">

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn DataField="ReverseReason" HeaderButtonType="TextButton"

 

 

 

HeaderText="ReverseReason" SortExpression="ReverseReason" UniqueName="ReverseReason"

 

 

 

Visible="false">

 

 

 

</telerik:GridBoundColumn>

 

 

 

</Columns>

 

 

 

</telerik:GridTableView>

 

 

 

</DetailTables>

 

 

 

 

<Columns>

 

 

 

<telerik:GridTemplateColumn HeaderStyle-Width="5px" AllowFiltering="false">

 

 

 

<ItemTemplate>

 

 

 

<asp:ImageButton ID="imgReverseTransaction" runat="server" CausesValidation="false"

 

 

 

Height="20px" Width="20px" CommandArgument='<%#Eval("TXNORDER") + ","+Eval("EnterpriseID")+ ","+Eval("BankID")+ ","+Eval("BranchID")+ ","+Eval("BatchID")+ ","+Eval("OPENEDTIME") + ","+Eval("SourceTypePK")+ ","+Eval("AuxBatchID")%>'

 

 

 

CommandName="ReverseTransaction" ImageUrl="~/Images/undo.png" OnClick="imgReverseTransaction_Click"

 

 

 

OnClientClick="javascript:return confirm('Are you sure you want to reverse this transaction? \n This action cannot be undone.')"

 

 

 

ToolTip="Reverse Transaction" Visible='<%#DataBinder.Eval(Container.DataItem,"ShowImgReverseTransaction")%>' />

 

 

 

</ItemTemplate>

 

 

 

<HeaderStyle Width="30px" />

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridNumericColumn DataField="TXNORDER" HeaderButtonType="TextButton" HeaderText="Transaction #"

 

 

 

SortExpression="TXNORDER" FilterControlWidth="70px" UniqueName="TXNORDER" DataType="System.Int16">

 

 

 

<ItemStyle CssClass="pad" HorizontalAlign="left" />

 

 

 

</telerik:GridNumericColumn>

 

 

 

<telerik:GridBoundColumn DataField="CaptureStatus" HeaderButtonType="TextButton"

 

 

 

HeaderText="Capture Status" SortExpression="CaptureStatus" DataType="System.String"

 

 

 

AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false" >

 

 

 

<HeaderStyle HorizontalAlign="left" />

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn DataField="TRANSACTIONTIME" HeaderButtonType="TextButton"

 

 

 

HeaderText="Transaction Time" SortExpression="TRANSACTIONTIME" DataType="System.DateTime">

 

 

 

<HeaderStyle HorizontalAlign="Center" />

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridNumericColumn DataField="Amount" HeaderButtonType="TextButton" HeaderText="Amount"

 

 

 

SortExpression="Amount" UniqueName="Amount" FilterControlWidth="70px" HeaderStyle-HorizontalAlign="left"

 

 

 

ItemStyle-HorizontalAlign="left" DataType="System.Decimal">

 

 

 

<HeaderStyle HorizontalAlign="Center" />

 

 

 

<ItemStyle CssClass="pad" HorizontalAlign="left" />

 

 

 

</telerik:GridNumericColumn>

 

 

 

</Columns>

 

 

 

</MasterTableView>

 

 

 

<ClientSettings>

 

 

 

<Scrolling AllowScroll="True" EnableVirtualScrollPaging="True" UseStaticHeaders="True"

 

 

 

SaveScrollPosition="True"></Scrolling>

 

 

 

</ClientSettings>

 

 

 

</telerik:RadGrid>

 

Andrey
Telerik team
 answered on 01 Mar 2012
3 answers
387 views
Hi,
      I am using telerik grid in which i have used Dropdown list. I m getiing value in drop down list from another table. So what should be the filter criteria i use.
<telerik:GridDropDownColumn DataField="INSTRUMENT_ID" DataSourceID="SqlDataSource2"
                ShowFilterIcon="false" HeaderText="PRODUCT NAME" ListTextField="INSTRUMENT_NAME"
                ListValueField="INSTRUMENT_ID"  
                UniqueName="INSTRUMENT_ID" ColumnEditorID="GridDropDownListColumnEditor1">
            </telerik:GridDropDownColumn>

bt it gives me error like
No property or field 'Jeevan' exists in type 'DataRowView'


Please Reply
Tsvetina
Telerik team
 answered on 01 Mar 2012
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?