Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
112 views
Hi

I am trying to change the paging configuration size for the number of items displayed in the Image/Flash/Media/Document manager dialogs but cannot see where I would set this value.

I have followed the instructions in the "Customising Built In Dialogs" page and have been looking at the source of the "/EditorDialogs/FileBrowse.acsx" control :

            <telerik:RadFileExplorer ID="RadFileExplorer1" Height="410px" Width="400px" TreePaneWidth="150px" 
                runat="Server" EnableOpenFile="false" AllowPaging="true"> 
 


...but cannot see how I would change the paging configuration to limit results to say 10 per page.

Thanks

Steve
Lini
Telerik team
 answered on 05 Nov 2009
1 answer
115 views
Hi,

I want to bing nested grid inside the ItemDataBound event of parent grid but don't know how to get reference of Nested grid.
e.item.findControl is not working here.

Please help me out if you have any solution and idea releted to nested grid binding.

Thanks in advance

Regards
Devanand Jha

Tsvetoslav
Telerik team
 answered on 05 Nov 2009
9 answers
238 views
Im trying to do some custom bindings on a combo box when its on a EditForm in a Grid.  I can make the combox work when its outside the grid but when I move it into the grid it says it cant find the refrence to the combobox???


This works perfectly when the combobox is outside of the grid, how do I make it work when its inside the grid editform template?
    Protected Sub RadComboBox1_ItemsRequested(ByVal o As Object, ByVal e As Telerik.Web.UI.RadComboBoxItemsRequestedEventArgs) Handles RadComboBox1.ItemsRequested  
        CustDropDownSQL.SelectCommand = "SELECT [CCUST], [CNME] FROM [RCM] WHERE [CMID] = 'CM' and [CNME] Like '" + e.Text + "%'  ORDER BY [CNME] ASC" 
        RadComboBox1.DataSource = CustDropDownSQL  
        RadComboBox1.DataTextField = "CNME" 
        RadComboBox1.DataValueField = "CCUST" 
        RadComboBox1.DataBind()  
    End Sub 
Vesko
Top achievements
Rank 2
 answered on 05 Nov 2009
8 answers
202 views

Hi

i'm new with telerik controls i have some questions about the radGrid

1- i have bound the grid to a sqldatasourse and set the data source insert query set allowautomaticdelete, allowautomaticedit,allowautomaticinsert all to true

now i have edit and delete buttons where is the insert button it is not shown

2- i made a normal link button insted of the insert button and but onclick event for that button 

RadGrid1.MasterTableView.InsertItem()

that show an insert form with text box for every column except the primary key it not shown of course the insert fails without the primary key

3- how can i customize the insert form (use checkbox and dropdown insted of textbox)

thanks for the help

Maher Khalil
Top achievements
Rank 1
 answered on 05 Nov 2009
7 answers
171 views
Hi,

I would like to know if there is user documentation for the Rad Editor.

I mean, the user that will use the editor is not used to work with it (they are not developpers).
I know, your editor is almost like Micorsoft Word or others, but the users ask me some documentation.
I can't give them the official Rad Editor documentation because it is for developpers.
The MOSS help button is not good enough because there are differences between the RAD Editor and the MOSS Editor.
The Rad Help button is too basic. It only describes the function of each button. I would like a real documentation with exemples, hints...

Do you have some documentation that will satisfy my users?

Thx a lot

Sylvain


Stanimir
Telerik team
 answered on 05 Nov 2009
2 answers
124 views
Hi,

We're having a problem with sorting when we turn the viewstate off for the RadgGrid.
When the viewstate is on (default) first the SortCommand event is fired when a user clicks on a column header to sort, giving us the possibility to alter the query that is going to be used in the NeedDataSource event to set the DataSource of the grid such that the newly requested sorting is applied. Then the NeedDataSource event fires (which uses the query that has been altered in de SortCommand event handler so that the requested sorting is applied).
However, when we turn viewstate off first the NeedDataSource event is handled, using a query that applies the sorting as it was when a user clicked a column header to change the sorting because the query has not yet been altered by the SortCommand event handler, and then the SortCommand event fires altering the query such that is applies the requested sorting but then it's to late, the query has already been used to set the grid's DataSource.

Of coarse it is possible to alter the query in the SortCommand event handler and reset the grid's DataSource, but that way the database is accessed twice of which the first is quite unnecessary.

Does anyone have an idea how to solve this problem?

Regards,

Mink

Mink
Top achievements
Rank 1
 answered on 05 Nov 2009
2 answers
184 views
Hi,

I've deployed our website to a Windows Server 2008 R2. IIS7 on it has the default settings specified.
In my Web.Config i added the following handler :
<add name="Telerik.Web.UI.WebResource" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" />
I also added the application/x-axd to the mime types of the website just to make sure.
The ApplicationPool is running in integrated mode. I've read this blog about how to set up Telerik with IIS7.
After executing the steps provided we're still getting an error related to the WebResource in our website.
This is the error :

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; InfoPath.1; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Timestamp: Wed, 28 Oct 2009 08:03:58 UTC

Message: Sys.WebForms.PageRequestManagerServerErrorException: Exception has been thrown by the target of an invocation.
Line: 6
Char: 62099
Code: 0
URI: http://localhost:81/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_radScriptManager_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3ad0c4ca6e-6b5d-49b6-922d-5244924fb100%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.2.826.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3ad2d891f5-3533-469c-b9a2-ac7d16eb23ff%3a16e4e7cd%3aed16cbdc%3a11a04f7e

Does anybody have an idea what i can do to fix this error?
Thanks in advance!

Jeroen Eikmans
Top achievements
Rank 1
 answered on 05 Nov 2009
3 answers
123 views
Hello,
I use a RadGrid control with the option "AllowColumnResize" set to true.
The Grid is in the update panel with the timer attached. The timer updates gridevery 7 seconds.
The problem I have is that if I'm resizing the column and timer event occurs then IE7 show the error in this function:

Telerik.Web.UI.GridColumnResizer.prototype={dispose:function(){try{this._destroy()
}catch(a){}if(this._onMouseUpDelegate){$telerik.removeExternalHandler(document,"mouseup",this._onMouseUpDelegate)
}if(this._onMouseMoveDelegate){$removeHandler(this._column._owner._owner.get_element(),"mousemove",this._onMouseMoveDelegate)
} .....

Actually the $removeHandler throws the error because the object this._column._owner._owner.get_element() has no event "mousemove" at all.

Do you have working example with RadGrid, timer to update it AND column resizing?
Thank you.

Nikolay Rusev
Telerik team
 answered on 05 Nov 2009
1 answer
146 views
Hi,

We have developed an asp.net webpart that is integrated into the sharepoint site.
We have used Telerik RadFormDecorator in a RadAjaxPanel.
The RadAjaxPanel contains another panel whose display is made to toggle on the click of a linkbutton.
The problem is that using RadFormDecorator in my code is impacting the performance of the display of inside panel (only in IE 7.0)
The performance is fine in Firefox.
Even the characters on a button get displaced as I hover on the button in IE. This also works fine in FireFox.

Please let me know the solution to this problem in IE7 asap.
Its kinda urgent.

Thanks n Regards,
Shikha


Martin
Telerik team
 answered on 05 Nov 2009
29 answers
324 views
Hi,

It didn't take long to find an issue on this one and it's even visible on your demo site.  Have a look at the buttons on the form decorator.

The button text is decidedly off centre - there seems to be an extra gap to the left of the text.  On wider buttons with more space on either side of the text the effect is more pronounced!

Regards,

Jon 
Martin
Telerik team
 answered on 05 Nov 2009
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?