Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
54 views
I have the newest version of Telerik ASP.Net Ajax controls, and when I enable the export to excel button, I get no button added to the control.  Do I have to do this manually? 
What is the process to add the export to excel function to the grid?
Andrew
Top achievements
Rank 1
 answered on 03 May 2011
2 answers
108 views
I've got a page that has two different type of UserControls on it.  Each UserControl has a RadToolTipManager, and each one can be used multiple times on the same page.  When that happens, the tooltips load the data, but they disappear as soon as the data is done loading, so the user never sees what is loading.  I think it's clear that I can't have multiple RadToolTipManagers with the same ID on the same page.  But I'm trying to figure out the best way to resolve this...?

Here's the structure of the page:
MasterPage 
    Page.aspx  
        UserControl1.ascx (ToolTipMgr1) 
        UserControl2.ascx (ToolTipMgr2) 
        UserControl2.ascx (ToolTipMgr2)
        UserControl2.ascx (ToolTipMgr2)

Is there a way for me to out the ToolTipMgr in the Page, or the MasterPage, and then add the target controls to it programmatically from the user controls?  That would allow me to have one ToolTipManager for the entire page...

Thanks for your help!
Eddie
Software
Top achievements
Rank 1
 answered on 03 May 2011
1 answer
216 views
Hello,

We bind boolean values and it translates the value to True/False (via the ToString()) method.  We often write code to translate this to Yes/No.  Is there an easy way in markup to translate the True/False to Yes/No, or does this always have to be in code?  If via the GridCheckBoxColumn, maybe?

Thanks.
Sebastian
Telerik team
 answered on 03 May 2011
1 answer
108 views
Hi,
    When using the AsyncUpload and selecting multiple files the Uploaded Files only shows Total files : 1 even though I selected 2 or more. Once the first file is uploaded then the total files does update but only to the next one it's uploading. It happens in your example

AsyncUpload / Progress .

Is there a way to show the total number of files selected to upload even when they are queing.

The other thing is why does Uploading file: status always say Uploading Files... should this not display the file name as it states in the documentation.

Thanks

Peter Filipov
Telerik team
 answered on 03 May 2011
3 answers
128 views
Hi,

Consider the following code:
<rad:RadScriptManager ID="RadScriptManager1" runat="server" />
<asp:UpdatePanel runat="server" ID="UpdatePanel"><ContentTemplate>
    <rad:RadEditor runat="server" ID="Editor" />  
    <asp:Button runat="server" Text="Submit" OnClick="Submit_Click" />
    <div runat="server" ID="Output"></div>
</ContentTemplate></asp:UpdatePanel>
protected void Page_Load(object sender, EventArgs e)
{
    if (!IsPostBack)
        Editor.Content = "Hello World";
}
 
protected void Submit_Click(object sender, EventArgs e)
{
    Output.InnerHtml = Editor.Content;
}


Follow the following steps:
 1) Replace "Hello World" in the editor with "Telerik RadEditor"
 2) Press Submit

Expected result:
"Telerik RadEditor" should remain in the editor and also appear in the div below the submit button

Actual results:
 Firefox 4 - As expected
 Chrome 10 - As expected
 IE 8 - As expected
 IE 9 - The editor resets to "Hello World". "Hello World" also appears in the div below the submit button
Rumen
Telerik team
 answered on 03 May 2011
0 answers
45 views
I have a master page and in the content area I am loading a tabstrip with several pageviews.  When an action is performed in a pageview, for instance a submit button clicked, the next page that loads is loading in the pageview that the request came from instead of in the main window.  How do I make it open in the new window?
Samantha
Top achievements
Rank 1
 asked on 03 May 2011
1 answer
83 views
I'm trying to add a new page in my PDF by using this code:

<br style="page-break-after:always" /><p>content</p>

But no new page is generated ... the content is just being added to the end of the last page.
Can anyone tell me how to force a page break?

Regards
Daniel
Telerik team
 answered on 03 May 2011
1 answer
163 views
In my current project, I have a RadGrid with Paging and Sorting enabled.

The screenshot of the RadGrid is available on http://imageshack.us/f/848/dataaccessradgrid.jpg

When a column is sorted or unsorted, I would like the RadGrid to jump to the first page of the RadGrid.

Can you please show me how to do this?

Thanks,
Herman
Vasil
Telerik team
 answered on 03 May 2011
2 answers
98 views
Hello,

Is there an easy way to find the intermediate state in the tri-state checkbox with javascript?

I understand that there is a style applied to the checkbox based on child states, just wasn't sure if there was an actual property of the treeview checkbox that would be easy to find.

Thanks,
Peppi Vecchio
Top achievements
Rank 1
 answered on 03 May 2011
0 answers
169 views
Hi,
In my project i used radgrid and written server side logic for all events.
For better performance now i am calling server side methods from client side script.
In aspx page i used one master page, in that master page i used EnablePageMethods="true" property with in scriptmanager.

<ajax:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true">
         </ajax:ScriptManager>

In aspx page i have checkbox in radgrid.
         <telerik:GridTemplateColumn UniqueName="Complete" HeaderText="Completed" AllowFiltering="false">
                        <ItemTemplate>
                            <asp:Panel ID="Panel1" runat="server" Width="2px">
                                <asp:CheckBox ID="chkComplete" runat="server" AutoPostBack="true" onclick="GetMessage()" />
                            </asp:Panel>
                        </ItemTemplate>
         </telerik:GridTemplateColumn>

In onclick "GetMessage()" function called which is defined in below script.

<script type="text/javascript" language="javascript">
           function GetMessage() {
               PageMethods.CompletedCheck(sender, args, onSucceeded, onFailed);
               alert("working");
            }

            function onSucceeded() {
                alert("ok");
            }

            function onFailed() {
                alert("fail");
            }

In codebehind file i have below method

<System.Web.Services.WebMethod()> _

    Public Shared Sub CompletedCheck(ByVal sender As Object, ByVal e As System.EventArgs)

    End Sub

 

but i got this error.
Microsoft JScript runtime error: 'sender' is undefined.

Thanks and Regards,
Nagendra.

Nagendra
Top achievements
Rank 1
 asked on 03 May 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
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
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?