Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
177 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
98 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
102 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.2K+ 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
36 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
372 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
88 views
This online documentation page reports an error.

-- 
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 17 Mar 2011
1 answer
67 views
We are using client side binding on a RadGrid.  It starts up with EnableVirtualScrollPaging on or off and works fine.  However, we want to allow the customer to switch back and forth between VirtualScroll and normal paging. 

When this was a server-side bind it worked fine.  With client side binding, the startup scroll type never changes.

Is there anything in the client-side API that enables this capability?  The server-side API doesn't seem to work with client side binding.

Thanks.
Veli
Telerik team
 answered on 17 Mar 2011
1 answer
62 views
The schedular requires

DataStartField

 

 

="startDate" DataEndField="endDate"

However our data has a seperate starttime and endtime column. Is there a way to utilize the individual columns of data or does the info need to be combined?

Thanks
Mike

 

Veronica
Telerik team
 answered on 17 Mar 2011
1 answer
109 views
I'm having a problem exporting data from radgrid to excel format. As i export the data from the grid, the button is also attached inside the excel file which is not that way. The thing is that, I have to export the data from the radgrid to excel with its exact format (colors of grid, font style), but not including object like buttons. Kindly advice.
Princy
Top achievements
Rank 2
 answered on 17 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?