Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
41 views
In the Telerik documentation, the word "changed" is used ambiguously which results in a lack of clarity and concision. Here's an example of what I mean.  What does the following (hypothetical) sentence mean?

THE ROW HAS CHANGED.

Does it mean that focus has moved to a different row?  Or that the row has been modified?

How about the following event name:

RowChanging

Does it mean we are moving to a different row or that the row is undergoing modification?

It is difficult to know which meaning is intended; either meaning can make sense in context. In Windows control programming, we are working with a GUI paradigm where events can be triggered by focus moving elsewhere, but we are also working with an object-oriented paradigm where events are triggered when the underlying data objects undergo modification.  So it is very important to have clarity when speaking about "change" as it relates to data-driven GUI controls, where these two paradigms coincide.  

Tim R
Top achievements
Rank 1
 asked on 05 Dec 2012
1 answer
25 views
Hi Team,

in my application i have more css files. so i added editor in one page with ajax modol poup extender,
wheneve i open the popup radeditor width and hight is not setting correctly. due to this issue i can' see the data's in there.


Rumen
Telerik team
 answered on 05 Dec 2012
1 answer
58 views
Hi Team,

in my application i have more css files. so i added editor in one page with ajax modol poup extender,
wheneve i open the popup radeditor width and hight is not setting correctly. due to this issue i can' see the data's in there.


Rumen
Telerik team
 answered on 05 Dec 2012
1 answer
71 views
Hi,

I'm currently trying to upgrade a web application that is already using telerik asp.net ajax controls with a 2009 version.

The application is working on IE9 with IE7 compatibility mode activited in the web.config file.

The thing is that when i'm trying to upgrade that version to the 2012 Q3 version for each pages that i'm having RadTabStrip or RadMenu on top of the pages, the following items aren't rendered correctly. When i remove one of the controls my page is rendered correctly after that.

Is there any change with the style stuff since the 2009 version or other thing that I should be looking at that might help?

Also in some case the WebResource.axd is not visible to the apllied style of any following controls (controls after RadMenu and/or RadTabStrip), but after removing the control from the pages all the WebResource style are applying correctly.

Thx for your help,

Guillaume
Kate
Telerik team
 answered on 05 Dec 2012
1 answer
89 views
I am using a RadGrid w/ GridClientSelectColumn inside a RadWindow w/ ContentTemplate.  If I place this RadGrid outside of the RadWindow - the ._selectAllRows event works as expected.  But inside the ContentTemplate - it is not finding the reference to the RadGrid - instead throwing this error:

  1. Uncaught TypeError: Cannot call method 'get_element' of null ScriptResource.axd:5723
    1. Telerik.Web.UI.RadGrid._selectAllRowsScriptResource.axd:5723
    2. onclick

This is the checkbox code that is automatically rendered in the header to allow you to select all:

<input id="wSaveOptions_C_gUnbilledOrders_ctl01_ctl09_ctl01_ClientSelectColumnSelectCheckBox" type="checkbox" name="wSaveOptions$C$gUnbilledOrders$ctl01$ctl09$ctl01$ClientSelectColumnSelectCheckBox" onclick="$find(&quot;wSaveOptions_C_gUnbilledOrders&quot;)._selectAllRows(&quot;wSaveOptions_C_gUnbilledOrders_ctl00&quot;, &quot;&quot;, event);" />

Oddly, if I write my own routine to deal with it, it works fine:

function selectAll()
{
    var masterTable = $find('<%= gUnbilledOrders.ClientID%>').get_masterTableView();
    masterTable.selectAllItems();
}
 
function clearAll()
{
    var masterTable = $find('<%= gUnbilledOrders.ClientID%>').get_masterTableView();
    masterTable.clearSelectedItems();
}

which is rendered as

function selectAll()
{
    var masterTable = $find('wSaveOptions_C_gUnbilledOrders').get_masterTableView();
    masterTable.selectAllItems();
}
 
function clearAll()
{
    var masterTable = $find('wSaveOptions_C_gUnbilledOrders').get_masterTableView();
    masterTable.clearSelectedItems();
}

Am I doing something wrong?  Can I not have a SelectColumn RadGrid in a RadWindow ContentTemplate?

Using the latest normal release Q3-2012
Eyup
Telerik team
 answered on 05 Dec 2012
2 answers
144 views

I wonder would it be possible when a listveiw is rendered as a list of checkboxes, add an option to display Select/Deselect All checkbox at the top of the list? It could separated by a horizontal line.
E.g.

Select/Deselect All
---------------------
Checkbox 1
Checkbox 2
Checkbox 3
Checkbox 4
...

miksh
Top achievements
Rank 1
Iron
 answered on 05 Dec 2012
1 answer
94 views
Hi!

I have a grid with multiple cell selection enabled - CellSelectionMode="MultiCell".

It works great when I select multiple cells. But when I right click on one of the selected cells to bring up a context menu then all cells will be deselected except the on that I right click.

I want all selected cells to stay selected when I right click on a selected cell. Is it possible to cancel the deselecting in this case?

Thanks
/Mats
Mats
Top achievements
Rank 1
 answered on 05 Dec 2012
1 answer
71 views
Hi Team,

i have two questions here,
1 .i would like to have one binded dropdownlist (rad or normal) in hyperlink manager for that i customized Linkmnager.ascx file, but i am not  able to make database connection to fill the dropdown, can you please telll me how to have the bind dropdown list in hyperlink manager ? do i have write any custom script for that ?
 my requirement is lke below.





2 sometime my hyperlink manager is not rendering correctly.please have a look



what should i do to fix the rendering issue ?

Thanks & Regards,
Saravanan

Rumen
Telerik team
 answered on 05 Dec 2012
1 answer
57 views
I see a number of posts here and elsewhere about problems with the RadEditor control and the required field validator.

In my current project I have a RadEditor control on both the header and detail template popup of a RadGrid.  The RadGrid (and it's code behind) are relatively conventional, derived from Telerik's on-line demos.  It appears at present that the required field validator will fire on insert but not when editing an existing record.  

Has anyone else had problems like this?
Rumen
Telerik team
 answered on 05 Dec 2012
1 answer
479 views

Heely Guys

Story: I have a strange error when I try to save something I got this error message ( An entity object cannot be referenced by multiple instances of IEntityChangeTracker.)
I really don’t know what that is and why is it appear, it appears only when I try to save something my insert and update is working, only when I try to save something in db from my grid



if (this.annualVacationList != null)
      {
          List<AnnualVacation> vacationToSave = this.annualVacationList;
          IEnumerable<AnnualVacation> existing = paramUser.AnnualVacations;
          foreach (AnnualVacation toSave in vacationToSave)
          {
              AnnualVacation existingItem = existing.Where(x => x.AnnualVacationId == toSave.AnnualVacationId).SingleOrDefault();
              if (existingItem == null)
              {
                  ctx.AddToAnnualVacations(toSave);
              }
              else
              {
                  existingItem.FromDate = toSave.FromDate;
                  existingItem.ToDate = toSave.ToDate;
                  existingItem.WorkingTime = toSave.WorkingTime;
                  existingItem.VacationDays = toSave.VacationDays;
              }
          }
      }
      ctx.SaveChanges();
  }

After debugging I have seen that the code brake down in the Project.Name.Designer.cs ..... O.o


public void AddToAnnualVacations(AnnualVacation annualVacation)
   {
       base.AddObject("AnnualVacations", annualVacation);
   }




Maria Ilieva
Telerik team
 answered on 05 Dec 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
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
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?