Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
187 views
Hi,

I'm using RadEditor in custom Aspx file which located under _layouts folder
but I am having problem with "Find and Replace" icon, when I click this icon popup diaglo appare as attached image (No text).

How to resolve this?

PS. Here is web.config of DialogHandler
    <add name="Telerik.Web.UI.DialogHandler" path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI" DialogHandlerUrl="~/Telerik.Web.UI.DialogHandler.aspx"  /> 

Thanx,


Stanimir
Telerik team
 answered on 07 Oct 2010
1 answer
110 views
I get the following error (Using VS2010 .Net and Dynamic Data + latest DD bits for Telerik RadGrid, and Entity Framework for data model);

Error: Store update, insert, or delete statement affected an unexpected number of rows (0). Entities may have been modified or deleted since entities were loaded. Refresh ObjectStateManager entries.

when Inserting with the following code;
<Columns>
    <telerik:GridTemplateColumn UniqueName="CommandColumn">
        <ItemTemplate>
            <asp:LinkButton runat="server" ID="LinkButton1" Text="Edit" CommandName="Edit" /><br />
            <asp:LinkButton runat="server" ID="LinkButton2" Text="Delete" CommandName="Delete" OnClientClick='return confirm("Are you sure you want to delete this item?");'/>
        </ItemTemplate>
        <EditItemTemplate>
            <asp:LinkButton runat="server" ID="LinkButton1" Text="Update" CommandName="Update" /><br />
            <asp:LinkButton runat="server" ID="LinkButton2" Text="Cancel" CommandName="Cancel" CausesValidation="false" />
        </EditItemTemplate>
    </telerik:GridTemplateColumn>
    <%--<telerik:GridEditCommandColumn />
    <telerik:GridButtonColumn CommandName="Delete" Text="Delete" ConfirmText="Are you sure you want to delete this item?" />--%>
</Columns>

Note I've commented out the telerik command columns (wich work fine) to get the command buttons in the same column (and use icons removed for simplification)

Note: the error only occurs when clicking Update during Insert, and just by changing button the the two telerik buttons commented out the error goes away :(

Regards
Steve Naughton (MVP)
Radoslav
Telerik team
 answered on 07 Oct 2010
3 answers
196 views
hi,

i am trying to run Telerik.Web.UI_2010_2_826_Trial.msi
by running the command:
  "msiexec /i Telerik.Web.UI_2010_2_826_Trial.msi /limev Telerik.Web.UI.Install.log" from the terminal.
But installation error is coming.
I want to know,is there support for telerik controls on ubuntu debian environment or not?
if there is suggest me how to work.

Thanks
Daniel
Telerik team
 answered on 07 Oct 2010
1 answer
38 views

Hi,

         FilterDelay is not supported by Telerik.Web.UI.GridRatingColumn.

I think this is a bug, its already fixed. In which version the above bug is fixed. We are using Version is 2010.1.519.40.

Regards,
Tamilselvan.S
Veli
Telerik team
 answered on 07 Oct 2010
1 answer
122 views
Hi all,

I'm having an odd problem - odd in that it used to work, and I can't identity what's changed to make it no longer work.

I have a user control which contains a multiview, and on one tab there's a RadGrid showing attachments (more-or-less lifted from the example on the Telerik site) and an "add new attachment" button which displays a filename box, browse button and an insert / cancel links... again, just like the example on the telerik site.

When I browse to a file (e.g. dialonly.png) and select it the filename (but not path) is populated in the filename box. I hit "insert" and I get this:

Source: System.Web

Message: Exception of type 'System.Web.HttpUnhandledException' was thrown.

Stack trace: at System.Web.UI.Page.HandleError(Exception e) 
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 
at System.Web.UI.Page.ProcessRequest() 
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) 
at System.Web.UI.Page.ProcessRequest(HttpContext context) 
at ASP.trading_customerview_aspx.ProcessRequest(HttpContext context) in c:\Users\Kevin\AppData\Local\Temp\Temporary ASP.NET Files\root\31738672\d2138b1c\App_Web_m5moos4i.12.cs:line 0 
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() 
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

 

Inner exception:

Source: System.Web.Extensions

Message: Invalid JSON primitive: dialonly.png.

Stack trace: at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializePrimitiveObject() 
at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeInternal(Int32 depth) 
at System.Web.Script.Serialization.JavaScriptObjectDeserializer.BasicDeserialize(String input, Int32 depthLimit, JavaScriptSerializer serializer) 
at System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit) 
at System.Web.Script.Serialization.JavaScriptSerializer.Deserialize[T](String input) 
at Telerik.Web.UI.RadUpload.LoadPostData(String postDataKey, NameValueCollection postCollection) 
at Telerik.Web.UI.RadWebControl.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) 
at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) 
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)



I'm pretty sure (having been back though subversion logs) that the only thing that's changed since this worked is that we're now using a newer build of the telerik ASP.Net AJAX suite than we were before when it worked. We're not using jQuery or any other library on that page, and nor are the controls embedded in any non-telerik controls. There is a RadAjaxManager and RadScriptManager on the page, and the user controls in question (I have the same problem on all of them) are loaded into a pane of a RadSplitter.

I'm at a bit of a loss as to where to start looking at this - I don't actually know where the JSON stuff is happening in the background, so I'm a bit in the dark as to where to look for more info!

Cheers for any help,

Kev
Veli
Telerik team
 answered on 07 Oct 2010
1 answer
80 views
Hi,
Since onResponseEnd does not seems to be called when an ajax request fails (for any reasons, like a network drop), is there a way to give a feedback to the user that something has gone wrong ?

Thanks a lot.
Shinu
Top achievements
Rank 2
 answered on 07 Oct 2010
3 answers
153 views
Good day!
I have two menu's: First one and Second one.
First The SecondOne is empty.
When I click on FirstMenuItem, I add items to the Second one. If FirstMenuItem has NavigateUrl, a NavigateUrl page opens and there are no Items in the SecondOne menu =( How can I keep them still aftet NavigateUrl redirect?
lina fetisova
Top achievements
Rank 1
 answered on 07 Oct 2010
2 answers
403 views

Hi,
I'm opening a popup with this code:

 

window.radopen(

 

'../PopUp/PopUpLinee.aspx', 'PopUpPiccola');

To pass arguments to the popup i use this javascript function:
 

 

 

 

function OnClientShow(radWindow) {   

 

 

var oText = document.getElementById('<%=hfdRepartoSelezionato.ClientID%>').value;
var arg = new Object(); 

 

 

arg.IdReparto = oText;

arg.IdTurno = "

 

1" 

 

 

radWindow.argument = arg;

}

At this point everithing works fine, but i don't know how to get this arguments when the popuplinee is opened.
Wich event I've to use to "see" the arguments?.
I need to put this arguments in two texboxes inside the popup.

Thank you !!!


 

 

 

 

 

 

archimede
Top achievements
Rank 1
 answered on 07 Oct 2010
1 answer
63 views
Looking for a way to open an external page in a particular RadPane from a Tab selection...Is it possible, is there a sample somewhere?

thanks in advance
Shinu
Top achievements
Rank 2
 answered on 07 Oct 2010
3 answers
141 views
Hello ,

  I am trying to access controls in an edit form to render the visibility of certain controls I tried the following but cannot find the controls ,

Public Sub RadGrid1_ItemCommand(ByVal source As Object, ByVal e As GridItemEventArgs) Handles RadGrid1.ItemEvent
        If TypeOf (e.Item) Is GridEditFormInsertItem Then
            Dim item As GridEditFormInsertItem = CType(e.Item, GridEditFormInsertItem)
            Dim panel As Panel = DirectCast(item.FindControl("Panel1"), Panel)
            Dim cmbDataType As RadComboBox = DirectCast(item.FindControl("DataTypeDropDown"), RadComboBox)
            If cmbDataType.SelectedValue = "Choice" Then
                panel.Visible = True
            Else
                panel.Visible = False
            End If
        End If



what would be the proper method to access the controls?
Princy
Top achievements
Rank 2
 answered on 07 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?