Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
243 views
How can I pass some arguments into the custom file system provider? The FileExplorer takes a TYPE but it instantiates the class on it's own... I need to be able to pass in arguments or one of our custom business objects so that it has a reference to where the data will be coming from..

Also, how can I get a reference to that provider or to the current data tree from my page? I want to be able to persist from the explorer by serialization etc. I see that FileExplorer.TreeView.GetXML() and that's close but I need the one with ALL of the data (files and directories)

Thanks
Fiko
Telerik team
 answered on 08 Jun 2010
2 answers
120 views

Hey, I'm looking for some advice on how to use History Points with the Rad ASPNET Ajax 2010 controls.

I'm currently saving history points no problem. I'm lacking the code to "restore" a history point. I find that the Navigate event on the script manager doesn't seem to fire when using the forward/back broswer buttons. If I turn the ajax off on the panel... the event fires. Is there a way to get the script manager Navigate event to fire inside of an ajaxified radajaxpanel? Thanks in advance for any help.

<telerik:radscriptmanager runat="server" EnableHistory="True" ID="ScriptManager"></telerik:radscriptmanager> 
 
<telerik:radajaxpanel runat="server" LoadingPanelID="LoadingPanel" ID="AjaxPanel" Wrap="False">  
 
........... OBJECTS IN HERE .................
  
</telerik:RadAjaxPanel> 
 
 
Protected Sub ScriptManager_Navigate(ByVal sender As Object, ByVal e As System.Web.UI.HistoryEventArgs) Handles ScriptManager.Navigate  
        Page.Title = "TEST" 
End Sub 
Maria Ilieva
Telerik team
 answered on 08 Jun 2010
1 answer
116 views
For some reason even after clicking on the Cancel button inside my User Edit Control although it appears to close there is still a small thin blue line underneath it. If something refreshes the page it reopens without Edit being clicked on.

The HTML for this thin blue line looks like this:

<tr>
    <td style="vertical-align: top;" colspan="11">
        <div class="rgEditForm">
            <div style="width: 98%; margin: 0pt 1%;" class="RadGrid RadGrid_Office2007" id="ctl00_mainContentPlaceHolder_rgTicketGrid_ctl00_ctl25_EditFormControl_rgApprovalGrid">
                <input type="hidden" name="ctl00_mainContentPlaceHolder_rgTicketGrid_ctl00_ctl25_EditFormControl_rgApprovalGrid_ClientState"                id="ctl00_mainContentPlaceHolder_rgTicketGrid_ctl00_ctl25_EditFormControl_rgApprovalGrid_ClientState" autocomplete="off">
            </div>
        </div>
    </td>
</tr>

The cancel button inside the form looks like
<asp:ImageButton CommandName="Cancel" runat="server" Visible="true" ID="BtnCancelRemove"
                         AlternateText="Close" Style="float: right" ImageUrl="~/Images/error.gif" />

The button to open the edit form is
                        <asp:Button ID="ApprovalView" runat="server" Text="View" CommandName="Edit" CommandArgument="View" />

Anyone who has an ideas it would be appreciated.
Veli
Telerik team
 answered on 08 Jun 2010
1 answer
239 views
I created an user control with RadTabStrip and RadMulitipage.It is placed in a Radpane in MasterPage.Content page(.ascx file) loaded dynamiclly into Multipage,Tabstrip is used to be a navigation.I built some reports.the reportviewer has it's own scrollbar,Both X and Y.when the content area is larger than the viewer's original size,it ugly. I want the reportviewer to fullfill the content area,the scorllbar of X is placed on the bottom and the Y bar is placed on the right.

what should i do?

Thanks
Sebastian
Telerik team
 answered on 08 Jun 2010
1 answer
102 views
Here are the things I'm trying to do with Explorer

1) Add / remove context menus in different situations (files vs folders for example) (maybe that could be done client side)
2) Server side events on context menu's (I've been trying to figure that one out to no avail)  They're not firing on any delegate I set..
3) Fire client side events upon server side events such as Item_Command etc.. (ScriptManager.register script??? )  OR display some kind of message / popup when we cancel = true on a move for example...
Thanks..

4) What is the difference between FileBrowserContentProvider and FileSystemContentProvider

The example of adding a custom column (which I need to do) uses FileSystem and the example of custom content (from database) uses FileBrowser (I need to do both)

5) How do I get the grid (within the file explorer) to scroll left and right as I add more columns)

Thanks
Fiko
Telerik team
 answered on 08 Jun 2010
1 answer
136 views
hi

how can i generate an automatic date picker on my addnewrecord command in datagrid?

because when i tried this message appears at GridDateTimeColumn : "Telerik.Web.UI.GridInsertionObject"

thanks

regards
webster
Shinu
Top achievements
Rank 2
 answered on 08 Jun 2010
1 answer
190 views
Hi Telerik,

I want to Traversing my RadGrid, can you please give me some demo running project. Thanks
Shinu
Top achievements
Rank 2
 answered on 08 Jun 2010
3 answers
144 views
Anyone who's interested - try this test page (a cut-down of my original problem page):

http://access.videoezy.com.au/LSM/TestTemplate.aspx

Play with the 'Stores' DDL a couple of times - do you get a Loading Panel that stays on?

This only happened when I went from the 2007 controls (Telerik's own Ajax) to the 2010 controls (v2010.1.309.20).
It uses an RadAjaxMgr on the page...the Stores DDL is a User Control, using Dynamic Invoke of a method on the main page.
ALL Ajax assignments in the main page are dynamic... the table below the DDL is all dynamic controls (constructed from metadata).
There is NO Ajax assignment inside the User Control.

To try and resolve this, I have tried the use of ResponseStart and ResponseEnd JS functions, and then debugging the script to trace this: on debug, I saw this sequence:
  1. I changed the Store DDL setting
  2. program reaches the breakpoint in RequestStart;
  3. press F5 to continue, and the loading panel appears....(ok)
  4. .. and the program reaches the breakpoint in ResponseEnd
  5. press F5 to continue, and PART of the loading panel (or one of the two panels) disappears - i.e.part of (or one of the two) the loading panel remains stuck 'on'.

Have a support ticket open, but we're getting nowhere. One problem may be that the support person doesn't see this issue when she tries it - but I do and my clients do!

Happens in IE and in FF too.

Any insights?
Steve
Steve Bywaters
Top achievements
Rank 1
 answered on 08 Jun 2010
6 answers
165 views
I am using ListView with paging to display photos, and jquery lightbox js to display the photos when clicked.
On the first page the photos display using the lightbox, but when i click next the photos wont display right, like the js is not loaded.
The ListView is inside asp:Panel control, and the panel is handled by AjaxManager.
Any ideas?
Vasja Petkovska
Top achievements
Rank 1
 answered on 08 Jun 2010
1 answer
195 views
Hi,

I'm having an issue with the RadChart.Series collection when performing a drilldown operation utilizing the Click event.

I'm able to perform the operation without any issues if I have drilldown target chart on the webpage (just discretely placed) and just copy its series to the primary chart, however, this seems like cheating.

My goal is to have pie charts that can drill into more detail per click. They are currently using different SQLDataSources.

My problem is that when I drilldown to the secondary chart, only the first datarow appears to be populating the chart. The datasource is working correctly as I have another chart setup ( as mentioned above ) to check the results. I believe there is an attribute that I am missing or not overriding correctly and would appreciate any assistance in locating it.

Attached: (1) Before, (2) After, (3) Target goal. (Had to black out the labels due to privacy)

Here's the code behind:

protected void RadChart2_Click(object sender, Telerik.Charting.ChartClickEventArgs args)  
        {  
                      
            if (args.SeriesItem != null)  
                if (args.SeriesItem.Parent.Name == "a1")  
                {  
                     
                        //Switch chart to b1  
 
                        RadChart2.Series[0].Clear();  
                        RadChart2.PlotArea.XAxis.DataLabelsColumn = "bX1";  
 
                        RadChart2.Series[0].DataLabelsColumn = "bX1";  
                        RadChart2.Series[0].DataXColumn = "bX1";  
                        RadChart2.Series[0].DataYColumn = "bY1";  
                        RadChart2.PlotArea.XAxis.DataLabelsColumn = "bX1";  
                        RadChart2.Series[0].Name = "b1";  
 
                        RadChart2.ChartTitle.TextBlock.Text = args.SeriesItem.Name  
                            + " b1";  
                        RadChart2.DataSourceID = "datasourceB1";  
 
                }  
                else if (args.SeriesItem.Parent.Name == "b1")  
                {  
                 //Switch chart to a1  
                      
                    RadChart2.Series[0].Clear();  
                    RadChart2.PlotArea.XAxis.DataLabelsColumn = "aX1";  
                      
                    RadChart2.Series[0].DataLabelsColumn = "aX1";  
                    RadChart2.Series[0].DataXColumn = "aX1";  
                    RadChart2.Series[0].DataYColumn = "aY1";  
                    RadChart2.Series[0].DefaultLabelValue = "#Y";  
                    RadChart2.Series[0].Name = "a1";  
 
                      
                    RadChart2.ChartTitle.TextBlock.Text = "a1";  
                    RadChart2.DataSourceID = "datasourceA1";  
                 
                }  
               
          
 
        } 
Tim Rankel
Top achievements
Rank 2
 answered on 07 Jun 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?