Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
91 views
Hi there,

in a HTML table there is two row.
in first row, Calling a new page(.ascx) in which RadMenu Defined.
in Second row, ribbonBar Defined.

Now issue is, 
RadMenu horizontal Drop down popping up underneath of RibbonBar.

this issue persisting with IE7 only.
Kate
Telerik team
 answered on 24 Sep 2012
1 answer
57 views
Is there a way to select a cell (column and row) and position the view to that cell on page load?

I have done row positioning before, but never column.

Thanks,

Terry
Galin
Telerik team
 answered on 24 Sep 2012
1 answer
70 views
Good morning! I'm using Raddock to show some customer information. But I have some problems with the appearance of Raddock, specifically in Internet Explorer just below the title bar. I am attaching a picture with the problem.Thank you!
Bozhidar
Telerik team
 answered on 24 Sep 2012
9 answers
584 views
Hello,

I have a Hierarchical RadGrid with 3 Detail tables nested inside. I'd like to know if it's possible to hide the tables if they have no records instead of showing them with the "No child records to display." message?

Note: I do not want to do this: http://www.telerik.com/help/aspnet-ajax/grdhideexpandcollapseimageswhennorecords.html. I just need to hide tables that might have no records, but one will always have records.

Thanks!
Caleb
Top achievements
Rank 1
 answered on 24 Sep 2012
1 answer
115 views
Hi  ,

My code is below.

  protected void rgDocumentType_ItemCreated(object sender, Telerik.Web.UI.GridItemEventArgs e)
 {
   TextBox tbFilter=null;
                AjaxControlToolkit.FilteredTextBoxExtender ftExtender;
                if (e.Item is GridFilteringItem)
                {
                    GridFilteringItem fItem = (GridFilteringItem)e.Item;
                    foreach (GridColumn col in rgDocumentType.MasterTableView.Columns)
                    {
                        
                    
                        if (Convert.ToString(col.UniqueName).Equals("colIsModified") == false && Convert.ToString(col.UniqueName).Equals("colActive") == false && Convert.ToString(col.UniqueName).Equals("colCONCUR_ID") == false && Convert.ToString(col.UniqueName).Equals("colRemark") == false)
                        {
                            
                              tbFilter  = fItem[col.UniqueName].Controls[0] as TextBox;
                              tbFilter.ID = col.UniqueName;
                              ftExtender = new AjaxControlToolkit.FilteredTextBoxExtender();
                               ftExtender.TargetControlID = tbFilter.ID;
                               ftExtender.FilterMode = AjaxControlToolkit.FilterModes.InvalidChars;
                               ftExtender.FilterType=AjaxControlToolkit.FilterTypes.Custom|AjaxControlToolkit.FilterTypes.Numbers|AjaxControlToolkit.FilterTypes.LowercaseLetters | AjaxControlToolkit.FilterTypes.UppercaseLetters;
                               ftExtender.InvalidChars = @"%!&;`'\|*?~<>^()[]{}$&quot;";
                               tbFilter.Controls.Add(ftExtender);

                               col.CurrentFilterFunction = GridKnownFunction.Contains;
                               col.AutoPostBackOnFilter = true;

                              
                              
                               ftExtender = null;
                               tbFilter = null;
                            

                                                      
                        }
                       
                    }
                } 


}

This code is used for blocking some special characters in the filter textbox Also prevent pasting.
I set the current filter function here But when clicking on the filter menu button it does not work?

Thanks & Regards
Anzar.M
Eyup
Telerik team
 answered on 24 Sep 2012
3 answers
204 views
Hi,

I have to set current filter function at run time and when i click on the filter button it take the currently setted filter function.

Thanks & Regards
Anzar.M
Eyup
Telerik team
 answered on 24 Sep 2012
1 answer
153 views
Hi there,

I have a kendo grid which binds into  a datatable (it has to bind into a datatable as I do not know which columns i am expecting)
It seems like when binding a grid to a datatable, date columns are not being recognized as dates, and rendered as strings. So no filtering, sorting or formatting, and the date is being displayed in the json string format: /Date(1348489271318)/

The mark up is as follows:
    @{ Html.Kendo().Grid(Model.GridModel)
        .Name("Grid")
        .Columns(columns =>
        {
            foreach (System.Data.DataColumn column in Model.GridModel.Columns)
            {              
                var c = columns.Bound(column.DataType, column.ColumnName).Title(column.Caption);
             
                 if (column.ColumnName == "DateAdded")
                {                   
                    c.Format("{0:dd/MM/yyyy hh:mm}");
                 }
            }
        })

Once I change the datasource into a class model, then everything works fine, the dates are rendered as dates with the correct format, filtering and sorting.

Any ideas why column of datatype date is getting rendered as a string?
Thanks
N
Jayesh Goyani
Top achievements
Rank 2
 answered on 24 Sep 2012
2 answers
127 views

Hi 

I have an asp drop down list with a list of years 12/13 11/12 10/11,

I want to know how if a user picks 11/12 it changes the year of the radscheduler to the year 2011. 

so far on page load it just gives you the current day,month and year.


cheers

John M


John
Top achievements
Rank 1
 answered on 24 Sep 2012
1 answer
122 views
  Sir,
                I have a grid ,contains 5 ckeckbox template columns , any check box is clicked 6th check box  value is changed in clientside.
Pls help me . we are telerick customer.
          By Seban.
 
Jayesh Goyani
Top achievements
Rank 2
 answered on 24 Sep 2012
1 answer
84 views
Hello
I've a listview,
The datasource is a dataset builded like that:

Dim dataSet As DataSet = New DataSet
Dim dtPart As DataTable = New DataTable("Products")
dtPart.Columns.Add("id", Type.GetType("System.String"))
dtPart.Columns.Add("name", Type.GetType("System.String"))
dtPart.Columns.Add("brand", Type.GetType("System.String"))
dtPart.Columns.Add("price", Type.GetType("System.Double"))


then I ve a method to sort it by price:

Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Dim expression As New RadListViewSortExpression()
        listview .SortExpressions.Clear()
        expression.FieldName = "price"
        expression.SortOrder = RadListViewSortOrder.Ascending
        listview.SortExpressions.AddSortExpression(expression)
        listview .Rebind()

End Sub

My issue is it sort by price considering the column as string. For instance:

30 will be greater than 200

How can I tell the sortexpressions that it sort decimals?

Thanx 
Andrey
Telerik team
 answered on 24 Sep 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?