Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
112 views
PDF documents do not auto-check-in when using the document uploader functionality with the RAD editor and SharePoint2007

Hello
 I am hoping someone can shed some light on this issue.  We are currently using the RAD Editor tool for our Intranet (Currently on SharePoint 2007), but there is one rather large issue with the document uploader functionality.  For some reason, .PDF document are not auto checking-in when uploaded with the document uploader.  All other file formats (.doc, .ppt, xls) do not have this issue.  I am trying to determine what is causing this issue and how it can be resolved.  Any help would be greatly appreciated.

Many Thanks,
Jared
Stanimir
Telerik team
 answered on 29 Jul 2011
12 answers
219 views

When using the RadFormDecorator I have problems setting the focus to the main control on a page. The problem seems to be in IE 8 because Firefox works correctly. Does anyone have a fix or a workaround?

 

Thanks

Niko
Telerik team
 answered on 29 Jul 2011
1 answer
121 views
hi in my website 80% controls Telerik Asp.Net Ajax controls
RadAjaxPanel
RadTree
RadGrid
RadTab
RadPanelBar

but if i click any server side controls its taking long time to complete operation
How to make my website faster




Shinu
Top achievements
Rank 2
 answered on 29 Jul 2011
14 answers
217 views
Hey!

I am using RadRating inside listView here is the code:

<asp:ScriptManager ID="ScriptManager" runat="server"></asp:ScriptManager>

<asp:ListView ID="lstTweets" runat="server" ItemPlaceholderID="ListViewContainer"
        OnItemDataBound="LstTweets_ItemDataBound" 
        onpagepropertieschanged="LstTweets_PagePropertiesChanged">

<ItemTemplate>
<fieldset>
<telerik:RadRating ID="rtgRank" runat="server" AutoPostBack="true" OnRate="rtgRank_Rate" />
</fieldset>
</ItemTemplate>


</asp:ListView>

When I click the event fires and everything, but sender of event has value and other attributes set to default value (0), no mather what I click. And when the event finishes, the value of RadRating isn't where I clicked.

Sincerely, Jure
Niko
Telerik team
 answered on 29 Jul 2011
2 answers
107 views

Greetings,

 

I'm currently using radEditor (Version 2011.1.519.3) to build a chat application. To obtain the desired user experience, i have been able to reproduced the two suggested approaches on this link: http://www.telerik.com/community/forums/aspnet/editor/can-you-disable-multiline-on-telerik-radeditor.aspx

 

It's everything working well, the problem is in ie6. I'm not able to make it work in ie6 because it keeps inserting a newline everytime i press the enter key.

 

Can you provide some help?

Filipe Peixinho
Top achievements
Rank 1
 answered on 29 Jul 2011
2 answers
406 views
Hello,

I have a RadTabStrip and I want to refresh a RadGrid when I change the selected tab.
My problem is that the Grid isn't in the TabStrip.

I have test this, and it doesn't work :
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadTabStrip1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>

Can you help me please?

Thanks.
Donatien
Top achievements
Rank 1
 answered on 29 Jul 2011
2 answers
218 views
Hi,

I am loading a grid with data and attaching to the SelectedIndexChanged event. When the grid is loaded I want to select the first row and have the code in the SelectedIndexChanged handler run. The only way I can manage this is to explicitly call the handler.

My C# code is as follows:

protected void grdTicket_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
{
    DataSet ds = new DataSet();
    DataTable dt = new DataTable();
    dt.Columns.Add("UserId");
 
    for (int i = 0; i < 15; i++)
    {
        DataRow dr = dt.NewRow();
        dr["UserId"] = "XYZ" + i.ToString();
        dt.Rows.Add(dr);
    }
 
    ds.Tables.Add(dt);
    grdTicket.DataSource = ds;
}
 
protected void grdTicket_PreRender(object sender, EventArgs e)
{
    RadGrid grid = sender as RadGrid;
 
    if (grid.MasterTableView.Items.Count > 0)
    {
        if (grid.SelectedIndexes.Count == 0)
        {
            //grid.SelectedIndexes.Add(0);
            grid.MasterTableView.Items[0].Selected = true;
 
            // This just feels dirty!!
            // Why doesn't the event fire when I set the row's Selected property
            grdTicket_SelectedIndexChanged(sender, null);
        }
    }
}
 
protected void grdTicket_SelectedIndexChanged(object sender, EventArgs e)
{
    RadGrid grid = sender as RadGrid;
    int index = Convert.ToInt32(grid.SelectedIndexes[0]);
    lblSelectedIndex.Text = "Selected index = " + index;
}

and my HTML is:

<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<telerik:RadGrid ID="grdTicket" runat="server" AutoGenerateColumns="false" Width="946px"
    Font-Names="Verdana" Font-Size="x-small" EnableViewState="true" AllowSorting="true"
    AllowPaging="true" AllowMultiRowSelection="false" OnNeedDataSource="grdTicket_NeedDataSource"
    OnPreRender="grdTicket_PreRender" OnSelectedIndexChanged="grdTicket_SelectedIndexChanged">
    <ClientSettings EnablePostBackOnRowClick="True">
        <Selecting AllowRowSelect="True" />
    </ClientSettings>
    <MasterTableView Width="100%" NoDetailRecordsText="No Records To Display">
        <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
        <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
        </RowIndicatorColumn>
        <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
        </ExpandCollapseColumn>
        <Columns>
            <telerik:GridBoundColumn HeaderText="User ID" DataField="UserId" UniqueName="UserID">
            </telerik:GridBoundColumn>
        </Columns>
        <EditFormSettings>
            <EditColumn FilterControlAltText="Filter EditCommandColumn column">
            </EditColumn>
        </EditFormSettings>
    </MasterTableView>
    <PagerStyle Mode="NextPrevNumericAndAdvanced" ShowPagerText="true" />
    <FilterMenu EnableImageSprites="False">
    </FilterMenu>
    <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">
    </HeaderContextMenu>
</telerik:RadGrid>
<br />
<asp:Label runat="server" ID="lblSelectedIndex" />

Can anyone tell me what I need to change to get this to work without the need to call the handler directly?

Thanks,

David
Mark
Top achievements
Rank 1
 answered on 29 Jul 2011
3 answers
198 views
Hi,
I have a radGrid in a formView. In my formView there is a radStrip with 2 pageView. In the first there are some telerik controls, in the second there is a radGrid. I haven't any problem when the page is loaded and the data are loaded from DB. The problem occurs after a postback, for example after a button click: when the page is reloaded I have this error message:

Script control 'PageSizeComboBox' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors().
Parameter name: scriptControl


If I delete the pagerStyle in my asp page for a test, the problem is on another control

Script control 'rfltMenu' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors().
Parameter name: scriptControl

Someone can help me?
Thanks
Francesco
Top achievements
Rank 1
 answered on 29 Jul 2011
10 answers
166 views
Hello
I am studying how to make a custom advanced form here:  http://demos.telerik.com/aspnet-ajax/scheduler/examples/advancedformtemplate/defaultvb.aspx

I have a question about this part:
<scheduler:AdvancedForm runat="server" ID="AdvancedEditForm1" Mode="Edit"
     Subject='<%# Bind("Subject") %>'
     Description='<%# Bind("Description") %>'
     Start='<%# Bind("Start") %>'
     End='<%# Bind("End") %>'
     RecurrenceRuleText='<%# Bind("RecurrenceRule") %>'
    Reminder='<%# Bind("Reminder") %>'
     AppointmentColor='<%# Bind("AppointmentColor") %>'
     UserID='<%# Bind("User") %>'
     RoomID='<%# Bind("Room") %>' />

How is the RecurrenceParentID passed to the RadSchedulerRecurrenceEditor? Also, how is the primary key bound? (With the built in advance form it's DataKeyField="Schedule_id" for my RadScheduler)

Note: I am binding in my codebehind after every postback using an object based on this: http://www.telerik.com/help/aspnet-ajax/scheduler-using-datasource-property.html
So the binding in my codebehind is like:
Private Sub BindSchedule()
    Dim ds As List(Of objCRM.Schedule) = objCRM.Schedule.SelectScheduleByUser(Session("User_id"))
    Scheduler.DataSource = ds
    Scheduler.DataBind()
End Sub

Here is how my RadScheduler is currently defined:
<rad:RadScheduler runat="server" ID="Scheduler" Width="753px" Height="600px"
        EnableExactTimeRendering="true" StartEditingInAdvancedForm="true" StartInsertingInAdvancedForm="true"
        DataKeyField="Schedule_id" 
        DataStartField="Start"
        DataEndField="End"
        DataSubjectField="Subject"
        DataDescriptionField="Description"
        DataRecurrenceField="RecurrenceRule"
        DataReminderField="Reminder"
        DataRecurrenceParentKeyField="RecurrenceParentSchedule_id"
        AppointmentContextMenuSettings-EnableDefault="false"
        TimeSlotContextMenuSettings-EnableDefault="false"
        TimelineView-UserSelectable="false" >
    <AdvancedForm Modal="true" />
    <Reminders Enabled="True" />
</rad:RadScheduler>

Also I'm using 2011.1.519.40 of the dll.

Thanks,
Dan
Peter
Telerik team
 answered on 29 Jul 2011
5 answers
193 views

I have a user control that uses a custom control which has business logic to added controls dynamically. Example text boxes along with lable will be added based on the rule to capture addtional information from user.

If the user control is part of page and displayed using RadWindow then the I do not have any issues and on each post back between client and server dynamically added controls are getting displayed.

When the same user control is displayed inline using "User Control Edit Form" then for the first time dynamically added controls are getting displayed, but on the further post back they are not getting displayed.

In the custom control i am using CreateChildControls() to add controls dynamically.

Daniel
Telerik team
 answered on 29 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?