Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
187 views
I found runtime error every times to upload media in IE6. How should I do ? Please help.

OS: Window XP SP2
Browser: IE6 SP2

Reproducing Step
1.Create new post into personal blog
2.From Media manager click to upload and insert media file
3.After that security information windows will be displayed, click "Yes"
4.Then security information windows will be displayed again, click "Yes"
5. The Message error popup display (Microsoft Visual C++ Runtime Library)
Runtime Error !
Program C:\Program Files\Internet Explorer\iexplore.exe
R6025
-pire virtual function call

Best Regards,
lee
George
Telerik team
 answered on 19 Mar 2008
3 answers
1.6K+ views
I'm using a MySql SqlDataSource with the Rad Scheduler.

I loaded the page with the scheduler and clicked to add a new event, clicked insert and when the page reloaded I got this error:

Unable to cast object of type 'System.TimeSpan' to type 'System.IConvertible'.

I looked in the database and it inserted everything properly, but it looks like it cannot convert my start_time, end_time columns for the select of the Scheduler. 

Any ideas on how to make this work?
Peter
Telerik team
 answered on 19 Mar 2008
3 answers
170 views

To customize a RadHtmlField we managed adding a project specific CSS file easily: 

   :
protected override void OnLoad(EventArgs e)
{
   base.OnLoad(e);
   base.radEditorControl.AllowScripts = true;
   base.radEditorControl.CssFiles = new string[]{ "/styles/css/styles.css" };
:


The editor shows all classes that can be found in styles.css in the "Apply CSS class" dropdown. Cool.

Beside a lot of other style definitions this CSS file contains classes like:

.SaiaStylesCustom-Saia-Text
{
 font-size: 12px;
 font-weight: normal;
 font-family: Arial, Helvetica, sans-serif;
 color: #212121;
}



We now would like to see just these .SaiaStylesCustom-xxx-xxx classes in the dropdown. Therefore we added the following in the OnLoad event handler:

   :
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
base.radEditorControl.AllowScripts = true;
base.radEditorControl.CssFiles = new string[] { "/styles/css/editorstyles.css" };

try
{
base.radEditorControl.CssClasses.Add(".SaiaStylesCustom-Saia-Text ", ".SaiaStylesCustom-Saia-Text");
:


We expected the dropdown to show just the classes we added, but we still can see all the other once present in the CSS file. Any idea what we're doing wrong? Help would be appreciated.

Rumen
Telerik team
 answered on 19 Mar 2008
5 answers
232 views
Hi there,

Unfortunately, the resource files only partly work. Most of the of expressions in RadEditor.Main.resx and RadEditor.Tools.resx are used by the editor and work fine, but not all of them. InsertTable, for instance, is ignored and the tooltip always displays "InsertTable" regardless of what is set in the resource files. It's the same thing with Undo, Redo, Background, and Foreground, and possibly more.

I also tried to set the radEditor.Localization.Tools.InsertTable string value in  codebehind, but this too is ignored...

And the resource files for the Table wizard, LinkManager, etc, do not work at all. I have copied them into the App_GlobalResources folder like I did with
RadEditor.Main.resx and RadEditor.Tools.resx, but neither the default language nor the Norwegian resource file I made is being used by the editor.

Is this a known issue in beta, or are these resource files supposed to fully work now? If so, what are the steps to make the resource files work 100%?

Regards,
TJ
Rumen
Telerik team
 answered on 19 Mar 2008
1 answer
129 views
Hi!

I need to update grid without collapse expanded rows after item insertion.

How i can do this?

Thanks.
Ves
Telerik team
 answered on 19 Mar 2008
3 answers
376 views
I need to disable the hover effects in the calendar, but the method given in the code samples for the old RadCalendar control gives a javascript error with the Prometheus control.  Altering the css to be the same as the default css is not a solution as the hover effect still happens and wipes out my custom highlighting.
Giuseppe
Telerik team
 answered on 19 Mar 2008
1 answer
102 views
Is it possible to do cross domain ajax requests?

I have 2 servers. One has all my image and video files and the other has the website pages.

I would like to be able to upload files to my file server and when finished send a signal to my website so that it knows it is done.

Is this possible?

My video server is something like this: videos.myDomain.com
My website is: myDomain.com

videos.myDomain.com and myDomain.com point to different servers.

Thanks,
Rosen
Telerik team
 answered on 19 Mar 2008
1 answer
66 views
Hi,

I have an existing Asp.Net AJAX application with multiple UpdatePanels. Now, I like to extend my app with the Prometheus Ajax and have some best practice questions. Have I change my hole app to support the Prometheus ajax? E.g. remove the existing Asp.Net ScriptManager, ScriptManagerProxy and UpdatePanels?

Many thanx 
Sebastian
Telerik team
 answered on 19 Mar 2008
1 answer
340 views
I am not sure what forum to post this in, but I think it is more Ajax related than RadWindow so I will post here.

I have an Ajax Update Panel which contains an ASP.net GridView, the gridview has a button that launches a RadWindow that contains a FormView, when you click insert/update on the formview is does the insert/update and closes the RadWindow.

However at this point I would also like the Update Panel (that holds the gridview) refreshed.

My RadAjaxManager looks like this:
  <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">  
         <AjaxSettings>    
                    <telerik:AjaxSetting AjaxControlID="winContact">    
                        <UpdatedControls>    
                            <telerik:AjaxUpdatedControl ControlID="rapListings"></telerik:AjaxUpdatedControl>    
                        </UpdatedControls>    
                    </telerik:AjaxSetting>    
                </AjaxSettings>    
    </telerik:RadAjaxManager> 

Any ides why it is not working?  I belive it is because my RadWindow closes on client side, so how do I call my ajax update using the "OnClientClose" of the RadWindow?
Sebastian
Telerik team
 answered on 19 Mar 2008
1 answer
65 views
Hi,

I have a page with a server control that dynamically creates a RadGrid. The server control is nested inside of an AjaxPanel control (in the markup) with other non-Ajax controls. With the grid in edit mode, a control with autopostback causes the grid control to be created twice on the server with a definite delay between the creations. On the second creation, the LoadViewState function is skipped which causes problems.

Why is the control being created twice? Are there restrictions on autopostback controls in a grid?

Thanks,

Alan Polk
Vlad
Telerik team
 answered on 19 Mar 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?