Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
70 views

Hi,

I am trying to apply my own custom CSS on one of our SharePoint page but I can't seem to make it work. It's for the ContentArea editor when editing a text area. Based on my research, I've read that I have to declare the CSS in the ConfigFile.xml. Also, I've put the actual CSS file under this path:

C:\Program Files\Common Files\microsoft shared\Web Server Extensions\wpresources\RadEditorSharePoint\7.2.1.0__1f131a624888eeed\Resources

 

The ConfigFile.xml looks something like this:

<configuration>
<!--<property name="ContentAreaMode">Div</property>-->
<property name="ContentAreaCssFile">
<item>CssEditorCustom.css</item>
</property>
<property name="ToolbarMode">ShowOnFocus</property>
<property name="ToolsWidth">640px</property>  
<property name="ImagesPaths">
<item>/SiteCollectionDocuments</item>
<item>/SiteCollectionImages</item>
</property>
<property name="MaxImageSize">10485760</property>
</configuration>

 

After doing the above, the CSS seems to be not working (i.e. font size, margin, padding, etc.) I haven't noticed any difference.

Am I missing something? Can you please point me to the right direction?

 

Hoping to hear from you soon.

Cheers,
Arnelio

 

 

Marin Bratanov
Telerik team
 answered on 10 Apr 2015
1 answer
107 views

Hi

My Grid is in Batch mode and Has Template column.

 How we can save all changes from external button from server side?

 Thanks

 

 

Pavlina
Telerik team
 answered on 10 Apr 2015
1 answer
86 views

Hello,

 I'm trying to determine if RadMap (ASP.NET and/or Silverlight) can load custom topo into a layer from an internal map server. I was hoping to use GeoServer which supports TMS via an embedded GeoWebCache.

 

Can RadMap ( ASP.NET and/or Silverlight) user multiple layers? I will have a small number of topos to display, and would like to see Bing/Google satellite maps where my own data is not present. Normally I would think that having my own layer over the top of a Bing/Google layer would do this.

 

Could you advise me on how to accomplish my goal please?

 Thanks,

Scott

Misho
Telerik team
 answered on 10 Apr 2015
1 answer
136 views

I have a drop down list inside the radgrid and the button outside the radgrid. Also I have asp.net update panel for making the cursor busy while processing. when I changed the drop down value in less than 2 drop down everything works fine and it update the gradgrid after processing complete.  But when I change the 3 or more dropdown list value, I am getting error message like

 

 Unhandled exception at line 15, column 16485 in http://localhost:85124/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScriptsJavaScript runtime error: ....

Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out.   etc   kind of error message. ​

 

Can you please provide suggestion how can I fixed this issue?

 

Thanks in advance

Eyup
Telerik team
 answered on 10 Apr 2015
1 answer
140 views

Hello,

I was running into problems with too much text being displayed in certain columns within my grid. In ItemDataBound() I used the text.substring method (C#) to shorten the data to appropriate length. This was done similar to the directions provided in this post:

 http://www.telerik.com/forums/limit-amount-of-text-shown-in-data-column

Meanwhile I have implemented the Grid Excel export functionality. Unfortunately, my data within the Excel export is incomplete because it is being shortened to fit my columns. 

 

How can I limit the amount of text shown in a column, but still export all data when using the Excel export functionality?

 

Thanks,
Matt

 

Eyup
Telerik team
 answered on 10 Apr 2015
1 answer
252 views

Hello guys,

1 - How to maintain the scroll position when expand a node in the RadDropDownTree? when the tree has a lot of parents node ?

2 - How to maintain the scroll position when re-open the tree list when has a node selected? In this case are allowed only one select items

Dimitar
Telerik team
 answered on 10 Apr 2015
3 answers
59 views

Hello

Any hints on how to solve this in javascript ?

 I need radcombo to show normal selecttext list when open, but a different selecttext when closed.

 ex. Items a,b,c    

  when "b" selected and radcombo closes i should show "mytext"

 

any clues would be appreciated.

 

regards

Mark

 

 

Plamen
Telerik team
 answered on 10 Apr 2015
1 answer
83 views

I have a radPanelBar that is is bound to an SqlDataSource. Normally I would use findcontrol in the OnItemDataBound event to access the controls in the template as follows:

 

Private Sub rpbVehicles_ItemDataBound(sender As Object, e As RadPanelBarEventArgs) Handles rpbVehicles.ItemDataBound
 
       Dim imgThumb As Image = e.Item.FindControl("imgThumb")
 
End Sub

But apparently ItemDataBound is too early in the cycle to access controls as findcontrol always returns Nothing.

I can access the controls in the ItemCreated event, but how do I access the DataItems there?

I want to do something like:

Private Sub rpbVehicles_ItemCreated(sender As Object, e As RadPanelBarEventArgs) Handles rpbVehicles.ItemCreated
 
Dim vehicleID As Integer = e.Item.DataItem("ItemID")
Dim cbShow As CheckBox = e.Item.FindControl("cbShow")
cbShow.Attributes.Add("VehicleID", vehicleID.ToString)
 
End Sub

 

How do I access the DataItems?

 

Thanks

 

Charles

 

Ivan Danchev
Telerik team
 answered on 10 Apr 2015
1 answer
262 views

Hi, 

I have an AutoGenerate delete link in my aspx page.  

AutoGenerateDeleteColumn="True"

Currently, when the use clicks on the delete button, the record is deleted without any warning or confirmation. How can I ask the user if they are sure of the deleting the record or not? After confirmation only the record should be deleted. I am currently deleting the records from the DeleteCommand event in the code behind. 

I saw a thread about the same issue, but I am not able to understand, how can I set the ConfirmText property for the AutoGenerateDeleteColumn. Can anyone help me with addition of this feature without requiring to change my current set up. Thanks..

Pavlina
Telerik team
 answered on 10 Apr 2015
1 answer
116 views

Hi there,

I am trying to implement getting data for the Scheduler (Q1 2014) via a Web Service.

I have followed the instructions and created a new class derived from SchedulerInfo.

 

My aspx contains the following: <telerik:RadScheduler ID="RadScheduler1" runat="server" OnAppointmentsPopulating="RadScheduler1_AppointmentsPopulating" OnResourcesPopulating="RadScheduler1_ResourcesPopulating">
            <WebServiceSettings Path="SchedulerWebService.asmx" ResourcePopulationMode="ServerSide" />
  
        </telerik:RadScheduler>

 

I can add custom values to this in the server side code using

protected void RadScheduler1_ResourcesPopulating(object sender, Telerik.Web.UI.ResourcesPopulatingEventArgs e)

 so I seem to be on the right course.

 

However, when I try to do the same for the AppointmentsPopulating event, this is never fired.

 

 

 

Have I done something obviously wrong?

Bozhidar
Telerik team
 answered on 10 Apr 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?