Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
94 views
I enabled RadEditor on HTML fields. On an existing page with content and images, I click one of the images, then click Image Manager and it throws the old classic error (in the rad dialog):

'Object reference not set to an instance of an object'

When I don't highlight an image (in the same editor pane), and click Image Manager, the dialog pops up without error. What can be concluded from this? Is the Image Manager trying to set its initial broswe location to an old path that cannot be found?

Here is the Event Viewer Log that it throws:

Thread information:

Thread ID: 25

Thread account name: *****************
Is impersonating: False

Stack trace: at Telerik.SharePoint.Editor.SPContentProvider.CheckPermissionsInternal(String folderPath, PathPermissions permToCheck)

at Telerik.Web.UI.RadFileExplorer.ExpandNestedFolder(String nodeValue)

at Telerik.Web.UI.RadFileExplorer.BindExplorer()

at Telerik.Web.UI.RadFileExplorer.OnLoad(EventArgs e)

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Rumen
Telerik team
 answered on 01 Feb 2013
7 answers
242 views
I am building a user .ascx control that contains a RadGrid. On row double click I have to be able to get Id value of that grid and a value in "Title" column and place them in TextBoxes on a parent form. Now, I have made a custom event for this (called it SelectEvent) which will be handled on parent form, and have defined custom event args class (PickereventArgs with two properties: int ID, string Title). I want to raise that event on SelectedIndexChanged of the RadGrid in .ascx like this
protected void gridPicker_SelectedIndexChanged(object sender, EventArgs e)
{
 
    foreach (GridDataItem item in gridPicker.SelectedItems)
    {
        if (item.Selected)
        {
            if (SelectEvent != null)
            {
                PickerEventArgs args = new PickerEventArgs();
                args.Title = item.Cells[1].Text;
                args.Id = Convert.ToInt32(item.Cells[0].Text);
                SelectEvent(this,args);
                gridPicker.DataSource = null;
                this.Visible = false;
            }
        }
    }    
}

but I can't fire OnSelectedIndexChange with double click on row.
Help, anyone? I need it quickly because I have a deadline and my boss is getting a bit nervous :)
Princy
Top achievements
Rank 2
 answered on 01 Feb 2013
1 answer
71 views
Hi
I want to assign color to radgrid row checking whether the gridcheckboxcolumn is checked or not.
thanks
Allen
Shinu
Top achievements
Rank 2
 answered on 01 Feb 2013
4 answers
80 views
Hey guys

Once again a latest build (2012.3.1308.45) breaks a previously working RadEditor.

ALL url's are now made absolute, no matter what the ContentFilter is set. This was WORKING in previous builds.

I am getting very very hesitant in updating to the latest builds from now on as these small issues keep cropping up.
Misho
Telerik team
 answered on 01 Feb 2013
3 answers
93 views
Hi ,

i am using RadAsyncUpload control in my project ,

 i am trying to upload a file with long name for eg  my file name is : wylongfile- Copy - Copy - Copy - Copy - Copy - Copybig_TEST21 - Copy - Copy - Copy - Copy - Copy - Copy - Copybig_TEST21 - Copy - Copy - Copy - Copy - Copy - Copy - Copybig_TEST21 - Copy - Copy - Copy -

working fine in IE browser, but not working in Firefox, i am getting following error :
The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

please help me to solve the issue

Thanks!
Srinivasa Rao Ranga


Plamen
Telerik team
 answered on 01 Feb 2013
1 answer
134 views
Hi,

I have activated the export buttons using the ShowExportToPdfButton flag on the Rad Grid Control

I want to handle the event that actually creates the PDF and instead of using the default PDF, I want to create my own PDF.

Please tell me which event I need to override, kindly show an example.

Thanks 
Shinu
Top achievements
Rank 2
 answered on 01 Feb 2013
1 answer
183 views
I have a programmatic created RadGrid that has a GridButtonColumn in it. I also have a Radlistview that I'm using on the same page.

I need the button click on the radgrid to update the radlistview via a Radajaxmanagerproxy. My issue I'm running into is that the GridButtonColumn that adds the button doesn't have an ID that I can link it to. I've tried using the ItemCommand event on the ajaxmanager and I don't get a result.

How would I set this up?


GridButtonColumn bc = new GridButtonColumn();
dg.MasterTableView.Columns.Add(bc);
bc.HeaderText = "Add";
bc.ButtonType = GridButtonColumnType.PushButton;
bc.CommandName = "Add_Click";
bc.Text = "Add";


<telerik:AjaxSetting AjaxControlID="ProductCrossSaleGrid" EventName="ProductCrossSaleGrid_ItemCommand">
    <UpdatedControls>
        <telerik:AjaxUpdatedControl ControlID="RadListView1" LoadingPanelID="PricingLoadingPanel" />
    </UpdatedControls>
</telerik:AjaxSetting>


Shinu
Top achievements
Rank 2
 answered on 01 Feb 2013
1 answer
71 views
 
Here is my rad editor code & the screenshot attached of the issue. please reply with best response.

<telerik:RadEditor ID="RadEditorEmailBatch" runat="server" Width="710"
    StripFormattingOnPaste="Css,MSWordNoFonts,MSWordRemoveAll,ConvertWordLists,NoneSupressCleanMessage,Span,MSWord"
    StripFormattingOptions="Css,MSWordNoFonts,MSWordRemoveAll,ConvertWordLists,NoneSupressCleanMessage,Span,MSWord"
    ContentFilters="None" Height="200" Style="word-wrap: break-word;" EditModes="Design" Skin="Office2007">

  </telerik:RadEditor>





Thank You,
Anji reddy.
Rumen
Telerik team
 answered on 01 Feb 2013
1 answer
112 views

I am trying to add Telerik’s controls (like RadMaskedTextBox, RadNumericTextBox and RadDateInput controls) dynamically into a user control (under the Page_Init event) which is itself a child of another user control.

 

When I run the project, following exception occurred and nothing is shown in the user control.

“Microsoft JScript runtime error: Sys.ArgumentException: Value must not be null for Controls and Behaviors. Parameter name: element”

 

However, these controls are added directly on a .aspx page without any exception and it appeared that the Telerik’s controls get registered in the Page_PreRenderComplete event of an .aspx page and since this event does not exist in a user control therefore they are throwing the above exception.

Andrey
Telerik team
 answered on 01 Feb 2013
1 answer
44 views
Dear team
i have costume menu in editor and this menu has items with text and the user can chose from this menu any value and this value will add to editor
so i need if user try to delete this text(value) from editor when he press delete or backspace it delete all the text in one press not litter litter from the text
Regard
Ahmed Salem
Rumen
Telerik team
 answered on 01 Feb 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?