Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
184 views
Hi,

I am sure I am doing something wrong here.  

I throw Radmediaplayer onto a new web form of a new telerik website.  I set the source, files, mime types etc.  When I publish to IIS 6 it works great and video plays.  However if I open up a second browser and open the page this video instance won't play until I pause the mediaplayer from the first browser.  What am I doing wrong?


  • ASP.NET version (3.5)
  • OS (Win Server 2003)
  • exact browser version (Chrome Version 30.0.1599.101 m)
  • exact version of the Telerik product (2013.3.1015.35)
  • preferred programming language (VB.NET)

Chris-
Chris Hwa
Top achievements
Rank 2
 answered on 22 Oct 2013
4 answers
79 views
I can't get the lightbox to work.  My image is displayed but I can't click on it.  I must be missing something.  Here's the code:

    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

    <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>

    <asp:Image runat="server" ID="lightboxdemo" ImageUrl="~/pics/11046/main.jpg" Width="350px" />

    <telerik:RadLightBox ID="RadLightBox1" runat="server">
        <Items>
            <telerik:RadLightBoxItem ImageUrl="~/pics/11046/main.jpg" TargetControlID="lightboxdemo" Title="test" />
        </Items>
    </telerik:RadLightBox>

The links for features and overview at http://www.telerik.com/help/aspnet-ajax/lightbox-overview.html don't work.

Thanks!
Tom
Tom
Top achievements
Rank 1
 answered on 22 Oct 2013
2 answers
113 views
Hi , I'm using RadOrgChart along with RadToolTipManager.
Tooltip is working fine for all expanding and minimizing. But when I do drilldown of a OrgChart, its not adding the references to the targetcontrol. So tooltip is not working when I hover over the name. I added RadAjaxManager also. 
I didn't see any where people using RadOrgChart  DrillDown and RadToolTipManager at same time. I saw some tooltip reference updates, but nothing helped.
Can some one help me, how I can make it work.

Siddhartha
Top achievements
Rank 1
 answered on 22 Oct 2013
5 answers
84 views
Hi!

We are using a Telerik grid from RadGrid.Net2 and we have the following bug: when a filter returns no record, then the columns are hidden and only one column is visible.
I mention that:
- We want scroll bars and relative dimensions, I saw that the bug is only with TableLayout="Auto" and scroll bars. But if we change to Fixed, then it does not work well with Width="100%"
- We don't want du buy the latest version, because I tried the trial and it contains only Telerik.Web.UI, and not RadGrid.Net. Even our old Telerik.Web.UI controls don't work with their newest version!
 
<radG:RadGrid ID="grdOthers" runat="server" DataSourceID="odsOthers" AutoGenerateColumns="false" EnableAJAX="false"
            Width="99%" Height="20%" Skin="WebBlue"
            AllowPaging="false" AllowSorting="true" AllowAutomaticDeletes="true" AllowAutomaticUpdates="false"
            OnItemCommand="grdOthers_Item" OnItemCreated="grdOthers_ItemCreated" OnItemDataBound="grdOthers_ItemDataBound">
    <ClientSettings AllowColumnHide="true" AllowColumnsReorder="true">
        <Scrolling AllowScroll="true" ScrollHeight="100" UseStaticHeaders="true" />
    </ClientSettings>
    <MasterTableView DataSourceID="odsOthers" DataKeyNames="id_autres_activites" AllowFilteringByColumn="true" Width="100%" CommandItemDisplay="None" TableLayout="Fixed">
        <ExpandCollapseColumn Visible="False" />
        <RowIndicatorColumn Visible="False" />
        <NoRecordsTemplate>Aucune donnée à afficher</NoRecordsTemplate>
        <Columns>
            <radG:GridBoundColumn HeaderText="AQR" UniqueName="CodUtilColumn" DataField="txt_codUtil" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true" HeaderStyle-Width="5%" />
            <radG:GridBoundColumn HeaderText="Etablissement-Ville" UniqueName="EtablissementColumn" DataField="txt_etab" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true" HeaderStyle-Width="25%" />
            <radG:GridBoundColumn HeaderText="Code DQI" DataField="txt_codDqi" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true" HeaderStyle-Width="5%" />
            <radG:GridBoundColumn HeaderText="Nb jours" DataField="num_Nb_Jours" CurrentFilterFunction="EqualTo" AutoPostBackOnFilter="true" HeaderStyle-Width="5%" />
            <radG:GridBoundColumn HeaderText="Produit" DataField="txt_codCertif" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true" HeaderStyle-Width="5%" />
            <radG:GridBoundColumn HeaderText="Activité" DataField="txt_typActiv" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true" HeaderStyle-Width="5%" />
            <radG:GridBoundColumn HeaderText="Remarque" DataField="txt_remarque" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true" HeaderStyle-Width="48%" />
            <radG:GridBoundColumn UniqueName="AffectEtabXans" DataField="AffectEtabXans" Display="false" HeaderStyle-Width="0%" />
            <radG:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn" HeaderStyle-Width="1%" />
            <radG:GridButtonColumn ButtonType="ImageButton" UniqueName="DeleteColumn" CommandName="Delete" ConfirmText="Etes-vous surs?" Text="Supprimer" HeaderStyle-Width="1%" />
        </Columns>
    </MasterTableView>
</radG:RadGrid>

Thanks.
Viktor Tachev
Telerik team
 answered on 22 Oct 2013
2 answers
98 views
Is it possible to have custom actions with a RadContextMenu?  I am using a RadTreeView and if the user were to right click to get the RadContextMenu, it would allow them to add that selected item to their "favorites" (a value that we would store in the database?  This way when they load the application again it would have already loaded their favorites.
Kurt Kluth
Top achievements
Rank 1
 answered on 22 Oct 2013
1 answer
94 views
Greetings and salutations to you, RadEditor experts. Can anyone please help with the following problem?

  1. Open the RadEditor AJAX demo page with default settings.
  2. Clear the initial content (click in editor, Ctrl-A, delete).
  3. Enter at least two lines of text (type some letters, press Enter; repeat until satisfied)
  4. Select one line of text with the mouse (or several contiguous lines, but not all lines)
  5. Click the Indent button.
  6. In latest Firefox, all lines are now indented (incorrect), instead of only the selected line (correct). Same problem in Internet Explorer 8, 10.

Viewing the HTML source, we see a series of lines ending with <br /> tags. It appears that the indent function, not finding an immediate container tag for the selected lines (e.g. <p>), broadens its scope until the entire document is selected. Changing the newline mode from "Breaks" to "Paragraphs" does help, but that's not a great solution for clients who have come to expect the default behavior, or clients who are editing documents already edited in "Breaks" mode. We could write a custom indent function, but it would be nice not to have to reimplement this basic feature. Any ideas for low-impact workarounds, or perhaps intimations of a bugfix in an upcoming release?

THANK YOU for your valuable time (which I hope not to have wasted through ineptitude) and any advice that you might kindly provide.
Marin Bratanov
Telerik team
 answered on 22 Oct 2013
1 answer
88 views
Hi,
Is there any control in telerik that supports the following features for asp.net visualstudio 2010

-          Gantt view display of dynamic data
-          Drag and drop support
-          Plot nodes in the Gantt view in different colors.
-          Connecting nodes in the Gantt view

also req to know whether any demo version and user manual available for that ?

Marin Bratanov
Telerik team
 answered on 22 Oct 2013
2 answers
330 views
There's a nice demo that shows how to prevent the user from submitting dates when they are invalid AND required.  What is the suggested method of preventing the user from submitting (clicking save) when the field is not required, but must be valid if it is filled in?

I have seen some discussion but most are quite old and don't seem like very elegant solutions.
Gaurab
Top achievements
Rank 1
 answered on 22 Oct 2013
3 answers
74 views
I have implemented an OnClientSplitButtonClicking event handler on the client side, usign this i can call set_cancel(true) which prevents the button click event being fired.

However, it is still selecting the button as the selected button in the ribbonbar - i.e. it still updates the selected index of the split button itself.

Any ideas on how can i prevent this ?

I have tried adding client side handlers for OnClientButtonClicking, OnClientButtonToggling and OnClientSplitButtonClicking - but nothing else seems to allow me to cancel this.

Currently, i am having to reset the selection manually:

function OnSplitButtonClicking(sender, args) {
     args.set_cancel(true);
 
     var splitButton = findSplitButton("spbActions");
 
     if (splitButton != null)
       setTimeout(function () { splitButton.set_selectedButtonIndex(0); }, 0);
 
}
Kate
Telerik team
 answered on 22 Oct 2013
1 answer
98 views
I'm binding a RadGrid using a custom LINQ query in the NeedDataSource method in the .cs file.  However, there are two columns that I don't want to bind from that datasource, but instead from another List<int> of values called MemberIDs.

The MemberID would affect the left-most column, which either contains a link button that says "Match", or, different link button that would say "Expand".  The "Match" link button should only be displayed if there does not exist a corresponding value in the List<int> MemberIDs for that row's databound record's own MemberID field, otherwise it should display the "Expand" link button which when clicked would open a child RadGrid.

I would like to either be able to raise an event upon the cell creation of that column for that row, and set the appropriate link button in that event's method, or do it in the NeedDataSource event of the RadGrid.  I'm not sure which would work or be better.  Is it possible to have such an event upon cell creation, and be able to check that row's databound record's MemberID keyfield from that event?  If so, what's the name for such an event?

The second thing I need to figure out is that in the expand/collapse column of the RadGrid, I want the angle bracket '<' for expanding a child RadGrid to appear and be clickable, only when the condition for displaying the "Expand" link button (described above) is matched, but if the condition for the "Match" link button is met, then I either don't want to display the angle bracket '<' or make it not be clickable.

Is there a good way to set this up?

Also, is it possible for the "Expand" link button to raise the same event as the angle bracket '>' expand button, i.e., 'e.CommandName == "ExpandCollapse"'?

Thanks for any help possible!
Angel Petrov
Telerik team
 answered on 22 Oct 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?