Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
103 views
I have a pretty complex control (.net 3.5) that uses RadAjaxManager for all of its ajax interactions. I have entries there for every control that can initiate an Ajax request, along with all of the controls that each should update.

There is one button there that has recently stopped updating. In the past this has always been caused by it making some modification to a control that is not listed as one if its AjaxUpdatedControls.
  • I have verified that it works fine with Ajax turned off
  • I have stepped through in debug mode to verify that there are not Exceptions occurring during execution
  • I have tried adding the button as a Postback control, but this doesn't work as it is contained within a different control that is ajaxified
  • I have tried enclosing all controls on the page in a panel, and setting the panel as the button's sole AjaxUpdated control
  • I have stepped through in debug mode drying to discern all of the controls that might be updated from this button's click event.

Still, nothing works. I haven't been able to get to the root of the problem.

Note: The control in question is a RadGrid that is created dynamically during the post back. However, this has worked in the past with this button interaction, so I am not concerned about this being the cause of the current issue.

So my question: is there some way that I can detect what is causing the page to not be updated? Some debugging tool (either server or client side) that will tell me what which control I have missed? I have looked in the help manual for RadAjax, but haven't been able to find anything more specific about how to resolve this. Any help or advice would be appreciated.
Rosen
Telerik team
 answered on 31 Aug 2009
2 answers
200 views
I have a trewwview on the page

  <telerik:RadTreeView ID="RadTreeView1"  runat="server" Skin="Vista" OnNodeClick = "onNodeClicking"    
                             OnNodeCollapse="onNodeCollapse" OnNodeExpand="onNodeExpand" >     
                        </telerik:RadTreeView> 

The onNodeClick works fine but OnNodeExpand and OnNodeCollapse nver fires.  I wrote just basic code and put breaks in and  the code never makes to the break.
Eric Klein
Top achievements
Rank 1
 answered on 31 Aug 2009
4 answers
506 views
Hello,

I'm having some difficulties in how to filter values without using the filtermenu.
For example:
First: I Bind RadGrid using SqlDataSource1.
Second: It is possible to filter a RadGrid programmatically by a value obtained by a SqlDataSource2 ?

Since now I thankyou for any help.

Marcio Nascimento
Mr. Plinko
Top achievements
Rank 1
 answered on 31 Aug 2009
0 answers
131 views
I have  option in the context menu , "Show On" , in the schedulare for one date , when i click the all the appointments would show on the client application , and when i again do the Right click again on the same date "Show OFF" would be displyed instead of "Show On" , and Vice versa ...Will it be possible...?

REgards
Samir
Samir Patel
Top achievements
Rank 1
 asked on 31 Aug 2009
1 answer
125 views
Hi,

I have a problem with the checkboxes when creating child nodes via ServerSideCallback. The child nodes show fine when they get back to the client except the check boxes aren't appearing. The level 0 (top level) nodes are fine, they show the check boxes ok but child nodes don't seem to want to show at all.

I've spent quite a while on this now but haven't been able to fix the issue.

We are using the latest version of the 2009 Q2 release. The treeview has Checkboxes set to true and the child nodes have Checkable also set to true. Am I missing something here or could this be a bug?

Many Thanks in advance,

Steve.
Yana
Telerik team
 answered on 31 Aug 2009
1 answer
88 views
On the examples there are lines such as, "<Selecting AllowRowSelect="True" EnableDragToSelectRows="false" />.  One of the parameters is uppercase while the other is lower.  Why is this?  Is it case sensitive, if so which are suppose to be uppercase and which lower?  How is one to know?

Daniel
Telerik team
 answered on 31 Aug 2009
1 answer
248 views
I was trying to follow the demo for FileExplorer / Filter files and download at  http://demos.telerik.com/aspnet-ajax/fileexplorer/examples/filteranddownloadfiles/defaultcs.aspx
But I am not having much luck, so far I place the following script in the <head>

 <script type="text/javascript"> 
        //<![CDATA[
        function OnClientFileOpen(oExplorer, args)
        {
            var item = args.get_item();
            var fileExtension = item.get_extension();
           // var fileDownloadMode = document.getElementById("chkbxDownoaldFile").checked;
            if ((true == true) && (fileExtension == "pdf" || fileExtension == "pdf"))
            {// Download the file
                // File is a image document, do not open a new window
                args.set_cancel(true);
                // Tell browser to open file directly
                var requestImage = "Handler.ashx?path=" + item.get_url();
                document.location = requestImage;
            }
        }
        //]]> 
    </script> 

My FileExplorer Looks like this:
<telerik:RadScriptManager ID="RadScriptManager1" Runat="server"> 
        </telerik:RadScriptManager> 
        <telerik:RadFileExplorer ID="RadFileExplorer1" Runat="server"  onclientfileopen="OnClientFileOpen" 
            DisplayUpFolderItem="True" Skin="Office2007"  
            VisibleControls="TreeView, Grid, Toolbar, ContextMenus" EnableCopy="True"> 
<Configuration SearchPatterns="*.*" ></Configuration> 
  <Configuration  ViewPaths="~/doc_manager_files/" UploadPaths="~/doc_manager_files/"  
                        DeletePaths="~/doc_manager_files/" MaxUploadFileSize="204800000" /> 
 
        </telerik:RadFileExplorer> 

And I added this to the code behind:
Private Function IsFiltered(ByVal name As String) As Boolean 
        If name.ToLower().EndsWith(".sys") OrElse name.ToLower().Contains("_sys") Then 
            Return True 
        End If 
        Return False 
    End Function 

I am not sure what else to do. It seems the doc to be downloaded will be handled by a handler.ashx file but I cannot see any code for that file.

Fiko
Telerik team
 answered on 31 Aug 2009
6 answers
213 views
I have 3 type of appointment and I need 3 different appearance, not simply a different color but different content. Currently I have a blank template and  I add control depending on the type in appointmentCreated. I would like to know if someone knows a better way.

Thanks
Jean-Luc
Peter
Telerik team
 answered on 31 Aug 2009
1 answer
120 views
I have a RadFileExplorer with the following code:
<telerik:RadScriptManager ID="RadScriptManager1" Runat="server"> 
        </telerik:RadScriptManager> 
        <telerik:RadFileExplorer ID="RadFileExplorer1" Runat="server"    
            DisplayUpFolderItem="True" Skin="Office2007"  
            VisibleControls="TreeView, Grid, Toolbar, ContextMenus" EnableCopy="True"> 
<Configuration SearchPatterns="*.*" ></Configuration> 
  <Configuration  ViewPaths="~/doc_manager_files/" UploadPaths="~/doc_manager_files/"  
                        DeletePaths="~/doc_manager_files/" MaxUploadFileSize="204800000" /> 
 
        </telerik:RadFileExplorer> 
     

If I delete a file from the root directory (doc_manager_files) it refreshes and the file is no longer visible. However, I created two sub directories (using the FileExplorer New Folder function). Now, if I move or delete a file from one of the sub directories nothing changes. I will only see the changes if I reload the entire page.

What can I do about this?


Fiko
Telerik team
 answered on 31 Aug 2009
1 answer
140 views
Hi,

1.Using RadGrid I am displaying a set of data. One of the column is set as a griddropdowncolumn option. The related database field holds the data as 0,1 and Null. I would like the grid to show it as Rejected, Approved and Pending respectively. How do I accomplish this.
2.In the RadGrid when doing an Inline edit only 2 options should be made available that is Approved and Rejected. How do I accomplish this?

Thanks
Sabrish
Mira
Telerik team
 answered on 31 Aug 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?