Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
78 views
Hi,

I am trying to add the the editor to a SharePoint 2010 web part in design mode.  When the RadEditor is displayed on the page you are unable to scroll the page in IE unless you double click on the scroll bar?  This is a very strange issue and I can't seem to find a fix.
my code to create the editor is:
if (this.WebPartManager.DisplayMode == WebPartManager.DesignDisplayMode)
{
    Telerik.Web.UI.RadEditor editor = new RadEditor();                   
    editor.Width = 250;
    editor.ToolbarMode = EditorToolbarMode.ShowOnFocus;
    editor.Content = this.BoxContent;
    editor.ToolsWidth = 250;
    editor.BackColor = myColor;
    Controls.Add(editor)
 
}


Any help with this issue would be appreciated.
Andrew
Top achievements
Rank 1
 answered on 01 Jul 2013
13 answers
1.1K+ views
Hi All,

How do I disable grid editing if I am adding a new record and how do I disable adding a new record if I am editing in the grid? only one function at a time until you click on Insert, Update, or cancle button.

Thank you in Advance,
Shehab
Princy
Top achievements
Rank 2
 answered on 01 Jul 2013
3 answers
184 views
Hi

How can I shift the drop down according to the cursor position in the autocomplete box input?

Regards
Shahi
Princy
Top achievements
Rank 2
 answered on 01 Jul 2013
1 answer
293 views
Hi Telerik,

This is not a telerik specific question still I believe I would get a valuable solution from here. I want to disable the browser back button in IE. I tried some samples found in net but it didnt helped.

Regards,
Shahi.
Shinu
Top achievements
Rank 2
 answered on 01 Jul 2013
0 answers
148 views
hello guy..

               i've been searching through out the net but i wasnt able to find references and samples that could help me out to solve my problem..i would like to ask help from you all expert and admin about this right click event on the treeview control..coz i have a requirements on my project that..if the user right click on the node the certain items on the context menu will be disable..how can i do that on server side coz i'm not much quite used on javascript..anyway my data on the radtreevew is bind to database..appreciate for your samples and reply..

thanks
Jols
Top achievements
Rank 2
 asked on 01 Jul 2013
12 answers
923 views

I have several JS files that were linked on my site and I wanted to combine them into just one call, so, I added this to the RadScriptManager

<CompositeScript>
    <Scripts>
        <asp:ScriptReference Path="~/js/jquery.min.js" ScriptMode="Auto" />
        <asp:ScriptReference Path="~/js/webctrl.js" ScriptMode="Auto" />
        <asp:ScriptReference Path="~/js/default.js" ScriptMode="Auto" />
        <asp:ScriptReference Assembly="System.Web" Name="WebForms.js" ScriptMode="Auto" /> 
    </Scripts>
</CompositeScript>

Now, whenever I view the site, the above scripts are combines, however, the original Telerik resource file that was being loaded is now at least 2 files and sometimes 3 or more.

I have noticed that the order in which they are loading has changed. Originally, the static resources would be served first, then a single combined telerik resource file. Now, a telerik resource file is served first that contains only basic MS ajax code, then the combined static resources, then one or more telerik resource files.

I'd like to include everything into one resource file if possible, but I'm not sure that is even able to be done.
Keith
Top achievements
Rank 2
 answered on 30 Jun 2013
3 answers
145 views

Hi,

I dont know where to start on this so thought of posting it. Basically, I have to address all the following tasks.

We have a large number of pictures which we send out to our customers on a regular basis. They get over sized and dont upload properly.

I plan to make an application which re sizes and emails pictures.

1) Select pictures with similar names ( first 5 digits) from some selected folder. May be on a button click.

2) Re-size them to 200KB-400KB.

3) Upload and Email them (Using Exchange). Email address is entered by user. Usually there would be around 20 pictures attached per email.

4) Save those re-sized pictures to some drive.

5) Delete the non-re-sized pictures which were selected.

Could you please guide me little bit on what controls can I use?

Thanks
SANJAY
Top achievements
Rank 1
 answered on 30 Jun 2013
2 answers
107 views
Hi !

I have a RadGrid and I am exporting it to CSV file, working fine.

Now, What if I want to add some external data to the Top of that CSV file?

For example I am exporting grid in CSV file with headers

Id, Name
1, Aaa
2, Bbb
3, Ccc

Now on the Top of Id and Name I want to add row like,
Name : [AnyName]
Date : [Today's date]

is it possible? I have added them to caption but not working..

Thanks.

James
Top achievements
Rank 1
 answered on 29 Jun 2013
2 answers
336 views
I cannot find a complete example. Found tons on grid and combobox, but not textbox. This test is to lookup a “PhoneTypeName” from a UserPhoneType table with TypeCode = “0” and assign that first value to a asp.net textbox.

Currently, I am getting “Object reference not set to an instance of an object” when setting the text box to "phonetype.FirstOrDefault.PhoneTypeName.ToString"

Using dbContext As New EntitiesModel()
    Dim phonetype As IEnumerable(Of User_PhoneType) = dbContext.User_PhoneTypes.Where(Function(c) c.PhoneTypeCode = "O")
    mytextbox.Text = phonetype.FirstOrDefault.PhoneTypeName.ToString
End Using

Also, would binding work any differently in this case if this were a radtextbox?

Thanks.
Ted
Top achievements
Rank 1
 answered on 28 Jun 2013
1 answer
90 views
I have a RadGrid inside a Panel, inside a User Control. In the RadGrid is a RadComboBox in a GridTemplateColumn. When the user selects a value from the RadComboBox it fires a postback to automatically populate the next column. The problem here is that although it fires an Ajax Request, the loading panel doesn't display. The page appears ready to use the entire time. I've tryed configuring the AjaxSettings every way I can think of. I've set the combo box as the ajax control with the grid as the updated control, the grid and the panel, the panel and the panel, every possible combination; but the loading panel will not show up. Here's the current Ajax Settings:

<telerik:AjaxSetting AjaxControlID="radGridGovernanceWithin">
      <UpdatedControls>
         <telerik:AjaxUpdatedControl ControlID="radGridGovernanceWithin"   LoadingPanelID="RadAjaxLoadingPanel1" />
      </UpdatedControls>
   </telerik:AjaxSetting>
Shane
Top achievements
Rank 1
 answered on 28 Jun 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?