Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
58 views
Hi.

I have a RadGrid and in which I have enabled filtering option. How can i make users enter only 2 characters while filtering. I tried by setting MaxLength. But it is not working..

AnyBody please help me..
Sigma.
Princy
Top achievements
Rank 2
 answered on 21 Aug 2012
8 answers
135 views
Hello,

I would like the content of my RadGrid to occupy a single row at all times, even changing the text from (for example) "ABCDE" to "ABC..." when the column gets to small due to a resize. I would also like the full text to be shown as a tooltip if the user moves the mouse over the column. Is there an easy way to achieve this functionality with the RadGrid?

Thanks in advance,
Robin
Mahesh
Top achievements
Rank 1
 answered on 21 Aug 2012
1 answer
72 views
Hello,

I have a RadGrid. I want to load the entire grid in edit mode in the initial load itself. How can I achieve this scenario?

please help me...

Thanks in advance
Sigma.
Shinu
Top achievements
Rank 2
 answered on 21 Aug 2012
3 answers
53 views
How to change the default panelbarhandle image?
Princy
Top achievements
Rank 2
 answered on 21 Aug 2012
3 answers
181 views
I want to know if it is possible to show the gridboundcolumn as a hyperlink from code?(instead of using hyperlink)?
Shinu
Top achievements
Rank 2
 answered on 21 Aug 2012
5 answers
119 views
Hi all,

I m trying to fill my radgrid's datasource by using linq to sql. Till now i successfully done it when i used only one table in queries. But when i wanted to join two tables i failed. Here is the method i used for data binding.

public RadGridSurveyAnswerPointsModel ViewSurveyAnswerPoints(int startIndex, int maximumRows,
string sortExpressions, string filterExpressions)
{
RadGridSurveyAnswerPointsModel model = new RadGridSurveyAnswerPointsModel();
IQueryable q = (from x in Context.cc_SurveyPoint
          join y in Context.CC_SurveyPointMain on x.SurveyMainPointID equals y.ID
          orderby x.Code
          select new DenemeClass
          {
               Id = x.ID,
               Code = x.Code,
               Description = x.Description,
               Sequence = x.Sequence,
               isActive = x.ISActive,
               IconId = x.IconId,
               Point = x.Point,
               SurveyMainPointId = y.Code
         });
            GridLinqBindingData data = RadGrid.GetBindingData(q, startIndex, maximumRows,
sortExpressions, filterExpressions);
            model.AnswerPointsList = data.Data.OfType<DenemeClass>().ToList();
            model.Count = data.Count;
            return model;
}

public class DenemeClass
    {
        public Guid Id
        {
            get;
            set;
        }
 
        public string SurveyMainPointId
        {
            get;
            set;
        }
 
        public string Code
        {
            get;
            set;
        }
 
        public string Description
        {
            get;
            set;
        }
 
        public int Point
        {
            get;
            set;
        }
 
        public int? IconId
        {
            get;
            set;
        }
 
        public int? Sequence
        {
            get;
            set;
        }
 
        public bool isActive
        {
            get;
            set;
        }
 
    }

It is compiled and at run time i get this error : DenemeClass' is not a valid metadata type for type filtering operations. Type filtering is only valid on entity types and complex types. 

It may not be related with radgrid but i guess you good people could help me. Thanks.
Matthew
Top achievements
Rank 1
 answered on 21 Aug 2012
0 answers
81 views
I have moved my application from one server to another. I am currently having an issue with the upload control on the new server.

I get a null reference exception when accessing.
RadUploadContext.Current.UploadedFiles

This returns a id
Response.Write(@"<script language='javascript'>alert('" + Request.QueryString["RadUrid"] + "');</script>");

Server setup
Windows 2008 R2
IIS 7.5

Thanks
Jonathan
Top achievements
Rank 1
 asked on 20 Aug 2012
1 answer
83 views
Hello,
I have created a web control that contains RadGrid based on this example: http://demos.telerik.com/aspnet-ajax/grid/examples/groupby/outlookstyle/defaultcs.aspx.

The problem is, all the buttons on this page are hidden - including those in the RadGrid used for grouping. Firebug shows:
button, input[type="submit"], input[type="reset"], input[type="button"], input[type="checkbox"], input[type="radio"], select {
    visibility: hidden !important;
}

If I remove "hidden" in firebug, buttons work well. Why is the visibility set to hidden? I've found on this forum that it can be caused by RadFormDecorator. I'm using class "BasePage" that all the classes in the project inherit from. There, in OnPageLoad event I have:

Master.Controls.OfType<HtmlGenericControl>().First(t => t.TagName == "html")
                  .Controls.OfType<HtmlForm>().First()
                  .Controls.Add(new RadFormDecorator { DecoratedControls = FormDecoratorDecoratedControls.Fieldset |  FormDecoratorDecoratedControls.Buttons });

When I skip this step during debugging, buttons are displayed and grouping works. But I have no idea how to solve that problem.

Buttons and grid work correctly on other pages/controls in the solution. I haven't noticed any difference between my page and the others that could have any influence on that situation like additional scripts, styles etc.

What could be wrong?

Thank you in advance.

pawelg
Top achievements
Rank 1
 answered on 20 Aug 2012
1 answer
39 views
I installed Telerik ASP.NET AJAX RadControl on a workstation about a year ago. After I updated the code app, only the telerik toolkit appears in the VS 2010 IDE toolkit window. All the other toolkits like ASP.NET controls and HTML controls stop being displayed. But they are available via intelisense.

Is there a fix for this problem?
KIng
Petar
Telerik team
 answered on 20 Aug 2012
1 answer
267 views
I set the ImageURL property of the TreeView Nodes during the NodeDataBound event.  I want to set the text for the "alt" attribute of the image.  If I set the ToolTip property of the Node, it adds the ToolTip text to the alt property of the Node image, but it also adds a "title" property with the same text to the entire text of the node.  This is unwanted.

So, the question is: How can I set the image alt text on a node, during binding in code, without adding the same text as the title attribute for the text?

Thanks.
Boyan Dimitrov
Telerik team
 answered on 20 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?