Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
69 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
93 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
111 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
166 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
142 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
87 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
80 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
514 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
3 answers
690 views
I'm stepping through my ASP.NET app (I didn't build it, but I'm supporting it), and all of the many references to things like RadCheckBox or RadControl seem to work perfectly well.

At the end I get an error in a very, very long script that Telerik seems to emit. There is an error in the middle of it, 'ID' variable cannot be found. It highlights 'e.detachEvents' every time, and a variable named 'ID' is nowhere close.

Any clue how I might side step this error? I hit continue and the app proceeds. And the error does not appear after deploying to the test server.

Thanks, Bob Sullentrup
Martin
Telerik team
 answered on 05 Dec 2012
1 answer
135 views
Hello.  I inherited an asp.net application that uses Telerik.Web.UI.
On this one particular page it uses asp:DropDownList that works in older browsers (i.e. Firefox 14), but the DDL would not expand in current version of Firefox, Chrome, IE.  Has anyone encountered this problem yet?
Any help is greatly appreciated.

-Hoi Pham

<telerik:RadGrid
    ID="uxRadGrid" runat="server"
    AllowPaging="True"
    AllowCustomPaging="True"
    AllowSorting="True"
    GridLines="None"
    VirtualItemCount="0"
    PageSize="1"
    OnNeedDataSource="uxRadGrid_NeedDataSource"
    AllowMultiRowSelection="True"
    AutoGenerateColumns="False"
    GroupingEnabled="False"
    OnDataBound="uxRadGrid_DataBound"
    OnItemCommand="uxRadGrid_ItemCommand"
    EnableViewState="true"
    OnItemDataBound="uxRadGrid_ItemDataBound"
    EnableEmbeddedSkins="false"
    ImagesPath="~/images/"
    onsortcommand="uxRadGrid_SortCommand"
    onselectedindexchanged="uxRadGrid_SelectedIndexChanged">

    <MasterTableView GridLines="None" RetrieveNullAsDBNull="true" AllowCustomSorting="true">
        <Columns>
            <telerik:GridClientSelectColumn UniqueName="uxSelectCheckBox" HeaderStyle-Width="25px" Visible="false" />

            <telerik:GridTemplateColumn
                HeaderText="DayPart"
                UniqueName="uxPlaylistDayPartCol"
                HeaderStyle-Width="85"
                HeaderStyle-ForeColor="White"
                HeaderStyle-VerticalAlign="Top">
                <ItemTemplate>
                    <asp:DropDownList ID="ddlTimeFrom" runat="server" Width="75" />
                </ItemTemplate>
            </telerik:GridTemplateColumn>

        </Columns>
    </MasterTableView>
</telerik:RadGrid>

Eyup
Telerik team
 answered on 05 Dec 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?