Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
149 views
I have just written an application using the 2008.3.1314.35 version of the UI.dll. I am wanting to deploy it now. The only problem, is that it is an upgrade to an old 1.1 app and I have about 230 clients using it. I would like to get rid of the following in the web.config so that when I get a new version of the UI.dll I don't have to go to each web.config to chagnge Version information. I am aware of installing it to the GAC, but how would I reference it from the web.config file. Obviously, I get an error everytime I take this line out. Any ideas on best practice for deployment?

<

 

add assembly="Telerik.Web.UI, Version=2008.3.1314.35, Culture=neutral, PublicKeyToken=121FAE78165BA3D4"/>

 

Paul Wade
Top achievements
Rank 1
 answered on 10 Feb 2009
1 answer
165 views
Is it possible to change the height of a Tab when using a skin?
Serrin
Top achievements
Rank 1
 answered on 10 Feb 2009
3 answers
178 views

 i have a telerik radEditor, in  radeditor in toolbox there is a tab "image manager" for upload images,

so problem is that , i want when i click on "image manager" then it upload imges like "file upload control" upload images from anywhere from system, currently it upload image from a fixed path.

any help please 

 

urgent.
Rumen
Telerik team
 answered on 10 Feb 2009
2 answers
247 views
I have a grid and within its CommandItemTemplate I have a Save button.  When I click that button I want the grid to update with AJAX, which it does, but for some reason the LoadingPanel I have assigned to the grid in my AjaxManager does not show.  There's not visible postback and the grid updates, but the loadingpanel icon doesn't show.  Why not?  It shows up everywhere else and even shows for the grid when it is triggered by a button outside of the CommandItemTemplate.

Any help on this would be appreciated as I have several ways I would like to apply this.  Thanks!

 

<CommandItemTemplate>

 

 

<div id="DivUA" runat="server" style="padding-top: 5px; padding-bottom: 5px">

 

 

<table>

 

 

<tr>

 

 

<td>

 

 

<asp:Button runat="server" ID="btnUA" Text="Save" ToolTip="Save all changes you've made to the data"

 

 

Width="70px" CommandName="UpdateAll" CssClass="CommandButton" />
</
td>

 

 

</tr>

 

 

</table>

 

 

</div>

 

 

</CommandItemTemplate>

 



<

telerik:RadAjaxManager ID="ram1" runat="server">

 

 

<AjaxSettings>

 

 

<telerik:AjaxSetting AjaxControlID="btnUA">

 

 

 

 

<UpdatedControls>

 

 

 

 

<telerik:AjaxUpdatedControl ControlID="rgT" LoadingPanelID="loader1"></telerik:AjaxUpdatedControl>

 

 

 

 

<telerik:AjaxUpdatedControl ControlID="lblrgTLoad" LoadingPanelID="loader1"></telerik:AjaxUpdatedControl>

 

 

 

 

<telerik:AjaxUpdatedControl ControlID="lblUpdMsg"></telerik:AjaxUpdatedControl>

 

 

 

 

</UpdatedControls>

 

 

 

 

</telerik:AjaxSetting>

 

</

telerik:RadAjaxManager>

 

 

<telerik:RadAjaxLoadingPanel ID="loader1" runat="server" Height="75px" radcontrolsdir="../RadControls/"

 

 

 

 

Width="75px">

 

 

 

 

<img alt="Processing..." src="../RadControls/Ajax/Skins/Default/loading6.gif" style="background-color: Transparent" />

 

 

 

 

</telerik:RadAjaxLoadingPanel>

 

Acadia
Top achievements
Rank 1
Iron
 answered on 10 Feb 2009
1 answer
127 views

All,

I am using the scheduler component which works fine in my development environment, but when I bring the project to the production environment the component will not render properly

 

Any thoughts

 

Scott

Atanas Korchev
Telerik team
 answered on 10 Feb 2009
5 answers
189 views

I just recently upgraded to Visual Studio 2008 Professional and installed the RadControls for ASP.NET AJAX product suite (RadControls_for_ASP.NET_AJAX_2008_3_1314_dev.exe).  All is well except that when I create a new VS2008 ASP.NET website project, the toolbox has a tab labeled “RadControls for ASPNET AJAX Q3 2008” and lists all the individual controls.  The problem is that all the controls on this tab are grayed-out and cannot be dragged to a aspx page to begin using the controls.

I have attempted several things to see if I could fix this issue without any success.  Here is what I have tried.

1.       I ran the “ToolBoxInstaller.exe” program that is included in the RadControls install…no change.

2.       I added a reference to the “Telerik.Web.UI.dll” in the project references…no change.

3.       I manually added the controls to the ToolBox by browsing to the “Telerik.Web.UI.dll” in the Bin35 folder…no change.

I am at a loss as to what is causing this issue.  Any guidance would be appreciated.

Kenyon Fox
Top achievements
Rank 1
 answered on 10 Feb 2009
3 answers
315 views
Hi,

I have a page with a tab strip that contains dynamic tabs. Tabs are added/removed based on user actions. In the initial version, everything was being done on the server side (with postbacks). Depending on the selected tab the appropriate user control was loaded and displayed (server-side). I see that this technique is recommended here: http://www.telerik.com/community/forums/thread/b311D-behchh.aspx

Unfortunately, performance using postbacks is not good in IE. The problem appears to be with IE's handling of partial page updates (FireFox and Chrome are pretty fast). I don't think it has anything to do with the telerik controls. But since IE is the dominant browser we have to solve this problem.

I decided to add/remove tabs on the client-side - which works great. I also add/remove page views on the client - which also works great. And, when users switch tabs it's very fast - which is also great. So for the most part, everything is great.

Now the questions:

1. What is the "recommended" way to load content into a page view created on the client? All of the contents for the various types of tabs are already neatly divided into separate user controls. In my current "client-side" version I am simply putting an iframe into the page view then setting the src to a page that contains the appropriate user control. This is okay, I guess, but it makes javascript calls between the main page and the tab contents messier (not impossible, just messier). I *think* I would like to just set the innerHTML of the page view "get_element()", but I'm afraid that the start-up scripts defined in the user control may not execute.

2. When I set the innerHTML of the "get_element()" result to an iframe, it leaves a gap at the top and bottom. I have set the height/width of the iframe to 100%. I can't tell if the gap is coming from the iframe or the page view. How do I get the iframe to fill the entire page view (and the page view to fill it's entire parent)?

Here's the javascript I'm using to create the tabs and page views:

function ShowTab(tabText, tabId, tabType)  
{  
    // See if the specified tab already exists.  
    var tab = GetTab(tabId);  
    if (!tab)  
    {  
        // Tab doesn't exist, create a new one.  
        tab = new Telerik.Web.UI.RadTab();  
        tab.set_value(tabId);  
          
        // Add the new tab to the tab strip.  
        var tabstrip = Main_GetTabStrip();  
        tabstrip.get_tabs().add(tab);  
    }  
      
    // Set the tab text (title).  
    tab.set_text(tabText);  
      
    // "refresh" determines whether the tab contents must be refreshed.  
    // (e.g. new contents for an existing tab)  
    var refresh = false;  
      
    // See if the page view already exists.  
    var page = GetPageView(tabId);  
    if (!page)  
    {  
        // Page view doesn't exist for this tab, create a new one.  
        page = new Telerik.Web.UI.RadPageView();  
        page.set_id(tabId);  
 
        // Add the new page view to the multi-page.  
        var multipage = Main_GetMainMultiPage();  
        multipage.get_pageViews().add(page);  
 
        // Create a hidden field inside the page view to hold the "TabType".  
        // Also, add an iframe to the page view. This iframe is where the  
        // tab contents will appear.  
        var dom = page.get_element();  
        dom.innerHTML = '<input id="'+tabId+'_TabType" type="hidden" value="'+tabType+'" /><iframe id="'+tabId+'_iframe" src="#" style="border: 0; margin: 0; padding: 0; width: 100%; height: 100%;" frameborder="0" height="100%" width="100%" />';  
 
        // Since this is a new page view, the contents should be refreshed.  
        refresh = true;  
    }  
    else  
    {  
        // Page already exists. See if we need to refresh the contents.  
        var x = document.getElementById(tabId+'_TabType');  
        if (x.value != tabType)  
        {  
            // The TabType of the existing tab doesn't match the tabType  
            // passed in to this function. That means that the same tab  
            // is being used for different content, so we need to "refresh"  
            // the tab contents.  
            refresh = true;  
            x.value = tabType;  
        }  
    }  
 
    // Make this tab the "selected" tab. Since the page view Id matches the  
    // tab Id, this also makes the associated page view visible.  
    tab.select();  
      
    if (refresh)  
        // Call a web service to get the tab contents.  
        IME.GetTabInformation(tabText, tabId, tabType, ShowTabComplete);  

The web service returns the tab "contents" - which as of right now is just a URL to display inside the iframe. It would be trivial to have the web service return the actual HTML to display inside the page view, but as I said I'm afraid that the javascript would fail. Here's the javascript that executes when the web service completes:

function ShowTabComplete(results)  
{  
    // Find the tab based on the TabId.  
    var tab = GetTab(results.TabId);  
      
    // The web service results may want to change  
    // the tab text (title).  
    tab.set_text(results.TabText);  
 
    // Get the iframe for this tab.  
    var ifrm = document.getElementById(results.TabId+'_iframe');  
      
    // The web service tells us the URL of the tab contents.  
    ifrm.src = results.Url;         
Doug Beard
Top achievements
Rank 2
 answered on 10 Feb 2009
1 answer
91 views
Hi,

I am able to implement drag and drop from a RadGrid OK, and I know that I can drag an appointment from one day to another, but I have been asked by one of my Clients if it's possible to click and drag so that rather than moving the appointment within the RadScheduler, it creates a new copy.

I guess I could try implement this by catching the drag event within the Scheduler, but am not sure if this is possible or not before I start spending long trying to implement it.  Are there any events I could hook into after the event has been moved that would let me find where it came from, I guess just before the appointment is moved.

David Penny
Atanas Korchev
Telerik team
 answered on 10 Feb 2009
4 answers
161 views
Hello,  I've been trying to get the editor to work in a DNN module. I can get it to work fine using the default look and feel, but in order to use a "theme"  for the skin, it requires the name of the Theme in the @Page directive of the page... this being a module, there is no @page tag, which means that the editor control can not see the skin I created...
 
I see references to a DNN provider but I am unable to find it anyware to download...  Can someone point me in the direction of the provider?

Thanks!

Matt
Lini
Telerik team
 answered on 10 Feb 2009
1 answer
75 views
Hi, not sure if this is the right place or not, but I have a question about a feature request.  I'm looking to have a grid that performs similar to Infrangistics, where you can just click in a cell and it goes into auto edit mode.  I have very large datasets and having to hit edit and update each time the user needs to edit a field is just too time consuming. 

Is there anything planned for a feature like this in the near future.  If there isn't anything planned I am going to have to switch over to Infrangistics which I don't really want to do because their help, support, and demos are very limited compared to yours (plus I'm not a huge fan of their controls).  But in this case, the functionality of their grid is perfect for what I need.

http://samples.infragistics.com/2008.3/WebFeatureBrowser/Default.aspx

Click on 'WebDataGrid', then 'Editing Rows - Basic Features'

Thanks,

Doug
Sebastian
Telerik team
 answered on 10 Feb 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?