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;
}
}
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.
Uncaught TypeError: Cannot read property 'currentStyle' of undefined Telerik.Web.UI.WebResource.axd:6Sys.UI.DomElement.getVisible Telerik.Web.UI.WebResource.axd:6Sys.UI.DomElement.setVisible Telerik.Web.UI.WebResource.axd:6Sys.UI.Control.set_visible Telerik.Web.UI.WebResource.axd:6InstalledByCheckChanged JSTest.aspx:8(anonymous function) JSTest.aspx:2Hello good morning,
We are using Telerik asp.net Ajax license version .dll.
I have an application where i am creating a gallery of images.
I am using some jquery media js to display the media gallery content which is basically swf files.
To display the list of images and media content i have used telerik rad listview and telerik grid.
But, i was unable set the ajax response as the RadAjaxmanager and radajxmanagerproxy is not working with the postback.
Since the ajax thing is not working properly.
For further information look into the demo image.
As you can see in image,when i click on the green buttons that appear on the top paging control.
when i Click on the button and the page is getting postback on click so the ajax thing is not working.
I need to use some jquery plugins.So i tried as mentioned in the telerik website but was still not able to do it.
Also, in the case of the grid on the left side if i click on the keyword then also the ajax is not working.
I need to workout both the things with telerik and jquery plugins that i am using.
Also, if i use radajaxpanel instead of radajaxmanager, then the overlay image is not working properly.and also my jquery plugins don't seem to work..I need to use telerik as well the plugins.I have attached the image of the page from which the control on the right is the listview and the left hand control is the telerik grid. But as explained above i am unable to show overlay effect or ajax effect on post back.
please, Somebody could help me out with these thing.
Thanks,
Priyank