Telerik Forums
UI for ASP.NET AJAX Forum
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
37 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
377 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
91 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
63 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
112 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
1 answer
51 views
I used the IsDateTime and  AutoRange property of radchart for silverlight 
<telerik:AxisX IsDateTime="True" AutoRange="True"    />


But When scrolling the x-axis does not change appropriately
Please see the screenshot by attached file. Thanks~


Ves
Telerik team
 answered on 17 Mar 2011
3 answers
244 views
Hi,

           i have a radgrid with allowpaging = true and allowmultiplerowedit = true. I have a checkbox column in the grid. When i load the grid in edit mode the values of the checkboxes will be changed by the user. User can check or uncheck multiple checkboxes across pages at one go. But when i try to retrieve the edited values in server side using the below snippet i am getting only the edited values of current page.
foreach (GridEditableItem editedItem in grid.EditItems)
                    {
                        Hashtable newValues = new Hashtable();
                        //The GridTableView will fill the values from all editable columns in the hash
                        grid.MasterTableView.ExtractValuesFromItem(newValues, editedItem);
  
                        if (true == (bool)newValues["myCheckBoxColumn"])
                        {
                            // processing logic
                        }
                    }

Please help me with a sample code snippet, so that i can get the edited values in other pages as well.

Thanks,
Saravanan K
Princy
Top achievements
Rank 2
 answered on 17 Mar 2011
0 answers
159 views
Hello,

I am using AsyncUpload  control of version 2010.3.1109.35.
I am wondering that when i upload the file of size 0 bytes, its not uploading, on IE-8 and on IE-7 its showing uploaded but when i postback the page its show error. 

So if i use multiple file to upload and one of them is 0 bytes then all the files are not uploaded because of that file.

I checked on online demo there also its not working for 0 bytes file.

What should i do to get rid of this? please suggest

Thanks
Nitin
nitin
Top achievements
Rank 1
 asked on 17 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?