Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
83 views
I am trying to access web mail demo application from the following link but it's not working. Please anyone guide me how can I access?

http://demos.telerik.com/aspnet-ajax/webmail/


Vessy
Telerik team
 answered on 25 Jun 2014
3 answers
157 views
Hi

I have a telerik rad schedular in my page, which is inside a panel, and I have set width of schedular to 100%, but when I resize the browser, the width is not changing.

how can I create a schedular with 100% width?

thanks
Bozhidar
Telerik team
 answered on 25 Jun 2014
9 answers
860 views
Hi,

I am using RadComboBox control with checkbox.
On "RadComboBox2_ItemsRequested" event, I need to set the checkbox for specific items in the combobox.

Can somebody guide me how this can be achieved. I tried many different ways, but was unable to set the checkbox from server side on this event.

Thanks
duraid wadie
Top achievements
Rank 1
 answered on 25 Jun 2014
2 answers
101 views
Hi there,

I have tried the approach of binding scheduler control via web service and I do use the sample that what was provided by Telerik. Basically, copy-paste and change the class of DbProvider which is called from the webservice class by GetAppointment method.
It is taking considerably more time than expected. I did debug the code, and did trace the web service all by the browser tool, and the result doesn't really make me happy. 
Any experience about this topic ? Any advise ?

Thank you very much
Bozhidar
Telerik team
 answered on 25 Jun 2014
2 answers
189 views
Hi,
    First i'm sorry for my bad english, I'm not really good. But I will try to explain my problem for you can understand.

I want export my RadGrid in a Excel file (Biff). In my RadGrid I don't use the orignal CommandItem, I have add a personnal RadToolBar where I have add my Export button. When I click of my Button, I call a JS method (onPanelBarItemClicked) who calls the Click Event of my btnExport (this button isn't visible)

function onPanelBarItemClicked(sender, args) {
    if (args.get_item().get_commandName() == "ExportToExcel") {
        if (!alertDirtyNavigation()) {
            return false;
            }
         $find("<%=btnExport.ClientID%>").click();
        }
    }
 
{...}
<div style="display: none">
    <telerik:RadButton ID="btnExport" runat="server" AutoPostBack="true" CausesValidation="false" ButtonType="StandardButton" Target="_self"></telerik:RadButton>
</div>
 
{...}
<CommandItemTemplate>
            <div>
                <telerik:RadToolBar ID="RadToolBarGridEdit" runat="server" Width="100%" Height="25px" OnClientButtonClicked="onPanelBarItemClicked">
                    <Items>
 <telerik:RadToolBarButton Text="<% $Resources:General, ExportButtonText %>" Value="ExportButton" CommandName="ExportToExcel" AccessKey="E" ImageUrl="~/Images/16X16/export.png" ImagePosition="Right" PostBack="false"></telerik:RadToolBarButton>
                    </Items>
                </telerik:RadToolBar>
            </div>
        </CommandItemTemplate>

The code of btnExport.Click.

Private Sub btnExport_Click(sender As Object, e As EventArgs) Handles btnExport.Click
        GridFunction.ExportGridToExcel(Me.RadGridDepartement)
End Sub

With this method, the XLS file is generated and i can download the file. But, I don't have LoadingPanel for show that application working.



If in my JS method I add the method for show the LoadingPanel. The loadingPanel appears and I can donwload my file. But my problem is that the loadingPanel never disappears. (LoadingPanelNeverDisappears.png)
function onPanelBarItemClicked(sender, args) {
    if (args.get_item().get_commandName() == "ExportToExcel") {
        if (!alertDirtyNavigation()) {
            return false;
            }
         showMainLoadingPanel("<%=RadGridDepartement.ClientID%>"); 
         $find("<%=btnExport.ClientID%>").click();
        }
    }

For can resolve this problem. I have added AjaxSettings in the RadAjaxManagerProxy. But i have a new  and big problem. After the XLS generation, I can't download my file. And in my RadGrid, my action column has disappeared, the width of my Data Column are too large and the PagerStyle has disappeared. (GridBug.png)
<telerik:AjaxSetting AjaxControlID="btnExport">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="btnExport" />  
                <telerik:AjaxUpdatedControl ControlID="RadGridDepartement" />
            </UpdatedControls>
        </telerik:AjaxSetting>

Do you have a solution ? I have search in forum and with google. But the solution isn't really relevant in my situation. 

We have : 
 - MasterPage 
 - BaseUserControl (all page Inherits) 
 - Page.


Thank you so much.
Mathieu B.
MathieuB
Top achievements
Rank 1
 answered on 25 Jun 2014
2 answers
119 views
Have a couple of RadWindows on a product I developed a couple of years ago.  No code has changed only updated to the latest Telerik to add some other functionality, and now the RadWindows do not autosize, the native radwindow close doesn't close and when attempt to close them via a button, I am now getting the following error:

0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'stopTransition'

The following is code that creates the RadWindow server side, and then adds it to RadWindowManager.  This code has not changed.

HTML:
<telerik:RadWindowManager ID="rwmViewPackage" runat="server" Animation="Fade"
EnableShadow="True" KeepInScreenBounds="True" Modal="True" Skin="Metro" Behaviors="Close"
VisibleOnPageLoad="True" VisibleStatusbar="False" DestroyOnClose="True"
EnableViewState="false" AutoSize="True" >
</telerik:RadWindowManager>

VB.NET:
Dim rwViewPackage As New Telerik.Web.UI.RadWindow
rwViewPackage.NavigateUrl = "~/vpAdditions/Comments.aspx"
rwViewPackage.Title = "Comments for "
rwViewPackage.Title = rwViewPackage.Title & tbManufacturer.Text & " " & tbName.Text
rwViewPackage.ID = "rwViewPackage"
rwViewPackage.Animation = Telerik.Web.UI.WindowAnimation.Fade
rwViewPackage.EnableViewState = False
rwViewPackage.EnableShadow = True
rwViewPackage.DestroyOnClose = True
rwViewPackage.VisibleOnPageLoad = True
rwViewPackage.KeepInScreenBounds = True
rwViewPackage.Modal = True
rwViewPackage.Skin = "Default"
rwViewPackage.IconUrl = "../Graphics/Package/PreviousComments.png"
rwViewPackage.AutoSize = True
rwmViewPackage.Windows.Add(rwViewPackage)

The Comments.aspx contains the following code to close:
HTML:
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<script type="text/javascript">
function CloseAndRebind() {
GetRadWindow().BrowserWindow.refreshGrid();
setTimeout(function () {
GetRadWindow().close();
}, 0);
}
function GetRadWindow() {
var oWindow = null;
if (window.radWindow) oWindow = window.radWindow; //Will work in Moz in all cases, including clasic dialog
else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow; //IE (and Moz as well)
return oWindow;
}
</script>
</telerik:RadCodeBlock>

VB.NET:
ClientScript.RegisterStartupScript(Page.GetType(), "mykey", "CloseAndRebind();", True)

Thoughts?




Marin Bratanov
Telerik team
 answered on 25 Jun 2014
3 answers
126 views
I know that you can set AutoStart to False using the Properties in the Media Manager, I am wondering if there is anyway to have this automatically default to False instead of True.
Ianko
Telerik team
 answered on 25 Jun 2014
1 answer
932 views
Hi,

I have a Hierarchical Grid. The master one has a data source tied with a stored procedure.

I have created the nested/hierarchical data with another data source tied with a stored procedure.

Both stored procedures have a common fields which I did a relation.   The master view data is displaying correctly.  No issues here. But, when I clicked on expand of master grid, I don't get the child items. No child records to display is the message I see.  But, it has data in database and see when I individually run the stored procedures.

I followed this video but wasn't successful.  http://tv.telerik.com/watch/radcontrols-for-aspnet-ajax/radgrid-using-the-designer-to-create-a-hierarchical-grid
​
I am not sure what I did wrong.  Can anyone please give me an example to bind data sources using stored procedures?


Thank you.
Radoslav
Telerik team
 answered on 25 Jun 2014
1 answer
130 views
Is it possible to embed video (mp4, mov, ...) into RadToolTipManager?
Marin Bratanov
Telerik team
 answered on 25 Jun 2014
4 answers
652 views
Hi there,

I have an issue with my grid, the value inside the columns are cut off / clipped off.
I've set my TableLayout=Auto,  ClipCellContentOnResize=false and my grid is using AutoGenerateColumns=True.

I guess the main reason is because the grid can't resize properly if the grid is hidden or not diplayed on the page.
I read somewhere in the forum that the resizing is done using javacript.

The grid is inside the a tab (RadPageView) and I have a few tabs to load.
When  I clicked on LoadAll button, the tab with the grid is not shown yet. And the result the values are cut off.

But if I'm in the tab with the grid and load the grid, the values are shown in full.

Can this be fixed?
If it's not possible, how to call the auto resize columns method?

Thanks

First

<telerik:RadGrid ID="myGrid" runat="server"      
    ItemStyle-Wrap="false" AlternatingItemStyle-Wrap="false"    
    onitemdatabound="myGrid_ItemDataBound" EnableViewState="false">     
    <MasterTableView AutoGenerateColumns="true" TableLayout="Auto" Width="600" ></MasterTableView>     
    <ClientSettings>    
        <Scrolling AllowScroll="True"  UseStaticHeaders="True" SaveScrollPosition="true" ScrollHeight="400"></Scrolling>    
        <Resizing ClipCellContentOnResize="false" AllowColumnResize="false"/>     
    </ClientSettings>    
</telerik:RadGrid>  
Princy
Top achievements
Rank 2
 answered on 25 Jun 2014
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?