Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
121 views
How to change grid from the insert mode to the view (ToolBar in the CommandItemTemplate).
For editing works :  EditSelected -> UpdateEdited.
For insert not works : InitInsert  -> PerformInsert .
Mervil
Top achievements
Rank 1
 answered on 20 May 2008
5 answers
156 views
I'm experiencing a problem with drag and drop on a few machines that have Vista and IE7. Specifically I can do the drag and drop but the dragged element does not appear to follow the mouse during the drag. The problem does not appear to be with speed as the dragged element does not follow the mouse no matter how slowly I move it. If I press any key on the keyboard while dragging, the element jumps to the mouse and then it follows it smoothly.

I can reproduce the problem on the Telerik portal demo page. Anyone else seen this?
Sophy
Telerik team
 answered on 20 May 2008
0 answers
117 views
Hi 
 I need to send a grid by email attachment  in excel or pdf fomat.

I have found some thing in telerik forum how to send a report by email likewise i need to send a grid by email.

        void MailReport(Telerik.Reporting.Report report, string from, string to, string subject, string body)
        {
            string mimeType;
            string extension;
            Encoding encoding;

            byte[] reportBytes =
                ReportProcessor.Render("PDF", report, null, out mimeType, out extension, out encoding);
          
            MemoryStream ms = new MemoryStream(reportBytes);
            ms.Position = 0;
           
            Attachment attachment = new Attachment(ms, report.Name + "." + extension);
            MailMessage msg = new MailMessage(from, to, subject, body);
            msg.Attachments.Add(attachment);
            SmtpClient client = new SmtpClient(smptHost);
            client.Send(msg);                       
        }
vairam
Top achievements
Rank 1
 asked on 20 May 2008
1 answer
187 views
I have the following issue happening:  My application  consists of a header that is in a usercontrol Default page that has a lable and content area that change based on what usercontrol has been loaded when the header ImageButtons are clicked.

I raise a bubble event whenever the header image bubbles are clicked and have a boolean on bubble function that handles the loading of user cotrols based on case by the eventargs that are being passed

in example: Header.ascx.cs
protected void btnHome_Click(object sender, ImageClickEventArgs e)  
        {  
            RaiseBubbleEvent(sender, new CommandEventArgs("Home", ""));  
        } 

Default.aspx.cs
protected override bool OnBubbleEvent(object source, EventArgs args)  
        {  
            CommandEventArgs commandEvent = args as CommandEventArgs;  
            if (commandEvent != null)  
            {  
                switch (commandEvent.CommandName)  
                {  
                    case "Home":  
                        LoadUserControl("Home.ascx", "Home");  
                        break;  
                }  
                  
            } 

I use your example how to dynamicly load my user controls and it works fine up untill i tried to ajaxify this application.

I have tried a countless of combinations between using ajax panels, panels, content holders, ajax manager and have had no luck what so ever getting it to work. I used to work with the pre-prometius version of telerik for my former employer and was able to do this without an issue. has anything changed? My raiseBubbleEvent gets fired up but my  OnBubbleEvent never gets fired when using the prometius ajax. Do i need to make a custom even for header clicked?
Please help

 <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">  
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="rapHeader">  
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="rapHeader" /> 
                    <telerik:AjaxUpdatedControl ControlID="rapCrumb" /> 
                    <telerik:AjaxUpdatedControl ControlID="rapContent" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
         </AjaxSettings> 
    </telerik:RadAjaxManager> 
    <div id="dFrame">  
        <div id="dHeader" class="header">  
            <telerik:RadAjaxPanel ID="rapHeader" runat="server">  
                <TRP:ucHeader ID="ucHeader" runat="server" Visible="true" /> 
            </telerik:RadAjaxPanel> 
        </div> 
        <div id="dCrumb" style="height">  
            <telerik:RadAjaxPanel ID="rapCrumb" runat="server">  
                <asp:Label ID="lblCrumb" runat="server" Font-Bold="True" /> 
            </telerik:RadAjaxPanel> 
        </div> 
        <div id="dContent" class="content">  
            <telerik:RadAjaxPanel ID="rapContent" runat="server" LoadingPanelID="rlpLoading">  
            </telerik:RadAjaxPanel> 
            <telerik:RadAjaxLoadingPanel ID="rlpLoading" runat="server" Height="75px" Width="75px">  
                <img alt="Loading..." src='Images/loading4.gif' style="border: 0px;" /> 
            </telerik:RadAjaxLoadingPanel> 
        </div> 
          
         
    </div> 
Esk
Top achievements
Rank 2
 answered on 20 May 2008
1 answer
100 views
Hi,

I've just been looking through the online help and have noticed a couple of missing links. In the page: 

http://www.telerik.com/help/aspnet-ajax/client-side-events.html

You cant navigate to OnRequestStart and OnReponseEnd

Do you have any direct links for these, or can anyone tell me if I need to do a return value, as I'm trying to source a memory leak on IE

Regards

Bobby
Nikolay Dobrev
Telerik team
 answered on 20 May 2008
15 answers
463 views
Hi. Is there a new way to set the SkinsPath? The grid does not have it anymore but the summary for the Skin property still says "The folder that holds the skins can be changed using the SkinsPath Property".
Sebastian
Telerik team
 answered on 20 May 2008
1 answer
110 views
I don't think this feature is available, but it would be really useful if I can add specific Control ID's to the FormDecorator to decorate. Generalizing the FormDecorator to an entire group of raw elements make it useless in almost all cases. The FormDecorator ruins custom layouts completely and clashes with any existing CSS. But if I can do something like:

RadFormDecorator1.AddTargetControlID("CheckBox8");
RadFormDecorator1.AddTargetControlID("Buttons3");
RadFormDecorator1.AddTargetControlID("Radiobuttons1");

...then this would be pretty useful and can easily add it to any page without compromising the layout. Just a suggestion. Thanks and keep up the great work!!
Georgi Tunev
Telerik team
 answered on 20 May 2008
7 answers
351 views
I created a radsplitter with this line:
<telerik:RadSplitter id="rsTest" runat="server" height="150px" width="100%" Orientation="Horizontal" CssClass="Test">

And it renders to the page as:
<div id="ctl00_rsTest">...</div>

I know I can wrap the splitter in another div, but why expose and document the CssClass property if it doesn't work?

-Shaun
Svetlina Anati
Telerik team
 answered on 20 May 2008
1 answer
105 views
I am a new user of the Telerik controls and I am currently trialling them. I am trying to work out how to do something and I've been left bashing my head on the desk...

I have a page divided into two by a splitter bar. On one side is a panel bar with some links in it, on the other side is a tab strip and a multipage view.

What I want to be able to do is dynamically load a new page into a new tab when I click on one of the links. I have already acheived the creation of a new tab when a link is clicked, what I cannot work out is how to load a page into the new tab. I would like to do this client-side if possible to prevent postbacks.

Can this be done with these controls?
Sean
Top achievements
Rank 1
 answered on 20 May 2008
1 answer
117 views
With RadMenu for ASP.Net, we combined two XML docs into a single Menu in this way (see http://www.telerik.com/community/forums/thread/b311D-ebmcd.aspx):

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    RadMenu1.LoadContentFile( "~/xml/34.xml")
    RadMenu1.LoadContentFile("~/xml/recent/34.xml")
End Sub

In the ASP.Net Ajax version of RadMenu, only the second XML doc is loaded.If I comment out the second line, the first XML doc loads successfully. Is this still the correct method to use? 
Paul
Telerik team
 answered on 20 May 2008
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?