Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
107 views
Hi,

I am using RadCaptcha with audio, but I get warning message in IE 'The webpage wants to run the following add-on: 'Windows Media Player' from 'Microsoft Corporation''. I get same message when I go to telerik RadCaptcha online demo. Checked on multiple computers, and in IE 8, 9, 10 get same warning. Please, help.
Marin Bratanov
Telerik team
 answered on 17 Jul 2013
1 answer
186 views
Hi,

  We are having a custom label control, which is having a Rad tool tip as it's child control. When the control is rendered in page, it is rendered as below,

<span class="aspLabelWithoutFocus" id="SV_704d8aa8-7ffb-4904-8ac0-1715793d4b89_ctl01_OnFocusEvents">

<div style="display: none; position: absolute;" id="SV_704d8aa8-7ffb-4904-8ac0-1715793d4b89_ctl01_OnFocusEvents_RadTooltip1" class="tooltipStyle">

 <input id="SV_704d8aa8-7ffb-4904-8ac0-1715793d4b89_ctl01_OnFocusEvents_RadTooltip1_ClientState" name="SV_704d8aa8-7ffb-4904-8ac0-1715793d4b89_ctl01_OnFocusEvents_RadTooltip1_ClientState" type="hidden" autocomplete="off">

</div>

<span class="aspLabelWithoutFocus" onmouseover="this.className='cssClassMouseOver'" onmouseout="this.className='aspLabelWithoutFocus'"></span>

</span>




  After this if we try to update the lable text from jquery. It is updated successfully, but if we have a post back after that, when the page is reloaded we get a javascript  error as "Two components with same id<RadToolRip's id> cannot be added" .

  This control is being rendered within update panel. Please help us in resolving this issue.
Marin Bratanov
Telerik team
 answered on 17 Jul 2013
1 answer
75 views

Hello,

i am using telerik time picker in asp.net application.

i am using this syntax to save time picker data in database

 timein.text;

but its not giving me Text Property in time picker. 

and also giving me this error

'Telerik.Web.UI.RadTimePicker' does not contain a definition for 'text' and no extension method 'text' accepting a first argument of type 'Telerik.Web.UI.RadTimePicker' could be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\Administrator\Desktop\Server\Attendance System\Attendance\ShiftDefine.aspx.cs 116 36 Attendance

can u provide me a Syntax

Thanks



Shinu
Top achievements
Rank 2
 answered on 17 Jul 2013
2 answers
64 views
Hi all Is it possible to use the export to excel and export to pdf buttons, with other fucntions.

i want to deactivate the expor excel funtion and pdf, and use my own?

is it possible??

Best Regards.
Carlos
Top achievements
Rank 1
 answered on 17 Jul 2013
1 answer
150 views
Hi,

I'm getting a JScript error when trying to add an .html template to the RadEditor content area using the Template Manager. I am implementing the Azure Custom Content Provider from CodePlex. The Image Manager works fine, but the Template Manager throws a JScript error. It happens inside the httpHandler - Telerik.Web.UI.DialogHandler.aspx file. It appears the script is trying to access html elements which not have been created yet, perhaps the .html template itself. Any help would be greatly appreciated! [Screenshot attached].

Thank you!

Randy Sullivan
Ianko
Telerik team
 answered on 17 Jul 2013
4 answers
176 views
Hi,
I have a grid that is using the batch edit mode and for all of the other non rating columns everything works correctly. Clicking the cell puts it into edit mode, and the changes are saved. I have one column that is a GridRatingColumn. I have it set to allow rating in view mode but this does not seem to make a difference to the outcome, which is that clicking the rating cell or the rating control does not put that cell into edit mode.

I have tried fumbling around with some client side code, but there are no sensible examples on your site just part of a single page. I can;pt get this to work.

Do you have a way around this please?

Thanks

Chris


Chris
Top achievements
Rank 2
 answered on 17 Jul 2013
1 answer
83 views
Hi,

I have a scheduler bound to a sql server database. When double-clicking an appointment, and selecting edit only this occurrence, the description field is available and we enter text there. Server side we are trying both of these approaches but no values are present. Please let us know what we are doing wrong here.

 Protected Sub RadScheduler1_AppointmentUpdate(ByVal sender As Object, ByVal e As AppointmentUpdateEventArgs) Handles RadScheduler1.AppointmentUpdate

       
Dim ret As String = e.ModifiedAppointment.Description

    

            ret = e.Appointment.Attributes.Item("Description")

     

    End Sub

Kate
Telerik team
 answered on 17 Jul 2013
1 answer
413 views

I have used the follwing code for my sorting in load data on demand in telerik grid.I have used SortBy as Name,Orderby as Descending by default.While pageload,it loads the descending order with name correctly.If i click on the Name header,it will sort ascending correctly.If again i click on the header text it doesnt set the Orderby value as ascending (as previous value).What I have to do for that?

protected void RadGrid1_SortCommand(object sender, GridSortCommandEventArgs e)
    {
        GridSortExpression sortExpr = new GridSortExpression();
        e.Canceled = true;
        string defaultSortorder = e.OldSortOrder.ToString();
        sortBy = ViewState["SortBy"].ToString();
        orderBy = ViewState["OrderBy"].ToString();

        switch (e.OldSortOrder)
        {
            case GridSortOrder.Ascending:
                sortExpr.FieldName = e.SortExpression;
                sortExpr.SortOrder = GridSortOrder.Descending;
                e.Item.OwnerTableView.SortExpressions.AddSortExpression(sortExpr);
                ViewState["sortBy"] = sortExpr.FieldName;
                ViewState["orderBy"] = sortExpr.SortOrder;

                break;
            case GridSortOrder.Descending:
                sortExpr.FieldName = e.SortExpression;
                sortExpr.SortOrder = GridSortOrder.Ascending;
                e.Item.OwnerTableView.SortExpressions.AddSortExpression(sortExpr);
                ViewState["sortBy"] = sortExpr.FieldName;
                ViewState["orderBy"] = sortExpr.SortOrder;
                break;

        }

        if (!e.Item.OwnerTableView.SortExpressions.ContainsExpression(e.SortExpression))
        {
            GridSortExpression sortExpr1 = new GridSortExpression();
            sortExpr1.FieldName = e.SortExpression;
            sortExpr1.SortOrder = GridSortOrder.Ascending;
            e.Item.OwnerTableView.SortExpressions.AddSortExpression(sortExpr1);
            ViewState["sortBy"] = sortExpr1.FieldName;
            ViewState["orderBy"] = sortExpr1.SortOrder;
        }

        
       
    }

Margret
Top achievements
Rank 1
 answered on 17 Jul 2013
1 answer
71 views
Hi,

I want to get value of each row in the RadGrid_ItemCreated Event. How to get Values of each row in this event?

Note: I don't want to use RadGrid_ItemDataBound event.
Jayesh Goyani
Top achievements
Rank 2
 answered on 17 Jul 2013
1 answer
140 views
So i'm having a problem with displaying a raddock. This does not happen every time but it happens enough to warrant some looking into. The pictures below explain it all, somehow the css just gets messed up.  I have to force a refresh from the server to get the controls to re-render properly. I also have validated the page with W3C and there are no outstanding issues.

Here is the code i use to display the docks:
			
<div id="f_body_box">
<input type="hidden" name="dirtyRows" value="~" />
<telerik:RadDockLayout ID="FormBodyDockZone" runat="server" StoreLayoutInViewState="True">
<telerik:RadDockZone ID="FormDockZoneRight" runat="server" Width="45%" Style="float: right" Height="100%" BorderStyle="None">
</telerik:RadDockZone>
<telerik:RadDockZone ID="FormDockZoneLeft" runat="server" Width="45%" Height="100%">
</telerik:RadDockZone>
</telerik:RadDockLayout>
</div>

Here is the code i use to create the dock:

// Create the dock control and add it to the layout
RadDock dock = new RadDock()
{
    DockMode = DockMode.Docked,
    ID = groupID.ToString(),
    Title = (from row in data.Tables[0].AsEnumerable() where row.Field<int>("group_id") == groupID select row.Field<string>("group_nm")).FirstOrDefault(),
    EnableAnimation = true,
    DefaultCommands = Telerik.Web.UI.Dock.DefaultCommands.ExpandCollapse,
    Skin = "Windows7",
};
dock.ContentContainer.Controls.Add(group);
 
// Add the dock to the alternating controls
if (i % 2 == 0)
{
    FormDockZoneLeft.Controls.Add(dock);
}
else
{
    FormDockZoneRight.Controls.Add(dock);
}

Dobromir
Telerik team
 answered on 17 Jul 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?