Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
700 views
Hi,

I am trying to filter my gridview in onkeypress of the filter textbox.My mastertabelview dataitems returns zero and my sender.value is empty string.I got this code from a post here,but its not working.


Help me..

Thnx in advance

My code is:

Private Sub RadGridSpeciality_ItemCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles RadGridSpeciality.ItemCreated
        If Not Page.IsPostBack Then
            If TypeOf e.Item Is GridFilteringItem Then
                Dim fltItem As GridFilteringItem = TryCast(e.Item, GridFilteringItem)
                For Each column As GridColumn In RadGridSpeciality.Columns
                    Dim box As TextBox = TryCast(fltItem(column.UniqueName).Controls(0), TextBox)
                    box.Attributes.Add("onkeypress", "doFilter(this,event)")
                Next
            End If
        End If
    End Sub
function doFilter(sender, eventArgs) {
                    eventArgs.cancelBubble = true;
                    eventArgs.returnValue = false;
                    if (eventArgs.stopPropagation) {
                        eventArgs.stopPropagation();
                        eventArgs.preventDefault();
                    }
                    var masterTableView = $find("<%= RadGridSpeciality.ClientID %>").get_masterTableView();
                    var index = sender.parentNode.cellIndex; //index of the current column
                    var columns = masterTableView.get_columns();
                    uniqueName = columns[index].get_uniqueName();
                    masterTableView.filter(uniqueName, sender.value, Telerik.Web.UI.GridFilterFunction.Contains);
                }
Andrey
Telerik team
 answered on 28 Mar 2012
0 answers
90 views
Hello ,

I want the  radgrid ,grouped by employee it also include checkbox in front of grouped employee for bulk approve.
there is plus sign in front of employee to open and see the application made by that employee.
Please suggest me how do I show the application after plus sign opens from grouped employee.

Thanks.
Amit
Top achievements
Rank 1
 asked on 28 Mar 2012
1 answer
80 views
Does RadEditor controls collection contain a control that is sub-classed from a a TextBox control?
If yes, then how would I get this control on server-side using RadEditor instance?

Thanks
Sunil
Rumen
Telerik team
 answered on 28 Mar 2012
3 answers
368 views
Folks, Using ASP.Net Ajax Q1 2012 with VS 2010.

I am using below link as a prototype.

http://demos.telerik.com/aspnet-ajax/grid/examples/performance/linq/defaultcs.aspx

My question's are:

1) I would like to have an option just to show 1st 2000 rows or all rows in the Form based on user input. I will create a Text Box where users will enter # of rows to Show in Radgrid. if Textbox is null then show all rows.  
.
2) Possible to select rows (may be 2000 or all rows) from mutiple tables (i.e. Products and Category) based on a certain Catergory Description? Ex: I will have a Text Box in the form for users to enter Category description and based on that Text Box value, show only Radgrid rows that meets the criteria. But insert/update/deletions will be limitted to Products Table only not in Category Table. 

The soutions I am looking from LINQ to SQL,  not SQL.

Thanks

gc_0620
 
Tsvetina
Telerik team
 answered on 28 Mar 2012
3 answers
286 views
hi telerik,

1.
i am having problem removing the All day checkbox and the date dropdownlist in the advance form. is it possible to remove it from the advance form ?

2.
i am trying to set the working time end at 3pm for saturday. how could i do that ?

Best Regard,
ER AN
Plamen
Telerik team
 answered on 28 Mar 2012
2 answers
162 views
Hello,

I've textboxes (Numeric, Masked and normal) with skin Windows7. padding-left and padding-right are both 0px before moving mouse-over. When move mouse over the textboxes the inline style of the riDisplay is changed to padding-left:5px and padding-right:5px. I do not want this behaviour. Can someone help me??

Regards, 
  Jos Meerkerk
RvdGrint
Top achievements
Rank 1
 answered on 28 Mar 2012
1 answer
175 views
Hello, 

Each time I want to export in an Excel file my data it's perfect expect on my GridHyperLinkColumn where I get only '0'

<telerik:GridHyperLinkColumn HeaderText="Remontée"
                        DataTextField="IdRemontee"
                        DataTextFormatString="Remontée {0}"
                        DataNavigateUrlFields= "IdRemontee"
                        DataNavigateUrlFormatString= "~/Pages/RemonteeEtAction/RemonteeView.aspx?id={0}"
                        UniqueName="O_IdRemontee" >
                    </telerik:GridHyperLinkColumn>

Do you know if there is any issue?

Thank you
Shinu
Top achievements
Rank 2
 answered on 28 Mar 2012
2 answers
214 views

I have a RadNotification with RadMenuItems, now on the click of the RadMenuItem, i need to change the stylehsheet path.
 <link rel="stylesheet" type="text/css" title="Classic" href="Classic.css"  />
<link rel="alternate stylesheet" title="Business" href=Business.css">

*************************************************************************************
<telerik:RadNotification ID="RadNotification1" runat="server" VisibleOnPageLoad="true"
                Width="300" Height="100" Animation="Fade" EnableRoundedCorners="false" EnableShadow="true"
                Text="Welcome to the new business look for Protiviti's Governance Portal" TitleIcon="client/images/new_small.png"
                Title="New Business Look" Style="z-index: 35000" Skin="Office2007" Opacity="80"
                CloseButtonToolTip="Close" KeepOnMouseOver="true" ContentIcon="client/images/business.png"
                OffsetX="-5" OffsetY="-5" ShowTitleMenu="true">
                <NotificationMenu Skin="Office2007" >
                    <Items>
                        <telerik:RadMenuItem Text="Classic" ImageUrl="client/images/classic.png" Value="Classic">
                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem Text="Business" ImageUrl="client/images/business.png" Value="Business">
                        </telerik:RadMenuItem>
                      
                    </Items>
                </NotificationMenu>
            </telerik:RadNotification>
*************************************************************************************
If you could suggest me the method used for RadNotification.

URGENT!!

parobe01
Top achievements
Rank 1
 answered on 28 Mar 2012
5 answers
219 views
I've two RadNumericTextBox with records, how i can sum the records and place them  in GridCalculatedColumn?

<telerik:GridTemplateColumn headerText="Importe" UniqueName="fcimporte" HeaderStyle-HorizontalAlign="Center">
                                            <ItemTemplate>
                                                <telerik:RadNumericTextBox runat="server" Width="50px" MaxLength="5" DbValue='<%# Eval("fcimporte") %>' Type="Currency">
                                                <ClientEvents OnBlur="Blur" OnFocus="Focus" />
                                                </telerik:RadNumericTextBox>
                                            </ItemTemplate>
                                            <ItemStyle HorizontalAlign="Center" />
                                         </telerik:GridTemplateColumn>
 
                                         <telerik:GridTemplateColumn HeaderText="IVA ($)" UniqueName="fciva" HeaderStyle-HorizontalAlign="Center">
                                            <ItemTemplate>
                                                <telerik:RadNumericTextBox runat="server" Width="50px" MaxLength="5" DbValue='<%# Eval("fciva") %>' Type="Currency">
                                                </telerik:RadNumericTextBox>
                                            </ItemTemplate>
                                         </telerik:GridTemplateColumn>
Hugo
Top achievements
Rank 1
 answered on 28 Mar 2012
5 answers
132 views
Dear Support,

Is there a way to reproduce this example (http://demos.telerik.com/aspnet-ajax/grid/examples/groupby/groupfooter/defaultcs.aspx) by applying all the settings in the code rather than declarаtively in the html?  I may be doing something wrong, but everything works fine until I set CWGrid.MasterTableView.ShowGroupFooter =true, and then the whole page blows up. The screenshot is attached.
Tad
Top achievements
Rank 2
 answered on 27 Mar 2012
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?