Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
907 views

Hi,
I am using the licenced version of Rad controls.
I have created a wizard using aspx pages.
on first page i have a combobox and next button. and on 2nd page i have a previous button. Previous button has code
"window.history.back(-1);" OnClientClicked event.
From first page I select item from combobox and click on next button. As a result request is redirected to 2nd page where i click on the previous button. So request is redirected to 1st page. And it shows the selected value in combobox.
But when i access the combobox selectedvalue it shows value at 0 index not the selected one.

Please suggest solution.

Dimitar Terziev
Telerik team
 answered on 01 Apr 2011
4 answers
221 views

I'm thinking this is only something I need to worry about in my development environment, but I'd like to be sure, and if possible, find a way to supress the error.

If I have the page loaded with the Async Upload control on it, and I (1) make any change to the page, or (2) recycle the app pool, or (3) restart the application by changing the web.config, the next postback causes a huge alert window to open that shows the following:

RadUpload Ajax callback error. Source url returned invalid content: 
  
<html>
    <head>
        <title>The resource cannot be found.</title>
        <style>
         body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} 
         p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
         b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
         H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
         H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
         pre {font-family:"Lucida Console";font-size: .9em}
         .marker {font-weight: bold; color: black;text-decoration: none;}
         .version {color: gray;}
         .error {margin-bottom: 10px;}
         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
        </style>
    </head>
  
    <body bgcolor="white">
  
            <span><H1>Server Error in '/CABS_Dev' Application.<hr width=100% size=1 color=silver></H1>
            <h2> <i>The resource cannot be found.</i> </h2></span>
            <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
            <b> Description: </b>HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.
            <br><br>
            <b> Requested URL: </b>/CABS_Dev/Telerik.RadUploadProgressHandler.ashx<br><br>
            <hr width=100% size=1 color=silver>
            <b>Version Information:</b> Microsoft .NET Framework Version:2.0.50727.4952; ASP.NET Version:2.0.50727.4955
            </font>
    </body>
</html>
  
<!-- 
  
[HttpException]: The file '/CABS_Dev/Telerik.RadUploadProgressHandler.ashx' does not exist.
   at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
   at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
   at System.Web.UI.SimpleHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
   at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
   at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
-->
  
../Telerik.RadUploadProgressHandler.ashx?RadUrid=ddbc8bc9-8901-4652-8b85-9c7590f67636
  
Did you register the RadUploadProgressHandler in web.config?
  
Please, see the help for more details: RadUpload for ASP.NET Ajax - Configuration - RadUploadProgressHandler.

I didn't even have to upload any files.  If i just load the page, go to the tab that has the async upload control in it, then click on another tab (causing a postback) after doing one of the above actions, I get this error.

Any way to trap/check/supress this?

Thank you.
Genady Sergeev
Telerik team
 answered on 01 Apr 2011
3 answers
167 views
Is there any way to display an aspx page inside a tooltip window? Similar to the RADWindow.

And also pass data between both pages..
Svetlina Anati
Telerik team
 answered on 01 Apr 2011
1 answer
62 views
hi,

how can i show image at right side of selected node????
Veronica
Telerik team
 answered on 01 Apr 2011
2 answers
55 views
Hi

  We are facing problem with drag and drop feature in tree view particularly in MAC, when we drag and drop items inside grid view from one item to another or if we try to rename the items inside grid view or if we drag n drop items to telerik tree view, data won't get updated or its updated very very slowly.

  Just wanted to know if this a known issue in MAC or if there is work around.

thanks
Pramodh
Pavel
Telerik team
 answered on 01 Apr 2011
5 answers
143 views

We are evaluating Rad Editor (version 5) for MOSS. We have a custom theme for our site and after using the Rad Editor, we noticed that the styles are not the same as our theme. What my end result is that when ever a user adds this webpart to their site,  and adds content, the fonts and styles would be the same fonts as our custom theme. I have read the documentation at http://www.telerik.com/support/kb/aspnet-ajax/sharepoint/populating-radeditor-s-apply-css-class-dropdown-with-custom-styles.aspx and followed these instructions, but it seems that when I add content to the page it does not follow the new CSS file that I created at  /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/custom.css. I added this to my toolsfile.xml

<cssFiles> 
    <item name="/_wpresources/Custom.css " /> 
  </cssFiles>


It looks like its still referencing HtmlEditorTableFormats.css and HtmlEditorCustomStyles.css.
Again, my end result would be that when a user adds content to this webpart it would use our theme css file. I just downloaded this webpart and haven't had much time to play with  it.
Stanimir
Telerik team
 answered on 01 Apr 2011
2 answers
47 views
Hello,

I'm just embarking on using the Async Upload.  This is an awesome and easy-to-use tool.  I was able to take a cumbersome process where users were uploading several files one at a time, and make it so they could select all of the files at once.  Beautiful!

Everything is working well, except that I think the progress area has room for improvement.

First, and most importantly, when I'm uploading several files, the progress meter seems only to be aware of the file that's currently uploading, as well as files that have completed.  For example, say you're uploading 5 files.  When the first file is uploading, both progress bars reflect only that file.  The top one shows the percentage of the current file, and the bottom one shows 0%, or 0/1 files.  Once the first file completes, and the second one starts, the top bar shows progress considering only the first two files, so it starts at 50% (assuming the files are roughly the same size), and the bottom bar shows 50%, or 1/2 files.  Once the second file completes, and the third one starts, the top bar shows progress considering only the first three files, so it starts at about 66% (again, assuming the files are roughly the same size), and the bottom bar shows 66%, or 2/3 files. 

Am I doing something wrong, or is this a known bug?  FYI, I tested the demo page at http://demos.telerik.com/aspnet-ajax/upload/examples/async/multiplefileselection/defaultcs.aspx?product=asyncupload, and I saw the same behavior.  I selected 3 files that were about 3MB each.

Second, I find the fact that the progress area disappears upon completion of the uploads to be visually confusing.  Consider when an upload only takes a second or two.  You don't have sufficient time to recognize what you're looking at before it disappears.  I would like the option to have the progress area stay open.  Is this possible?  None of the demos do this, so I fear not.  If that's the case, would you consider making this an option?

Thank you.
Peter Filipov
Telerik team
 answered on 01 Apr 2011
2 answers
85 views
Currently we are working on a new project. With the new RadRibbonBar (using v.2011.1.315.40) - which is very nice - we decide to try to implement a RibbonBar for the RadEditor. Basically we are rewiring all the calls to the RadEditor using the javascript fire() method just as in the example at the demo site.

Sofar this was working perfectly. However when doing:

editor.fire("MediaManager");

we will get the javascript error:

"Runtime-fout Microsoft JScript: Sys.ArgumentNullException: Dialog Parameters for the MediaManager dialog do not exist
Parameter name: dialogName"


A trace on the  editor javascript object showed that

editor._dialogOpener._dialogDefinitions.MediaManager

Is expected but does not exists. (See attachment) For all to other dialogs like 'LinkManager' or 'TableWizard' it the DialogDefinitions are set.

---

To overcome this problem we tried to create a work-arround:

var ImageManagerDefinitions = editor._dialogOpener._dialogDefinitions.ImageManager;
var MediaManagerDefinitions = objectCloner(ImageManagerDefinitions)
MediaManagerDefinitions.Title = "Media Manager";
editor._dialogOpener._dialogDefinitions.MediaManager = MediaManagerDefinitions;

However this is not the full solution.. Because the ImageManager is now loaded. To make the work-arround functional de SerizalizedParameter of the Media Manager is required. Sofar we didn't find out how to get this Parameter.

Hope you can fix this bug and  tell us how to get that SerizalizedParameter  or tell us that we are doing something realy wrong here...





Dobromir
Telerik team
 answered on 01 Apr 2011
1 answer
162 views
Hi,

I am using a TreeView that is bind to databse.
I am using CheckBoxes="true" TriStateCheckBoxes="true"  CheckChildNodes="true"

Look somthing like this but checkbox ;

Node 1 :
  • item 1
  • item 2
  • item 3

Node 2:

  • item 11
  • item 22
  • item 33

How can i find if the parent node is check?
Here what i need to do!

If the user click item 1 and item 3 and click submit
He will recive a message that item 1 and item 3 is check
For that part i have no probleme

But if  he check item 1 , item 2 and item 3 "all the item"  then
He will receive a message that  Node 1 is check


Any idea how can do this?
For the first part i am using something like this :

Dim nodeCollection As IList(Of RadTreeNode) = RadTreeView1.CheckedNodes
  
        For Each node As RadTreeNode In nodeCollection
              MsgBox()
           Next



Princy
Top achievements
Rank 2
 answered on 01 Apr 2011
1 answer
137 views
Hi,

I am using a RadGrid with Column filtering enabled.
What i would like to achieve is to Apply all RadGrid column filters at once with a button_click, and somehow disable the automatic refresh for every single column.

I was thinking i could disable the refresh that is getting triggered after setting a column filter, but was unable to do so.

Any help would be appreciated!
Thanks!
Daniel
Telerik team
 answered on 01 Apr 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?