Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
112 views
Hello,

I have a Treeview that is loadonDemand via a webservice and works fine. I have PersistLoadOnDemandNodes Set to TRUE as i need to do some server side things when a user clicks the Node.

All works fine separately but not together.

If a user clicks the expand Icon the Nodes are loaded just fine.
If the User click the Node my server side code renders fine.

However is a user doesnt expand and just click the node the Server side code is execute and you see the Webservice load the Nodes and then they disappear.

I think this has to do with the AjaxPanel its wrapped in from the Masterpage. Any ideas
Kate
Telerik team
 answered on 17 Mar 2011
1 answer
102 views
hi,

when i click on the telerik radscheduler the whole screen is selected (thou i clicked on the appointment) and then i have to select on the particular event to handle some navigation... is there any way to avoid such experience for the user like screen getting selected as whole ???


thanks in advance
Veronica
Telerik team
 answered on 17 Mar 2011
4 answers
113 views
If I'm not mistaken, the only documentation available to VS2008 users is online or in a CHM file that has to be downloaded separately.

So we have to have 2 help readers open now, rather than one.

Nice one guys. Real forward thinking.

-- 
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 17 Mar 2011
1 answer
172 views
I've got a RadGrid on a page that I would like to be able to filter with a series of RadButtons which are on the same page.

I've tried using this...
var masterTable = $find("<%= RadGrid1.ClientID %>").get_masterTableView();
masterTable.filter("OrderID", 10254, Telerik.Web.UI.GridFilterFunction.EqualTo, true);
...in JS but nothing happens, the event is being fired.  I've also set the allowfiltering to be true on the grid and mastertable but this makes no difference.

Is there something I'm missing to get this to work?

Cheers
Cliff
Shinu
Top achievements
Rank 2
 answered on 17 Mar 2011
1 answer
95 views
I need to achieve the following  using the asyncupload

I have a grid inside a radtab/multiview that gets its items generated from previous tabs, so when the person selects the tab that contains the grid, I bound a list of already saved to database to the grid, so at this time I would like for each person (row) in the grid to have a "upload" button that will allow users to submit multiple (at once or one at a item)  images/documents which will automatically be saved to the database (assuming I will need to cause a postback after file complete on clientside has been called)
What I am unsure of is how to detect which row the upload was caused from.
I am not using the built in edit modes of the grid and have no desire to do so as the only thing that is being added are images and nothing else for that person's row.
Can you tell me what is the best way to approach this problem, do i have to use a custom handler to do this? if yes, how do i still find out the persons ID that the upload is being caused for.

in short
Grid with multiple upload controls, one for each row, on each upload, I want a direct save to database with the row id (person id) being sent so I can save it along the document.

Also, I would like to add that I am using a radajaxmanager on the page so if I have to, then I can just cause a "postback" for the upload file event to fire from the onclientfileuploaded, at this point my main problem is to figure out which row of the grid the upload was initiated from or if the scenario with radajaxmanager causing the postback is inferior to the custom handler solution.
Genady Sergeev
Telerik team
 answered on 17 Mar 2011
2 answers
98 views
Hi,

I want to display custom text\label inside the plot area, which not related to chart series. Is there any methods\functions to display custom label inside PlotArea?

Thanks in advance.
Abraham Peter 
Abraham Peter
Top achievements
Rank 1
 answered on 17 Mar 2011
2 answers
1.1K+ views
The following option can be added to web.config to redirect an older assembly to the
.dll fo a newer assembly.

This works even if the older control is embedded into a third-party module.
This will also work to correct AjaxControlToolkit version ambiguity between earlier versions and asp.net 3.5

This example will take the Q3 2008 version of the Telerik.Web.UI and redirect all controls to the Q1 2009 assembly

<runtime> 
   <dependentAssembly> 
      <assemblyIdentity name="Telerik.Web.UI" publicKeyToken="121fae78165ba3d4"/> 
     <bindingRedirect oldVersion="2008.3.1125.20" newVersion="2009.1.311.20"/> 
   </dependentAssembly> 
</runtime> 

6 lines of code to prevent many hours and frustration.

enjoy
Cliff
 PR: wait...  I: wait...  L: wait...  LD: wait...  I: wait... wait...  Rank: wait...  Traffic: wait...  Price: wait...  C: wait...
Le Duc Hieu
Top achievements
Rank 2
 answered on 17 Mar 2011
2 answers
34 views
to anything about this item reported in the 2011 Q1 release's release notes ...

"Support loading of custom skins for RadControls from an external assembly".

-- 
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 17 Mar 2011
3 answers
368 views
Displaying the loading panel on the button click shows error that was
"Object doesn't support this property or method".

Error displayed in the following line - currentLoadingPanel.show(currentUpdatedControl);

My code was,

  <asp:Button ID="Button1" runat="server" Text="Test"
                       OnClick="btnCreate_Click" />
  <asp:Panel ID="pnlDetails" runat="server">
test1
  </asp:Panel>

<telerik:RadAjaxManager ID="RadAjaxManager" runat="server">
        <AjaxSettings>
                                 <telerik:AjaxSetting AjaxControlID="Button1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="pnlDetails" LoadingPanelID="LoadingPanel" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
        <ClientEvents OnRequestStart="RequestStart" OnResponseEnd="ResponseEnd" />
    </telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel ID="LoadingPanel" runat="server" Transparency="30" BackColor="#E0E0E0">
        <asp:Image runat="server" AlternateText="status" ImageUrl="~//Skins/Windows/Loading.gif"
            ID="img" />
    </telerik:RadAjaxLoadingPanel>
<telerik:RadCodeBlock ID="RadCode" runat="server">

  <script type="text/javascript">
          
            var currentLoadingPanel = null;
            var currentUpdatedControl = null;
            function RequestStart(sender, args) {
                debugger;
                currentLoadingPanel = document.getElementById('<%= LoadingPanel.ClientID%>');
                var aliastest = args.get_eventTarget();
                if (aliastest == 'ctl00$contentPlaceHolder$Button1') {
                     currentUpdatedControl = document.getElementById('<%=pnlDetails.ClientID%>');
                }
                currentLoadingPanel.show(currentUpdatedControl);
            }
            function ResponseEnd() {
                      //hide the loading panel and clean up the global variables
                if (currentLoadingPanel != null)
                    currentLoadingPanel.hide(currentUpdatedControl);
                currentUpdatedControl = null;
                currentLoadingPanel = null;
            }
          

        </script>
      
    </telerik:RadCodeBlock>

Maria Ilieva
Telerik team
 answered on 17 Mar 2011
2 answers
84 views
This online documentation page reports an error.

-- 
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 17 Mar 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
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
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?