Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
120 views

Hi all

3 questions

1- is it possible to put image as background when playing audio (Background change with file as poster)

2- delay play with playlist

put some delay between each file (delay is variable each time)

3-repeat certain times

put a text indicate the number of repeat (repeat play ex 3 times for each file)

 

thank you

Eyup
Telerik team
 answered on 11 Sep 2015
1 answer
114 views

Hi,

 

I have a Vertical RadMenu on master page that gets populated from a sitemap. I am using the Silk skin as the base skin with my own color modifications.

I want to use it as a NotificationMenu.

Example: People can add products by using a project registration Page. ProductRegistration.aspx. At the Menu Item there will be an Item called "New Products Registered". I want to add onto this menu item a type of count indicator (with small gray circle background ) that Counts the New Products out of the database table and displays it on the menu item. Of course if you click on the menuItem you must be redirected to the Page containing list of new products added (Radgrid)

 

Is there a better control to use or a better way to do this?

 

 <telerik:RadMenu ID="NotificationsMenu" runat="server" item DataSourceID="smNotificationsMenu" EnableEmbeddedSkins="False" 
                                    RenderMode="Lightweight" Skin="LeftMenuSkin"
                                    ShowToggleHandle="True" Flow="Vertical">

 

 

Kind Regards

Magdalena
Telerik team
 answered on 11 Sep 2015
1 answer
78 views

Hi,

I have problem with visual studio ultimate 2013, when I was move bottun up then all my objects are disappear in design view but still I have code in source view.

I post picture that is what look like when I go to design view, all object are dissappear and also when I do view browser not show the objects, anybody can help me please.

Thank you.

 

Pavlina
Telerik team
 answered on 11 Sep 2015
1 answer
60 views

Hi, i have a RadDatePicker in EditForm in RadGrid.

The column in RadGrid consist of EditButtonColumn, Name, StartDate, EndDate.

when i click Edit, it shows error:

Sys.WebForms.PageRequestManagerServerErrorException: Specified cast is not valid.

I assume this is because the value StartDate and EndDate is empty/null.

my code to assign the value to RadDatePicker is like this:

<telerik:RadDatePicker ID="radStartDate" runat="server" Culture="en-US" TabIndex="8" Skin="MetroTouch" SelectedDate='<%# Bind("StartDate") %>'>
    <Calendar ID="Calendar1" runat="server">
        <SpecialDays>
            <telerik:RadCalendarDay Repeatable="Today" ItemStyle-BackColor="Yellow">
            </telerik:RadCalendarDay>
        </SpecialDays>
    </Calendar>
    <DateInput DisplayDateFormat="d/M/yyyy" DateFormat="d/M/yyyy" LabelWidth="40%" TabIndex="6">
    </DateInput>
</telerik:RadDatePicker>
 
<telerik:RadDatePicker ID="radEndDate" runat="server" Culture="en-US" TabIndex="9"  Skin="MetroTouch" SelectedDate='<%# Bind("EndDate") %>' >
    <Calendar ID="Calendar2" runat="server">
        <SpecialDays>
            <telerik:RadCalendarDay Repeatable="Today" ItemStyle-BackColor="Yellow">
            </telerik:RadCalendarDay>
        </SpecialDays>
    </Calendar>
    <DateInput DisplayDateFormat="d/M/yyyy" DateFormat="d/M/yyyy" LabelWidth="40%" TabIndex="6">
    </DateInput>
</telerik:RadDatePicker>

How to set RadDatePicker, when there's no value, shows no error. And if there's a value, the value of StartDate and EndDate will set to TextField and SelectedDate in RadDatePicker 

 

Thank you very much

Viktor Tachev
Telerik team
 answered on 11 Sep 2015
1 answer
378 views

Hi, i have a RadDatePicker in EditForm in RadGrid.
The column in RadGrid consist of EditButtonColumn, Name, StartDate, EndDate.
when i click Edit, it shows error:

Sys.WebForms.PageRequestManagerServerErrorException: Specified cast is not valid.


I assume this is because the value StartDate and EndDate is empty/null.

my code to assign the value to RadDatePicker is like this:

<telerik:RadDatePicker ID="radStartDate" runat="server" Culture="en-US" TabIndex="8" Skin="MetroTouch" SelectedDate='<%# Bind("StartDate") %>'>
    <Calendar ID="Calendar1" runat="server">
        <SpecialDays>
            <telerik:RadCalendarDay Repeatable="Today" ItemStyle-BackColor="Yellow">
            </telerik:RadCalendarDay>
        </SpecialDays>
    </Calendar>
    <DateInput DisplayDateFormat="d/M/yyyy" DateFormat="d/M/yyyy" LabelWidth="40%" TabIndex="6">
    </DateInput>
</telerik:RadDatePicker>
 
<telerik:RadDatePicker ID="radEndDate" runat="server" Culture="en-US" TabIndex="9"  Skin="MetroTouch" SelectedDate='<%# Bind("EndDate") %>' >
    <Calendar ID="Calendar2" runat="server">
        <SpecialDays>
            <telerik:RadCalendarDay Repeatable="Today" ItemStyle-BackColor="Yellow">
            </telerik:RadCalendarDay>
        </SpecialDays>
    </Calendar>
    <DateInput DisplayDateFormat="d/M/yyyy" DateFormat="d/M/yyyy" LabelWidth="40%" TabIndex="6">
    </DateInput>
</telerik:RadDatePicker>


How to set RadDatePicker, when there's no value, shows no error. And if there's a value, the value of StartDate and EndDate will set to TextField and SelectedDate in RadDatePicker 

Thank you very much
Viktor Tachev
Telerik team
 answered on 11 Sep 2015
1 answer
100 views

Hi Telerik,

               I have a Problem With the Export to excel. In my case, I created the multiple radgrids dynamically from Code - behind and add it into the Placeholder. I have enabled the default Export to excel button for all grids. I haven't use any ajax panels, but I use Update panel. When i click the default Export to excel button, all grids are invisible and excel did not generated.

 Code:

   Dim dset As DataSet
        Dim col_count As Integer

        For i As Integer = 0 To c - 1

            Dim radgrid1 As New Telerik.Web.UI.RadGrid
            radgrid1.ID = "RadGrid" & i
            radgrid1.ExportSettings.Excel.Format = GridExcelExportFormat.Html
            radgrid1.MasterTableView.CommandItemDisplay = GridCommandItemDisplay.Top
            radgrid1.MasterTableView.PageSize = "10"
            radgrid1.MasterTableView.CommandItemSettings.ShowExportToExcelButton = True
            radgrid1.MasterTableView.DataKeyNames = New String() {"employee_id"}
            radgrid1.ExportSettings.ExportOnlyData = True

            radgrid1.ExportSettings.FileName = Pub_dset.Tables("tblCount").Rows(i).Item("sub_heading")
            radgrid1.MasterTableView.Caption = "Sub Heading - " & Pub_dset.Tables("tblCount").Rows(i).Item("sub_heading")
            radgrid1.AutoGenerateColumns = False
            radgrid1.ClientSettings.ClientEvents.OnCommand = "onRequestStart('this')"
            dset = DAL.details(9, 4, "", "", "", 0, 0, 0, CDate(Now), CDate(Now), CDate(Now), "", "", "", 0, "", "", 0, 0, i, "", 0, "", 0, 0, "", 0, CDate(Now), "tblBind")
            col_count = dset.Tables("tblBind").Columns.Count
            col_count = dset.Tables("tblBind").Columns.Count

            For j As Integer = 0 To dset.Tables("tblBind").Columns.Count - 1
                Dim Bcol As New GridBoundColumn
                Bcol.DataField = dset.Tables("tblBind").Columns(j).ColumnName
                Bcol.UniqueName = dset.Tables("tblBind").Columns(j).ColumnName
                Bcol.HeaderText = dset.Tables("tblBind").Columns(j).ColumnName
                Bcol.ShowFilterIcon = True
                Bcol.AllowFiltering = True
                Bcol.AllowSorting = True
                Bcol.ItemStyle.Wrap = False
                radgrid1.MasterTableView.Columns.Add(Bcol)
                If Bcol.UniqueName = "employee_id" Or Bcol.UniqueName = "emp_no" Then
                    radgrid1.MasterTableView.GetColumn(Bcol.UniqueName).Display = False
                End If
                If Bcol.DataField = "emp_name" Then
                    Bcol.HeaderText = "Employee Name"
                End If
            Next
            radgrid1.DataSource = dset.Tables("tblBind")

            radgrid1.Rebind()
            PlaceHolder1.Controls.Add(radgrid1)
            PlaceHolder1.Controls.Add(New LiteralControl("<br><br>"))
        Next

 

Please help me resolve this...

its very urgent...

Eyup
Telerik team
 answered on 11 Sep 2015
1 answer
114 views

Hello

      I need to set the item cell read only in batch edit mode. I found a solution that handles the OnBatchEditOpening event at client side. But this property is not supported because the telerik version is 2013.02.0611.40. And I cannot update it by myself due to corporation's manner. Is there any other way to achieve my requirement?

Thanks.

Best regards

Zhang Rui

Eyup
Telerik team
 answered on 11 Sep 2015
6 answers
322 views
Does the Grid has any client side API for column resizing using javascript?
Eyup
Telerik team
 answered on 11 Sep 2015
1 answer
106 views

So there shouldn't be too much going on in the page I'm having the issue with.

 The cause of this issue was a recent upgrade to the latest (or close to) telerik dlls. Prior to that this issue was not occurring and no code has changed other than the telerik upgrade. We are using DotNetNuke as well.

 Basically, there is an asp:panel that contains a few search filters, namely an id search textbox field. When the search button is clicked, the value of the textbox is read and the panel's Visible property is set to false and another panel's visibility is set to true (to show the results). The user may click a "return" button which does another post back that sets the initial panel's visibility back to true and the results panel back to false.

 After this happens the RadTextBox that contains the id search will continually postback the previous search value even though the user had entered something else. The textbox is clearly posting the correct value when inspected with chrome's debugging tools (via network request capture you can view the form data).

 To verify this is specific to RadTextBox, I replaced the control with a normal asp:TextBox with no other changes and it worked properly as expected.

 Can I get some guidance as to what may be going wrong here? I've done hours of debugging and trying different things and have not figured out the cause.

Angel Petrov
Telerik team
 answered on 11 Sep 2015
2 answers
71 views

Hi Everyone,

 I have an old application that I'm supposed to bring forward into the modern world.  It was written using VS 2003 back in about 2004 and has never progressed beyond that point.  It utilizes the radgrid, radinput, radpanelbar, radtabstrip, radtreeview, and radupload components from the version that telerik had way back then.  I don't have the install materials or anything like that - just the DLLs in the bin folder.  I'm hoping that there is a way to continue to use them in VS 2013 because otherwise I'm going to have to rewrite a lot of the application!

 I've created a VS 2013 project and imported all the code - plus added the references to the RAD objects.  Unfortunately when I try to compile - I get an error that the "type or namespace name 'Telerik' could not be found (are you missing a using directive or an assembly reference?)".  Looking at the first page throwing the error I see that "using Telerik.WebControls" is the issue.  That namespace is defined in the various rad controls that I have reference to, so I'm not sure why it isn't working.  Has anyone else tried anything like this and been successful?

 Thanks!

Cory Aston

Viktor Tachev
Telerik team
 answered on 11 Sep 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?