Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
927 views
Hi,
I have a RadGrid with around 15 columns and I show around 250 rows of data.
I want the client side sorting functionality on this Grid.
I tried many examples proposed in this thread, but couldn't achieve this functionality.
I also tried ajaxifying the Grid. It did the Sort, but it's still a Semi-Server Sort.
My Data Bind methods are on the Server Side. Can I achieve the Client Side Sorting so that this process becomes faster?
I saw some examples using Webservice in this thread. But I am not using Web Service in my design.
Please let me know how this can be accomplished?
Thanks
Srinivas
Viktor Tachev
Telerik team
 answered on 24 Jun 2016
0 answers
89 views

Hi

We have a site which uses Telerik controls extensively and has been operating for many years.

For many years users were told to use Internet Explorer in compatibility mode as this was the only way that the Telerik would work.

 

Recently they upgraded  to the latest version of the Telerik control. I have extensively used custom skins when applying the upgrade,

all straight out of the book as it is my first experience with telerik.

<link href="/MySkin/Grid.MySkin.css" rel="stylesheet" type="text/css"  id="Link1"/>

 <telerik:RadGrid

     Skin="MySkin"

     EnableEmbeddedSkins="False"
      ID="rgdRoles"
      runat="server"
      >

etc.

I got the site working in IE, Edge, Firefox and Chrome flawlessly.

However when the users come to use it in IE with compatibility mode

none of the custom skins are shown and the site looks like a dogs dinner.

When I look at the recourses used for styling, the skin css files are not being implemented.

if I undo the compatibility then they are.

 

My customer is insistent that complatibility mode is maintained. My question is: how can I implement

this with the custom skins.

 

Thanks

 

jonathan

 

 

 

Jonathan
Top achievements
Rank 1
 asked on 24 Jun 2016
1 answer
38 views

Hello all,

I have very weird problem. There is RadPanelBar located on master page. Everything was great until I added following style on one of ascx pages. When this page is loaded and I click on some item in RPB link is opening in new tab. This is happening only in Firefox Browser.

Style is hidding carret in RadComboBox.

 

.VastMasterNoCarret input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    text-shadow: none;
    -webkit-text-fill-color: initial;
    color: rgba(0,0,0,0) !important;
}

 

How can I fix it? By fix I mean stop openning in new tab.

Veselin Tsvetanov
Telerik team
 answered on 24 Jun 2016
1 answer
63 views

Is it possible to toggle column visibilty/editing on a grid with a declarative datasource?

We have a requirement to show/hide certain columns in tables we'd like to display using a RadGrid.

We also have a requirement to enable/disable the editing of certain columns in tables we'd like to display using a RadGrid.

There is a master table in the database that stores the tablename, columnname, visible (0 or 1), editable (0 or 1) data.

Is it possible to use the values in that master table to control which columns are visible/hidden and to enable/disable the editing of certain columns in a RadGrid that has a declarative datasource?

 

Konstantin Dikov
Telerik team
 answered on 24 Jun 2016
1 answer
397 views

when i bind grid without  ItemDataBound it bind fine. But when i use it , then it show the Exception of type 'System.OutOfMemoryException' was thrown. error.

Here is my code

   protected void griddetails_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
        {
            if (e.Item is GridDataItem)
            {
                griddetails.MasterTableView.RenderColumns[4].Display = false;
                griddetails.MasterTableView.RenderColumns[5].Display = false;
                griddetails.MasterTableView.RenderColumns[6].Display = false;
                griddetails.MasterTableView.RenderColumns[7].Display = false;

                griddetails.MasterTableView.RenderColumns[10].Display = false;
                griddetails.MasterTableView.RenderColumns[11].Display = false;
                griddetails.MasterTableView.RenderColumns[26].Display = false;
                griddetails.MasterTableView.RenderColumns[30].Display = false;
                griddetails.MasterTableView.RenderColumns[31].Display = false;
                griddetails.MasterTableView.RenderColumns[32].Display = false;

                //if (e.Item.RowIndex > -1)                                       // i comment this part but still not working
                //{
                RadComboBox ddlMT = new RadComboBox();
                ddlMT.ID = "ddlMT";
                   
                ddlMT.Filter = RadComboBoxFilter.Contains;
                ddlMT.DataSource = Bll.Bal_BindAllEmployeewithRole("ALL", Session["MTUseId"], e.Item.Cells[4].Text, e.Item.Cells[5].Text, "MT", null, null);
                ddlMT.DataTextField = "EmployeeName";
                ddlMT.DataValueField = "Empid";
                ddlMT.DataBind();
                e.Item.Cells[20].Controls.Add(ddlMT);

                RadComboBox ddlQA = new RadComboBox();
                ddlQA.ID = "ddlQA";
                   
                ddlQA.Filter = RadComboBoxFilter.Contains;
                ddlQA.DataSource = Bll.Bal_BindAllEmployeewithRole("ALL", Session["MTUseId"], e.Item.Cells[4].Text, e.Item.Cells[5].Text, "QA", null, null);
                ddlQA.DataTextField = "EmployeeName";
                ddlQA.DataValueField = "Empid";
                ddlQA.DataBind();
                e.Item.Cells[21].Controls.Add(ddlQA);

                RadComboBox ddlMT2 = new RadComboBox();
                ddlMT2.ID = "ddlMT2";
                  
                ddlMT2.Filter = RadComboBoxFilter.Contains;
                ddlMT2.DataSource = Bll.Bal_BindAllEmployeewithRole("ALL", Session["MTUseId"], e.Item.Cells[4].Text, e.Item.Cells[5].Text, "MT2", null, null);
                ddlMT2.DataTextField = "EmployeeName";
                ddlMT2.DataValueField = "Empid";
                ddlMT2.DataBind();
                e.Item.Cells[22].Controls.Add(ddlMT2);

                RadComboBox ddlQA2 = new RadComboBox();
                ddlQA2.ID = "ddlQA2";
                  
                ddlQA2.Filter = RadComboBoxFilter.Contains;
                ddlQA2.DataSource = Bll.Bal_BindAllEmployeewithRole("ALL", Session["MTUseId"], e.Item.Cells[4].Text, e.Item.Cells[5].Text, "QA2", null, null);
                ddlQA2.DataTextField = "EmployeeName";
                ddlQA2.DataValueField = "Empid";
                ddlQA2.DataBind();
                e.Item.Cells[23].Controls.Add(ddlQA2);

                RadComboBox ddlQC = new RadComboBox();
                ddlQC.ID = "ddlQC";
                  
                ddlQC.Filter = RadComboBoxFilter.Contains;
                ddlQC.DataSource = Bll.Bal_BindAllEmployeewithRole("ALL", Session["MTUseId"], e.Item.Cells[4].Text, e.Item.Cells[5].Text, "QC", null, null);
                ddlQC.DataTextField = "EmployeeName";
                ddlQC.DataValueField = "Empid";
                ddlQC.DataBind();
                e.Item.Cells[24].Controls.Add(ddlQC);

               
            }
            //}
        }
   
I think i am creating the control dynamic here it may be due to this. This code bind upto 971 records but after that it show error.

if there is another way to create it, tell me. I want to bind thru it server side not clientside bcoz it can't fullfill my need.

Eyup
Telerik team
 answered on 24 Jun 2016
3 answers
239 views

Hi

My DataForm displays data in edit mode just fine, with a selection of textboxs and RadDropDownList's.

The RadDropDownList bind via the RadDataForm1_ItemDataBound event.

 

But when I am in insert mode how do I populate/bind  my  RadDropDownList in code behind?

The ItemDataBound doesn't fire

 

Many Thanks

 

Mark

 

Eyup
Telerik team
 answered on 24 Jun 2016
1 answer
285 views

Hi

    I am using radscheduler, I need to  select multiple dates from the month view of scheduler, I would like to get start date and end date of my selection.

How is that possible in C#?

It is urgent therefore a quick response would be greatly appreciated.

Thanks

Ivan Danchev
Telerik team
 answered on 24 Jun 2016
1 answer
123 views

Hallo,
when I am use radgrid editmode=popup with a web user controll with insert action the template was displayed with empty field (no datarecord was bound).
For a better useibility I want to preset the template fields with default values. But how can I do this? To set the fields in the user control has no affect becaus it would be overitten after bounding to the empty insert record.

Harald

Eyup
Telerik team
 answered on 24 Jun 2016
1 answer
133 views

Is there some way to add a QueryString to the NavigateUrl parameter of a NavigationNode like ?ClientID=123

each node in my navigation needs to have the QS appended when the web form based on a master page that contains the <RadNavigation/> loads for a new client

I was thinking the codebehind of the .master could modify the NavigateUrl of each node?

david
Top achievements
Rank 1
 answered on 23 Jun 2016
1 answer
24 views

I have many telerik rad grids in my DNN project . It initialize with ability to have client side row selection with

<clientsettings>
      <Selecting AllowRowSelect="True" />
</clientsettings>

it is ok and in first load when my paging selector is on 10 object per grid selecting works fine , but when I change page size to 20 or 50 selecting suddenly stops working and I can not select row anymore . Can anyone help me with this ?

Pavlina
Telerik team
 answered on 23 Jun 2016
Narrow your results
Selected tags
Tags
+124 more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?