Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
159 views
Hi,

We are using the trial version 5.7.3.0 for SharePoint.

We are trying to add code such as
<a href="#" onclick="functionCall()">Click here</a>
But when the page is Checked in, the onclick event is removed, and the resulting code is
<a href="#">Click here</a>

We removed the filters "RemoveScripts" and "EncodeScripts", and added AllowScripts="true" to the RadHtmlField control.

Do you have any idea on how to allow the onclick event?

Thanks in advance.

Kind regards,
Xavier Stévenne
Stanimir
Telerik team
 answered on 06 Dec 2010
3 answers
187 views
Hi

I have downloaded RadEditor version 5.8.4 (RadEditorMOSS_5_8_4_Trial (1).zip) for MOSS 2007. I tried to deploy it on my Sharepoint Server 2007 with 64 bit processor, but it is not working fine.
Both the the Publishing HTML content and the Multiline list (Enhanced HTML) content is showing the RadEditor bar but the entire column becomes uneditable. Also data in the column vanishes.
Has anyone else faced this issue?

Thanks
Deepti
Stanimir
Telerik team
 answered on 06 Dec 2010
1 answer
132 views
Hello everybody,

I'm using the radchard and I'm trying to rotate the x axis labels. When I set the RationAngle property, the labels rotate.
The problem is, that the center of the rotation is in the middle. Is it possible to change the center of rotation to the left corner?

Thanks in advance...
Nikolay
Telerik team
 answered on 06 Dec 2010
5 answers
349 views
Have a problem where the position of the drop down portion of a RadCombox is skewed by the parent css.  More specifically, position:relative.  Where can I find the css class to affect the drop down manually?  Changing the parent css is not an option.  Please help .
Ali
Top achievements
Rank 1
 answered on 06 Dec 2010
6 answers
207 views
Hello All,

In my RadGrid, I have a template column of checkbox .
- If any checkbox is checked  then click "delete" button to delete that row (just change status from 'Active' to 'Inactive', not delete that row from database),
  the status of that rows must changed to 'Inactive' (First time, All of rows have 'Active' Status)

In Web controls I can code but in RadControl I can't because of I've never used these controls before.

Plz help me..

This is my code in aspx.vb
------------------------------------------------------------------------------------------------------
Protected Sub btnMultipleRowDelete_Click(ByVal sender As Object, ByVal e As EventArgs)
Dim i As Integer = 0
For Each row As GridViewRow In GridView1.Rows
Dim MatId As String = Convert.ToString(GridView1.DataKeys(row.RowIndex).Value)
Dim checkbox As CheckBox = CType(row.FindControl("CheckBox1"), CheckBox)
If checkbox.Checked Then
i = i + 1
Dim a As String
a = GridView1.DataKeys(row.RowIndex).Values("MatStatus").ToString()

SqlMaterial.UpdateCommand = "Update Material SET [MatStatus] = 'Inactive' Where MatId ='" + MatId + "'"
SqlMaterial.Update()

Dim sb As New StringBuilder
sb.Append("<script type='text/javascript' language='javascript'>")
sb.Append("alert('Delete Complete');")
'sb.Append("document.location ='manageMatTypeData.aspx';")
sb.Append("</script>")
Page.ClientScript.RegisterStartupScript(Page.GetType, "RedirectScript", sb.ToString)
End If

Next row
If (i = 0) Then
Page.ClientScript.RegisterStartupScript(Page.GetType, "RedirectScript", "<script language='javascript'>alert('Please select the row you want to delete');</script>")

End If

End Sub
-------------------------------------------------------------------------------------------
Thanks very much,
Koi
Koi
Top achievements
Rank 1
 answered on 06 Dec 2010
1 answer
84 views
hide expand collapse as creates problem in export with GridTableView.
Princy
Top achievements
Rank 2
 answered on 06 Dec 2010
6 answers
787 views
How to bind content in radeditor inside the gridview?
Im using the code below but it doesnt work.

<telerik:RadEditor ID="radEditorID run="server" EditModes="Design" Skin="WebBlue" ToolsFile="Telerik/EditorToolsFile.xml"  Height="80px" Width="450px" >                                           
                        <Content>'<%# Bind("Customer_Name") %>'</Content>
</telerik:RadEditor>       

This is the error that is throwing.
A call to Bind must be assigned to a property of a control inside a template.   at System.Web.UI.ControlBuilder.AppendSubBuilder(ControlBuilder subBuilder)
   at System.Web.UI.TemplateParser.AppendSubBuilder(ControlBuilder builder, ControlBuilder subBuilder)
   at System.Web.UI.TemplateParser.ProcessCodeBlock(Match match, CodeBlockType blockType, String text)
   at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
   at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)



I found some posting in the forum but I think this is the old radeditor for the prometheus theres no content property inline.

<telerik:RadEditor ID="RadEditor1" Content=' <%# Bind("ShortDescription") %>'  runat="server"></telerik:RadEditor>

http://www.telerik.com/community/forums/thread/b311D-bdeceh.aspx


Jayesh Goyani
Top achievements
Rank 2
 answered on 06 Dec 2010
1 answer
79 views
We have a requirement to display different activities on a single horizontal row/bar with different color for each of the activity. The activities can occur multiple times during a day and have a start time
     <---activity 1 ---><---activity 2---><------------activity 3-------------><activity 1><---activity 3--->
10:00                   11:00                 12:00                                      14:30          15:00                 16:00


ActivityDate                                       ActivityCode
2010-11-29 01:52:12.810                       40
2010-11-29 02:30:14.927                       45
2010-11-29 03:52:16.343                       50
2010-11-29 04:30:17.847                       55
2010-11-29 05:52:19.727                       60

Is there a chart type suitable for and are there any examples.

Thanks for any help.
Yavor
Telerik team
 answered on 06 Dec 2010
2 answers
440 views
Hi,
Thanks in advance,
basically I m using my own controls which are inherited by RAD controls .
And Now i m using my first column as a client setting checkbox.
now my requiremnt is little bit change and now I want that i m using same my own grid but in that grid there is issue
when i m going to replace that checkBox in side the ClientSettingCheckBox type column to another controls that is simple "Imgae" in obly two rows but I have no solution that how I'll do this..

Please suggest me...

Thanks Regards,
Ravi Kumar Kamboj
Developer
Ravi Kumar Kamboj
Top achievements
Rank 1
 answered on 06 Dec 2010
4 answers
431 views
I have RadWindow opened as modal within page. RadWindow has the only button (LinkButton):

<asp:LinkButton ID="lbProceed" runat="server" CausesValidation="false" OnClientClick="radWnd.Hide();" OnClick="Proceed_Event">Proceed</asp:LinkButton>

So when i click button clients script hides RadWindow and postback doesn't occurs (FF 3.6.12) but when i remove client click event it works ok. On Chrome 7 it works with client side event but i get javascript errors "Failed to load resource" ref to my radwindow page just after postback.

Another one thing... If I hide RadWindow from OnClientClick (as descibed above) and after postback on page load form javascript i am trying to change radwindow size or/and its position:
 GetRadWindow().setSize(GetRadWindow().getWindowBounds().width, height);
                GetRadWindow().center();
$(document).ready(function () {
   GetRadWindow().setSize(GetRadWindow().getWindowBounds().width, height);
   GetRadWindow().center();
});

RadWindow becomes visible again. But if i remove above javascript RadWindow will stay invisible after postback.

I use: Telerik.Web.UI, Version=2010.3.1109.40
cs137
Top achievements
Rank 1
 answered on 06 Dec 2010
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?