Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
89 views
Hi,

I insert the "Telerik RadEditor for SharePoint"-Webpart into a Enterprise-Wikipage and then i try to insert a content (the editable area is visible after I open the settings of the webpart) but after I inserted some lines of text - the webpart disappear suddenly . 

Is there a solution for this problem? Does anyone have this problem too?

Greetings from Germany,
Andy
Stanimir
Telerik team
 answered on 23 Apr 2013
5 answers
178 views
Everthing was fine before new version of Telerik is added.
Previous Telerik Version : 2012. 2 912
Current  Telerik version : 2012.3.1308.40

Mainly Filter Control Width specified is not working. Also controls inside Radgrid is not rendering correctly.
Please check the attachments and give us a fast solution.

Vargis
Top achievements
Rank 2
 answered on 23 Apr 2013
5 answers
486 views
I was hoping to set the allowed file extensions based on some chosen radio buttons, but the sample code in the on-line documentation does not work. I am weak in my javascript, so I am probably missing something simple. Here's the documentation page:
http://www.telerik.com/help/aspnet-ajax/asyncupload-client-object.html

and here's the sample code it provides:
function AllowJPEGExtension() {
  var upload = $find("<%= RadAsyncUpload1.ClientID %>");
 
  if (!upload.isExtensionValid(".jpeg"))
  {
     var exts = upload.get_allowedFileExtensions();
     exts[exts.length] = ".jpeg";
  }
}
Plamen
Telerik team
 answered on 23 Apr 2013
7 answers
1.1K+ views
Hi,

I'm a newbie to Telerik controls and i am having and issue with trying to bind to a object/datasource.

Every example i am seeing is binding to a datagrid but i do want this. I have a few controls on the page and nothing seem to have any property to set a datasource or datamember for data binding.

Can anyonje tell me how i can do this or point me to a resource that can show me?

thanks,
Stephen
Shinu
Top achievements
Rank 2
 answered on 23 Apr 2013
5 answers
485 views
I have several RadGrids on a page which are reading data using a stored procedure.The autogeneratecolumns is set to true.
I am adding some controls to the rows dynamically on ItemDataBound. When I do a Sort/Filter on a RadGrid, that grid is rendering properly, but the other grids are losing the dynamically added controls.

I tried using the advanced databinding using the NeedDataSource and also doing a simple bind on every postback. It fails in both the scenarios.

   protected void myRadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
        {
                   
     if (e.Item is GridDataItem)
                {
                    GridDataItem item = (GridDataItem)e.Item;
                    foreach (string hlc in hyperlinksColumns)
                    {
                        HyperLink link = new HyperLink();
                        Guid guid = new Guid();
                        link.ID = guid.ToString();
                        link.Text = item[hlc].Text; //accessing the GridBoundColumn to get the text
                        link.NavigateUrl = item[hlc + "_URL"].Text;
                        item[hlc].Controls.Add(link);
                    }
 
                    foreach (string ic in imageColumns)
                    {
                        Image image = new Image();
                        Guid guid = new Guid();
                        image.ID = guid.ToString();
                        image.ImageUrl = ImageLocation + item[ic + "_IMG"].Text;
                        item[ic + "_IMG"].Controls.Add(image);
                    }
 
 
                }
 
}

Jayesh Goyani
Top achievements
Rank 2
 answered on 22 Apr 2013
1 answer
231 views
Hi All,

   I have a RadPane inside the RadSplitter control. I want to set the background image for the RadPane.
I tried to use cssclass, in which I set the background image, but it is not working. if I set the background color using cssClass, it is working fine.
Please help me to resolve this.

Thanks,

V. Raguraman.
Vessy
Telerik team
 answered on 22 Apr 2013
4 answers
142 views
Hello All,
        I created radscheduler in asp.net application, i bind the sql table values in to radscheduler. in month view for particular day i have more than 50 appointments there, so radscheduler only shows 5 appointments and they show more option, if i click the more option in month view it will throw the f is null or not an object error
       Could anyone face this issue before please reply me, i want to resolve this

Thanks.
Kate
Telerik team
 answered on 22 Apr 2013
52 answers
3.2K+ views
I am trying to change to the new AjaxManager and AjaxPanel and right off the bat I am getting the following error:

Source: System.Web
Message: Exception of type 'System.Web.HttpUnhandledException' was thrown.
Inner Exception: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
Stack Trace: at System.Web.UI.ControlCollection.AddAt(Int32 index, Control child) at Telerik.Web.UI.RadAjaxControl.MoveUpdatePanel(Control initiator, Control updated) at Telerik.Web.UI.RadAjaxControl.PerformRender() at Telerik.Web.UI.RadAjaxControl.OnPageRender(HtmlTextWriter writer, Control page) at Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, Control page) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Page.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Form:
Query String:
Target Site: Boolean HandleError(System.Exception)


All i have done is change the radA:RadAjaxPanel to telerik:RadAjaxPanel.  I also added the <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> tag to the top of the page.  I also put a ScriptManager on the page.  Is there something I missed?

Thanks,  Jason

Tim
Top achievements
Rank 1
 answered on 22 Apr 2013
2 answers
131 views
I've been unable to find an answer to what I would think should be a simple syntax question, but what's the difference between the following tags:  <%# .... %>  and <%= ..... %>?

My hunch is that the only difference is after which page function the data is retrieved; however, I'm not about this.
Winney
Top achievements
Rank 1
 answered on 22 Apr 2013
3 answers
177 views
I have several usercontrols that utilize many RadDock elements. These usercontrols are loaded as content for multiview pages.
This is an excerpt from my default.aspx
<telerik:RadMultiPage ID="radShifts" runat="server" BorderColor="Black" BorderStyle="Inset" BorderWidth="2px" SelectedIndex="0" Width="100%">
                <telerik:RadPageView ID="pvActiveShifts" runat="server">
                    <uc2:activeshifts runat="server" />
                </telerik:RadPageView>
                <telerik:RadPageView ID="pvActivePending" runat="server">
                    <uc2:activeshiftspending runat="server" />
                </telerik:RadPageView>
                <telerik:RadPageView ID="pvCancelledPending" runat="server">
                    <uc2:cancelledshiftspending ID="cancelledshiftspending" runat="server" />
                </telerik:RadPageView>
                <telerik:RadPageView ID="pvCancelledArchived" runat="server">
                    <uc2:cancelledshiftsarchived ID="cancelledshiftsarchived" runat="server" />
                </telerik:RadPageView>
</telerik:RadMultiPage>

This is a sample usercontrol for uc2:activeshifts (I removed all of the controls in the content template to save space). This exact control can be considered identical for the remaining usercontrols.
<telerik:RadDockLayout ID="dockLayout1" runat="server" >
    <telerik:RadDockZone ID="zone1" runat="server" Orientation="Vertical" BorderStyle="None" Skin="Black">
        <telerik:RadDock ID="dockActiveShiftsFilter" runat="server" Skin="Black" Width="100%" DefaultCommands="None" Title="Filter" DockMode="Docked">
            <ContentTemplate>
            </ContentTemplate>
        </telerik:RadDock>
        <telerik:RadDock ID="dockActiveShiftsFilled" runat="server" Skin="Black" 
            Width="100%" DefaultCommands="ExpandCollapse" Title="Shifts Filled" 
            DockMode="Docked">
            <ContentTemplate>
            </ContentTemplate>
        </telerik:RadDock>
        <telerik:RadDock ID="dockActiveShiftsAvailable" runat="server" Skin="Black" Width="100%"
            DefaultCommands="ExpandCollapse" Title="Shifts Available" 
            DockMode="Docked">
            <ContentTemplate>
            </ContentTemplate>
        </telerik:RadDock>
    </telerik:RadDockZone>
</telerik:RadDockLayout>

On each usercontrol, I have a button that refreshes the current multipageview, when I select the button to refresh the content, the other pageview docks are rearranged in order on the page.

Each usercontrol uses a different dockzone and docklayout, so the controls shouldn't be affecting them. Is there a way to prevent the other docks from rearranging on postback?
Keith
Top achievements
Rank 2
 answered on 22 Apr 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?