Telerik Forums
UI for ASP.NET AJAX Forum
12 answers
288 views
Hi
How do you display multiple appointments, in the same timeslot, side by side in the timeline view.  I want to display the appointments following each other in the time slot with the widths set appropriatley based on start/end time within the time slot (not set at 100% of the timeslot or at a default width)
Thanks

Peter
Telerik team
 answered on 13 Jun 2011
3 answers
454 views
Hi guy,

I have a good question for you. I have a main window (win0) that call a window (wind1) that call another window (win2). In the win2, I have a grid and I call another window (win0_1), but this window was declared in the radWindowManager of the win0. My problem is that when I close my win0_1, I want to make a Rebind on the grid on the win2, but I don't know how to do this. In fact, I'm using dataSet for the grid and when I closed the win0_1, data are add to the dataSet of the grid, so I just have to refresh my grid and the data will appears. I think about calling a javaScript function that is in the win2, but how to access to the radWindow of a child of a child of a window ?. 
Thank you,

David Lefaivre-Boucher
David
Top achievements
Rank 1
 answered on 13 Jun 2011
3 answers
79 views
Hi Everyone,

I followed the following example and did a module at my work.I was able to do everything very well.I have no clue it suddenly gave me an error saying that There is an error in the innertext of the HTML.

http://demos.telerik.com/aspnet-ajax/ajax/examples/manager/dynamicajaxsettings/defaultcs.aspx?product=grid
I checked every tag ....
Nothing is working
When I click on add new employee link button in the above eg it is not showing the divexternalform.
Any one have any idea y the INNER TEXT Error comes up.

Please help me.

I tried to change the div tag to asp:Panel tag still it is doing nothin but refereshing the page.



Thanks,
Sravanthi



sravanthi
Top achievements
Rank 1
 answered on 13 Jun 2011
0 answers
63 views

Greetings,

I have an web app in VB.net 2005 with the ASP.NET AJAX Q2 2010.

I am using RadAjaxManager to configure the call for the page – there are no Update Panels etc…

The partial postback thing working fine on (Localhost) However when I publish it out

to the test server I lose all AJAXfication and I get a full post back.

When the user clicks the ASP:Button  I add a set of GUI elements programmatically to the page:

                Dim rmtb As RadMaskedTextBox = New RadMaskedTextBox()

                With rmtb

                    .Mask = "###.###.###.###"

                    .PromptChar = ""

                    .Width = "120"

                    .SelectionOnFocus = SelectionOnFocus.CaretToBeginning

                    .ID = "rtbIPAddress_2"

                End With

  daPlaceHolder.Controls.Add(rmtb)

And we get a partial post back – localhost

On the server we get a full postback – resetting other input fields in GUI.

Is there an issue with inserting the controls into PlaceHolder  and not a ASP Panel (or Div).

Is ASP: PlaceHolder a bad thing here.. – I read something about to this effect at Telerik.com

 

Has anyone else experinced this issue and how did they debugg and or solve it?

Thanks!

David Gilden MCSD / Web Developer

 

David
Top achievements
Rank 1
 asked on 13 Jun 2011
1 answer
105 views
Using .NET 3.5 and C#. Trying to invoke the insert mode in my RadGrid. I have a FormTemplate set up. From the main page I call a popup window from which an item is selected that will govern the defaults for a new row in my RadGrid. The popup closes as follows:

 

        function TemplateSelected2() {
            if (window.opener != null && window.opener.StartNewLineItem != null) {

                // Call the parent window function to create a new line item
                if (templateID != "") {
                    window.opener.StartNewLineItem(templateID);
                }
                window.close();
            }
        }

 

 

 

Back on the main form, StartNewLineItem is meant to invoke the insert mode of the RadGrid
 

    function StartNewLineItem(templateID) {
        alert("start new line item");
        alert(templateID);

        // Start a new line item

        var tableView = $find("<%= RadGrid1.ClientID %>").get_masterTableView();
        tableView.IsItemInserted = true;
        tableView.rebind();

        // Copy values from the selected template into the new line item
        // <TODO>
        alert("after insert mode");
    }

 

The code runs without error, but does not put the RadGrid in Insert mode.

Is there a particular setting needed besides setting IsItemInserted=true and calling rebind() ?

Thanks.


 

Tsvetoslav
Telerik team
 answered on 13 Jun 2011
0 answers
58 views
Can't reproduce the issue now, so deleting post.
Shira
Top achievements
Rank 1
 asked on 13 Jun 2011
3 answers
115 views
Hello,

I am having a lot of difficulties finding information on the client API for the TreeList control.
I kept reading threads where Telerik staff was replying that the client side API would come soon and be greatly improved etc.

I am trying to achieve something very "simple" and I honestly thought it would be native in such a control. I want to be able to get the datakey information of a dataitem on the double click event. I can get to the item itself, but then either I am missing something in the various documentations, or it is impossible.

Is there a way to, on the client side, get the datakey value of the selected item ? (Native or not)

My Telerik ASP.NET AJAX version: v.2011.1.315.35

Thank You,

Jerome Prunera-Usach
Iana Tsolova
Telerik team
 answered on 13 Jun 2011
2 answers
345 views
Hello,
I saw in the link below this code:

 

<asp:ImageButton ID="btnPrintAll" runat="server" ImageUrl = "~/Images/NewDesign/btn-print-selected-dasr.png" CssClass="top" OnClientClick="MyPrint(); return false;" />

 


<telerik:ReportViewer ID="ReportViewer1" runat="server" style="display

:none">

 


</
telerik:ReportViewer

 

>

 

 

http://www.telerik.com/help/reporting/faq-print-client.html


when i write this code i get an error : Unknown server tag 'telerik:ReportViewer'.
i tried to drag the control from the toolbox but it doesn't appear.

My goal is to print reports without opening them

it's very important for me,
thanks in advance.
Yoni
Top achievements
Rank 1
 answered on 13 Jun 2011
2 answers
166 views

 

 


Hi,

I have a scenario, where i need to show a confirm msg box, for user. i.e.

Please find the sample code for yout reference.

 

 <form id="form1" runat="server">  
<telerik:RadScriptManager ID="RadScriptManager1" runat="server">  
</telerik:RadScriptManager> 
    <div> 
        <asp:Label ID="Label1" runat="server" ForeColor="Red" Visible="false"></asp:Label> 
      
        <telerik:RadUpload ID="RadUpload1" runat="server" ControlObjectsVisibility="None" 
            InputSize="34" Width="225px" ReadOnlyFileInputs="true" AllowedFileExtensions=".xls" 
            EnableFileInputSkinning="false">  
            <Localization Select="Browse" /> 
        </telerik:RadUpload> 
        <asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" OnClientClick="window.confirm('This will replace the current file. Do you want to continue?');" /> 
    </div> 
    </form> 
c#
protected void Button1_Click(object sender, EventArgs e)  
    {  
        Label1.Visible = true;  
        if (RadUpload1.UploadedFiles.Count > 0)  
        {  
            //Code to save the file  
            Label1.Text = "File uploaded successfully";  
        }  
        else 
        {  
            Label1.Text = "Select a file to upload";  
        }  
    } 

With this the RadUpload1.UploadedFiles.Count is becoming zero. So i am unable to upload the file.

I know that Upload control has some drawbacks in order to maintain security.

Help me.

Thanks & Regards,
Sudhanva.

 

Qusay
Top achievements
Rank 1
 answered on 13 Jun 2011
1 answer
252 views
Hi All,

How do I sort the field list menu items?  It's appearing in the same order as the columns in the grid.  I have many columns that are hidden which means my list is large and needs sorted!

Thanks,
Jerry
Mira
Telerik team
 answered on 13 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?