Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
196 views
I am using the Rad FileExplorer built into Dotnetnuke 6.  I have successfully used this in several sites.  However, in the site I'm working on now the FileExplorer allows me to create, rename and move folders, but I can't delete them.  I have tried it with partial rendering on and off.  I have written as sub to do a full permissions test.  The permissions test creates a folder, creates a file in the folder, deletes the file, then deletes the folder and it all passes without a problem.  Still, the Rad FileExplorer can't seem to delete folders.  Bizarre.  Any else have this problem?
Dobromir
Telerik team
 answered on 05 Apr 2013
2 answers
139 views

After deploying the code to production server, I got the below mentioned error on login. We have recently upgraded the Telerik version to the latest 2012.3.1308.35 product version.

As per the below error, a method is missing from System.Web.UI but we can see that method in the Object Browser. Please provide some suggestions to resolve this issue.


Method not found: 'System.Web.UI.CompositeScriptReference System.Web.UI.ScriptManager.get_CompositeScript()'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.MissingMethodException: Method not found: 'System.Web.UI.CompositeScriptReference System.Web.UI.ScriptManager.get_CompositeScript()'.
Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

 [MissingMethodException: Method not found: 'System.Web.UI.CompositeScriptReference System.Web.UI.ScriptManager.get_CompositeScript()'.]   Telerik.Web.UI.RadScriptManager.OnResolveScriptReference(ScriptReferenceEventArgs e) +0   System.Web.UI.ScriptManager.RegisterScripts() +261   System.Web.UI.ScriptManager.OnPagePreRenderComplete(Object sender, EventArgs e) +117   System.EventHandler.Invoke(Object sender, EventArgs e) +0   System.Web.UI.Page.OnPreRenderComplete(EventArgs e) +2060736   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1566

Version Information: Microsoft .NET Framework Version:2.0.50727.1891; ASP.NET Version:2.0.50727.1887


Manisha
Top achievements
Rank 1
 answered on 05 Apr 2013
1 answer
56 views
How do I make the Save button the default button in a radgrid inplace edit?
Shinu
Top achievements
Rank 2
 answered on 05 Apr 2013
1 answer
77 views

Hi

I have a RadGrid populated with sql datasource. I want to display a context menu on right clicking the rows.

what events I need to use and any sample code will be a great help....

Thanks
Shahi

Shinu
Top achievements
Rank 2
 answered on 05 Apr 2013
1 answer
107 views
Hi,

On clicking a particular cell in a RadGrid, is it possible to fetch that cell value using client-side code?

Thanks,
Lovella.
Shinu
Top achievements
Rank 2
 answered on 05 Apr 2013
1 answer
459 views
Hi,

I have a RadGrid with client side row selection and AllowMultiRowSelectionEnabled. How to display the number of rows selected from client-side code?

Thanks,
Lovella.
Princy
Top achievements
Rank 2
 answered on 05 Apr 2013
3 answers
126 views
Hi,

There is a RadGrid in one of my pages with filtering enabled. Can I modify the predefined Filter Text like "Starts With" and give a custom one?

Thankyou,
Lovella
Princy
Top achievements
Rank 2
 answered on 05 Apr 2013
20 answers
305 views
Just upgraded my project to Q1 2013 and now, several buttons have ceased to function when they worked just fine before the upgrade.  After reviewing this similar forum thread, I was able to fix one of the buttons by simply removing the ValidationGroup because I realized that there were no validation controls on the page, but you would think that without any validation controls, setting the ValidationGroup on the button would not have any effect.

In any case, another page that I have which does have validation controls has this problem and I am not sure how to fix it.

On the page, there is a control which nests a few other controls, all of which inherit from this base control class:
public class BaseControl : UserControl
{
    private string _ValidationGroup = null;
    [Browsable(true)]
    public string ValidationGroup
    {
        get
        {
            return _ValidationGroup;
        }
        set
        {
            _ValidationGroup = value;
            SetValidationGroup(this, _ValidationGroup);
        }
    }
    private void SetValidationGroup(Control ctrl, string validationGroup)
    {
        foreach (Control child in ctrl.Controls)
        {
            if (child is BaseValidator)
            {
                (child as BaseValidator).ValidationGroup = validationGroup;
            }
 
            if (child.HasControls() && child.Visible)
            {
                SetValidationGroup(child, validationGroup);
            }
        }
    }
}


The control definition on the page looks like this:
<controls:MyEntryControl runat="server" ID="TestEntryControl" ValidationGroup="MyValidationGroup" />
<div style="clear:both;width:750px;text-align:right;padding-top:1em;">
    <telerik:RadButton runat="server" ID="Save" Text="<%$ Resources:GlobalResources,Save %>" CausesValidation="true" ValidationGroup="MyValidationGroup" OnClick="Save_Click" />
    <telerik:RadButton runat="server" ID="Cancel" Text="<%$ Resources:GlobalResources,Cancel %>" OnClick="Cancel_Click" CausesValidation="false" />
</div>

An interesting point to note is that the PostBack does occur as the Page_Load event does get fired.  However, the Save_Click event does not fire and from what I can tell, the code skips immediately to the PreRender event of the page.  There are no errors on the page which I assume is why the postback did occur, but I see no reason that the button's click event would just stop firing, especially since it was definitely working immediately before upgrading my project.

I used the Telerik -> Rad Controls for ASP.NET AJAX -> Upgrade Wizard to upgrade my project after installing the new control sets.
I am running Visual Studio 2010 and my project is an ASP.NET Web Forms project with .NET Framework 4. 

Please let me know what can be done to resolve this issue ASAP.
BizData
Top achievements
Rank 1
 answered on 05 Apr 2013
46 answers
1.7K+ views
Hi All,

Please help me to do so...
I want to add multiple header rows at runtime in a Rad Grid. These header rows contain controls also...




Karrie
Top achievements
Rank 1
 answered on 04 Apr 2013
3 answers
139 views
I can see there are some problems with the validators but so far I haven't found exactly my scenario.
I've based my code on the example  http://demos.telerik.com/aspnet-ajax/ajax/examples/common/loadingusercontrols/defaultcs.aspx

I have a FormTemplate popup within a RadGrid.  On that template I have one RadAjaxPanel containing a RadComboBox and another RadAjaxPanel occupying a tab in a RadTabStrip.  The first tab is always shown.  The second is for displaying an ASCX that may or may not be shown.

When I select certain values of the combobox, its SelectedIndexChanged event loads and sets up an ASCX on the second tab.  Everything is working properly except that when I hit the submit button on the FormTemplate itself, the ASCX Required Field Validators never fire.  (Even though I've accessed and enabled them directly in the SelectedIndexChanged event.  I know they're there.)

I have my RadAjaxManager set up as follows:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadComboBox1">
                <UpdatedControls >
                    <telerik:AjaxUpdatedControl ControlID="RadAjaxPanel1" />
                    <telerik:AjaxUpdatedControl ControlID="RadTabStrip1" />                  
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>

Also it appears so far that although the control is loaded I cannot access it as usual in the RadGrid's InsertCommand e.item FindControl.

Suggestions?
Boris
Top achievements
Rank 1
 answered on 04 Apr 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?