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

I'm making changes to a project I mad a few months ago.

But when I open the designer all of my controls have errors.

"Error Creating Control - RadAjaxManager1Failed to create designer 'Telerik.Web.UI.RadAjaxManager, Telerik.Web.UI, Version=2013.3.1114.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4"

That is just one example.

I've tried updating, and just about everything else that I've found on these forums and nothing has fixed the problem.

Please help.

Grant.
Radoslav
Telerik team
 answered on 09 May 2014
1 answer
133 views
Hi all,

I was looking for RadGridView sample's at telerik demo website and i did not found a demo the RadGridView don't use SqlDataSource to bind some data and some RadComboBox/RadDropDownList edit template columns.

Does anybody have an example of a radgridview that don't use SqlDataSources filled at code behind and have some RadComboBox/RadDropDownList edit template columns filled at code behind too?

Tks
Shinu
Top achievements
Rank 2
 answered on 09 May 2014
1 answer
135 views
Hi

I create a RadGrid and a RadButton by code.
The RadButton is deactivating my RadGrid:

            this.editButton = new RadButton();
            this.editButton.Visible = false;
            this.editButton.AutoPostBack = true;
            this.editButton.Click += EditButtonOnClick;

        private void EditButtonOnClick(object sender, EventArgs eventArgs) {
                this.DataGrid.Enabled = false;
                this.DataGrid.ClientSettings.EnablePostBackOnRowClick = false;
                this.DataGrid.ClientSettings.Resizing.AllowColumnResize = false;
                this.DataGrid.ClientSettings.Selecting.AllowRowSelect = false;
                this.DataGrid.ClientSettings.AllowKeyboardNavigation = false;
        }

This is working great.
But now, I have also to deactivate the RadGrid at doubleclick on a row. For this, I have created a javascript for OnRowDblClick for the RadGrid:

            var script = @"
function RowDblClick(sender, eventArgs) {
$find(""" + editButton.ClientID + @""").click();
}";
            var javaScript = new HtmlGenericControl("script");
            javaScript.Attributes["type"] = "text/javascript";
            javaScript.InnerHtml = script;
            Controls.Add(javaScript);

            this.DataGrid.ClientSettings.ClientEvents.OnRowDblClick = "RowDblClick";

The RowDblClick will be executed on DoubleClick - I have checked this with a alert(). But the Click-Eventhandler of the EditButton on the Serverside will not be executed. Can someone help me please how I can do this? - Thanks.

Thomas
Shinu
Top achievements
Rank 2
 answered on 09 May 2014
3 answers
84 views
Hi All,
I'm trying to custromize radgrid so i could have this result in image "Expectation.jpg", i make some modifications and what i reach till now is what u can find on image "Done.png" could any one please tell me how to :

- Attach the Button images of expand and collapse to their row and to the next button image (with lines) as shown in image
- show border between cells and rows 

thanks.
Jayesh Goyani
Top achievements
Rank 2
 answered on 09 May 2014
3 answers
297 views
After disabling the buttoncolumn in a grid when clicked the confirm text still shows. The button does not fire which is good. how do I keep the confirm text from showing. I tried the following which does not work.

protected void RadGrid1_PreRender(object sender, EventArgs e)
        {
            foreach (GridDataItem DataItem in RadGrid1.Items)
            {
                if (DataItem["Import"].Text == "0")
                {
                    DataItem["ImportColumn"].Enabled = false;
  
                    TableCell cell = (TableCell)DataItem["ImportColumn"];
                    cell.Enabled = false;
  
                }
            }



Richard
Top achievements
Rank 1
 answered on 08 May 2014
2 answers
318 views
Hi,
I have a RadioButtonList as part of my FormTemplate.  When the index of this changes, I want to do some server-side processing & change the value of a label that is also in the Form Template.  So, I have set up within the FormTemplate
<asp:RadioButtonList ID="rdo1" runat="server" 
 Onselectedindexchanged="rdo1_SelectedIndexChanged" AutoPostBack="True"
</asp:RadioButtonList> 

And in the code behind:
protected void rdo1_SelectedIndexChanged(object sender, EventArgs e) { 
RadioButtonList rdoList = this.RadGrid1.FindControl("rdo1"as RadioButtonList; 
Label lbl = this.RadGrid1.FindControl("lbl1"as Label; 

But they are never found and my Controls are set to null;  Any help/suggestions?  I've seen the client-side solution to this, but I would prefer to not do this on the client.
Thanks.


KC
Top achievements
Rank 1
 answered on 08 May 2014
2 answers
83 views
I have a RadContentTemplateTile with an image at the bottom that I'd like to extend to the very edge on the left, button and right.
Should I use a different Tile for this?

Example markup below and screen capture attached.

Thanks!
-Matt

<Groups>
                            <telerik:TileGroup>
                                 
                                <telerik:RadContentTemplateTile Name="WelcomeTile" BackColor="#00457E" Shape="Wide">
                                    <ContentTemplate>
                                        <div style="position:relative;width:312px;height:160px;">
                                            <div style="position:absolute;bottom:0px;left:-4px;">
                                                <img src="Images/Tile_CrownPoint.jpg" style="width:314px;height:111px;" />
                                            </div>
                                            <div style="position:absolute;top:0px;">
                                                <asp:Panel ID="Panel1" CssClass="WideTileContent TileBigger" runat="server">
                                                    Yay! River!
                                                </asp:Panel>
                                            </div>
                                        </div>
                                    </ContentTemplate>
                                    <PeekTemplate>
                                        <asp:Panel class="WideTileContent TileRegular" runat="server"
                                            ID="Panel4"
                                            BackColor="#20659E">
                                            <%=WelcomeData.MessageBody %>
                                        </asp:Panel>
                                    </PeekTemplate>
                                    <PeekTemplateSettings CloseDelay="0" ShowInterval="0" ShowPeekTemplateOnMouseOver="True" HidePeekTemplateOnMouseOut="True"
                                        Animation="Slide" />
                                </telerik:RadContentTemplateTile>
Matt
Top achievements
Rank 1
 answered on 08 May 2014
3 answers
68 views
There is now a line between the text and the dropdown image for dropdowns on the toolbar. Looks like its now a split button. You can see this on your demo site with certain skins. I am using office 2010 Silver. See screen shot.

Thanks

Tom
Top achievements
Rank 1
 answered on 08 May 2014
3 answers
454 views
I'm working with a RadHtmlChart that has a lot of series running through it, and frequently, our users will want to be able to quickly select or deselect all the series in the legends, and then select the series they actually want to see.

I was wondering, how would I go about implementing  "select all" and "deselect all" options for the legend on the chart?
Gabriel
Top achievements
Rank 2
 answered on 08 May 2014
1 answer
73 views
Hi 

Im aware there are other threads with this same problem but I
have tried every solution on those threads and nothing has worked.

I need to edit the designer in a project created a few months ago. 

I get the "Error creating controls " message.
I updated telerik, and then visual studio(2010) crashes when i open the designer.

Any solutions?

Grant.
Boyan Dimitrov
Telerik team
 answered on 08 May 2014
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?