Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
85 views
I'm using RAD-Editor 4.4.1.0 in a staged environment (extended SharePoint webapplication) and if I set the StripAbsoluteAnchorPaths and StripAbsoluteImagesPaths to "True", the whole link is stripped except for the page name and that is not a valid SharePoint link. If I set the properties to "False", the url is set according to the staging environment and not the live environment.

This solution should work with RAD-editor 5.x:

http://www.telerik.com/support/kb/article/b454K-kbh-b454T-bme.aspx

Is there a similar solution when using 4.4.1.0? The live environment is not dedicated so I would like to avoid upgrading the RAD-editor if possible.
George
Telerik team
 answered on 06 Aug 2008
1 answer
72 views
Hi,

I'm currently skinning the splitter.

My horizontal arrow images for collapsing and expanding areas seem to be overridden by some default arrows...

In these classes:

collapseBarHorizontalCollapse
collapseBarHorizontalCollapseOver
collapseBarHorizontalExpand
collapseBarHorizontalExpandOver

I have the background set to new (png) images, but they are never displayed.

Regards,
-DJ-
Svetlina Anati
Telerik team
 answered on 06 Aug 2008
1 answer
135 views
Hi,
First, i am sorry, i'am newbe with this thing. i 'am geting this error when using sortting with radgrid.

Method 'Public Sub RadGrid2_SortCommand(source As Object, e As Telerik.Web.UI.GridSortCommandEventArgs)' does not have a signature compatible with delegate 'Delegate Sub GridSortCommandEventHandler(source As Object, e As Telerik.WebControls.GridSortCommandEventArgs)'.

Here is some of my code:
<rad:RadGrid runat="server" id="RadGrid2" GridLines="None" Skin="Default"
            AutoGenerateColumns="False" OnSortCommand="RadGrid2_SortCommand"
            OnSelectedIndexChanged="RadGrid2_SelectedIndexChanged" AllowSorting="True" >

And code behind:
Sub RadGrid2_SortCommand(ByVal [source] As Object, ByVal e As GridSortCommandEventArgs)
        Dim tableView As GridTableView = e.Item.OwnerTableView
        If e.SortExpression <> "" Then
            BindData(Session("thisPIID"), e.SortExpression)
        End If
    End Sub

Can you please tell me what am i doing wrong here, and how can i fix it.Thanks.
License Developer
Top achievements
Rank 1
 answered on 06 Aug 2008
3 answers
158 views

Sir,

I have two tables and the grid is bound with the 1st table.But there is a column which shows data from the 2nd table.That is achieved by a userdefined funtion which returns the data based on the arguments(eg:foreignkey) passed to it.This fn is calld in each itemdatabound.The prblm is i want to filter that 2nd table data.As the filtering is applied on grid's bounded data,it becomes a prbm for me.
I Enter the filtering expression in txtFilter which is not a child ctrl of grid.
In the userdefined fn I store the args of the fn is a session object as

 

Protected

Function ParseMessage(ByVal nWFCode As Integer, ByVal bIsRejected As Boolean, _

ByVal bIsHistory As Boolean, Optional ByVal sType As String = "P", _

Optional ByVal sDocId As String = "", _

Optional ByVal dbConn As SqlConnection = Nothing) As String

sStatusDesc = WorkFlowMessages.GetMessage(nWFCode, bIsRejected, bIsHistory, sType, sDocId, dbConn)

If

(txtFilter.Text <> "" And txtFilter.Text = sStatusDesc) Then

ViewState(

"StatDocid") += sDocId + ","

End If

In NeedDataSource event

ds = GetDataSet()

Dim

docid As String = ViewState("StatDocid")

Dim filterExpression As String

Dim list As DropDownList = DirectCast(((txtFilter.NamingContainer).FindControl("drpFilterOnField")), DropDownList)

If (docid <> "") Then

Dim docidcnt As Integer = docid.Length

docid = docid.Remove(docidcnt - 1, 1)

filterExpression =

"(DocumentId in(" + docid + "))"

Dim dv As New DataView()

dv.Table = ds.Tables(0)

dv.RowFilter = filterExpression

WorkDetailsGrid.DataSource = dv

In WorkDetailsGrid_PreRender event

WorkDetailsGrid.MasterTableView.Rebind()

But it is not working.Is ther any way to solve my prbm.I bacme mad due to it
Plz help me....................

Thanks
Priya
Top achievements
Rank 1
 answered on 06 Aug 2008
5 answers
252 views
Hi
I believe i have found a bug with the rendering of the asp checkbox control. If you have this control on a page, but have not specified a Text property, or if you have an empty Text property value, the checkbox will not render
Georgi Tunev
Telerik team
 answered on 06 Aug 2008
2 answers
708 views

Hi Friends,
    Can anyone help me solve this problem.
    i am using Grid for Asp.Net Ajax.
   This problem arises for me when i make the Property  AutoGenerateColumns="False".

Thanks

K²

kiran
Top achievements
Rank 1
 answered on 06 Aug 2008
2 answers
155 views
Hi

Is it possible to apply multiple content filters to the RadEditor? I want to use ConvertToXHTML but also want it to indent the html so that it is more readable. Being an enum I can only select one.

Thanks
Tristan
AbsolutelyN
Top achievements
Rank 1
 answered on 06 Aug 2008
1 answer
98 views
Hi All,

Is Telerik going to build a control that enables printining directly from sliverlight?

Thanks
Ian
Valentin.Stoychev
Telerik team
 answered on 06 Aug 2008
1 answer
109 views
Hi,

We recently updated to the latest version of the rad controls (2008.2.723) and have encountered a new issue. I have a grid in SharePoint that is used to display some information on different SPField objects. So in my code i set the datasource of the grid to a List<SPField>. The issue seems to be that the grid tries to cast the objects in that list as the type of the first object, instead of casting it as the type the list contains. For example: I have a List<SPField> with 3 fields in it. Field 1 is of Type1, Field 2 is of Type2, Field 3 is of Type3. The error that is displayed is that it was unable to cast object of Type2 to type Type1. Why is it even casting these objects as their own type if i have it in a List<SPField>? Shouldn't it only be casting these objects as SPField?
Dimo
Telerik team
 answered on 06 Aug 2008
1 answer
108 views
The Rad Grid that we have has the ability to select rows using the mouse as well as keyboard arrow keys. However, doing so shows two seperate rows selected. how do we continue to use only one selected row. i.e when the mouse selection is used only that row should be selected, and when the keyboard is used only that row should be selected.

At one time only one type of row should be selected.

To Recreate:
Select a Row using the mouse click say # 3 in the Grid, it is hilighted.
Next, use the keyboard arrows, and move the arrows keys down. 

you can now see two rows selected. 1) the one that was highlighted/selected using the mouse, 2) the one that was selected using the keyboard arrows.   
Dimo
Telerik team
 answered on 06 Aug 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?