Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
145 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
97 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
59 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
481 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
542 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
116 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
1 answer
146 views

Hi,

I need to build a photograph competition page that has a RadTabStrip which I add tabs to for each competition. Each tab contains a user control, that has a RadListView to view the member's entries and two buttons, for uploading and deleting entries.

I am having difficulty with the ItemDataBound & NeedDataSource events in the RadListView. I am not sure what to do and would appreciate it if someone could steer me in the right direction.

Kind regards,
Pierre

Eyup
Telerik team
 answered on 05 Dec 2012
1 answer
73 views

Hi,

 

I am  facing an issue with our application, the checkbox inside the Telerik  Radgrid in our application is not unchecking when it is clicked first time (as per the business logic the  grid will be loaded as few rows checked. And this issue occurring only in this scenario).  But it is unchecking on the second time clicked.  This issue we got after migrating the  application from .Net 3.5 to 4.0.

In our 3.5 application  grid is working fine in the above said scenario. we have  tried with  4.0 Telerik and Spring DLL ‘s, still we are facing the same issue.

 

Please suggest us on what we can do  to rectify the Telerik Control issue.

Andrey
Telerik team
 answered on 05 Dec 2012
3 answers
194 views
Hello,

I used the following code to generate items inside a RadComboBox

<telerik:RadComboBox ID="SearchComboBox" runat="server" Skin="Office2007">
   <ItemTemplate>
      <%# DataBinder.Eval(Container.DataItem,"Name") %>
   </ItemTemplate>
</telerik:RadComboBox>

SearchComboBox.DataSource = dataTable;
SearchComboBox.DataTextField = "Name";
SearchComboBox.DataValueField = "ID";
SearchComboBox.DataBind();

My problem is it seems that any items inside the <ItemTemplate> tag does not inherit or use the css styles defined on RadComboBox's Skin attribute. The items are generated but there's no background color changes (onmouseover) on the items.

is there a way for the items to be able to use the defined skin?

Thanks
Ivan Zhekov
Telerik team
 answered on 05 Dec 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?