Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
154 views
Hi,

I am using RadGrid, I want the alternate rows should be just look like normal item rows, so I set the AlternateItemStyle-BackColor to white, this works fine.
But a thin horizontal line is still coming in the bottom of alternate rows, see the attached snapshot.
How can I get rid of this thin line?

Ajay
Top achievements
Rank 1
 answered on 16 May 2011
3 answers
101 views
Greetings,

The slider is missing from my grid on Safari and Chrome, but is fine in both FF and IE.

See the screenshots for more information.

Using version: ASP.NET AJAX - Q1 2011

Please advise.

Thanks.
Pavlina
Telerik team
 answered on 16 May 2011
1 answer
86 views
When i set the grid's width not to occupy 100% of the space, i follow your mentioned code as follows

if

 

(actualOffsetWidth < l_screenWidth) {

 

 

sender.MasterTableView._element.style.width =

"";

 

sender.get_element().style.width = sender.MasterTableView._element.offsetWidth +

"px";

 

}

This works fine when I dont have vertical scrollbars. But when I get vertical scrollbars i get 17px difference. See the attached screen.

2) When we have vertical scroll bars it also automatically introduces horizontal scrollbars. I dont know why... i dont need that to be shown. See attachements.

see the difference in header and column lines and also see the unwanted horizontal scrollbar.

your immediate reply is requested.

Thanks very much

Tsvetina
Telerik team
 answered on 16 May 2011
3 answers
112 views

I'm using JavaScript to expand a tree node based on the condition. Script work in IE and FF but not in Chrome, the version of my Chrome browser is 11.


function ClientNodeExpanded(sender, eventArgs) {
    var node = eventArgs.get_node();
 
    if (typeof (node) !== 'undefined' && node != null) {
        if (node.get_nodes().get_count() > 0) {
            for (var i = 0; i <= node.get_nodes().get_count(); i++) {
                var ChildNode = node.get_nodes().getNode(i);
                if (typeof (ChildNode) !== 'undefined' && ChildNode != null) {
                    if (ChildNode.get_text() == "Online") {
                        ChildNode.expand(true);
                    }
                }
            }
        }
    }
}

Can you tell me if this is a problem with the control or i'm doing something wrong?

Thanks you.
Ivan Zhekov
Telerik team
 answered on 16 May 2011
3 answers
148 views
I have Schedular control that include 3 resources, on OnClientTimeSlotClick event I need to know which resource is selected.

thanks,
Veronica
Telerik team
 answered on 16 May 2011
4 answers
290 views
I have a series of buttons on a page that are part of a repeater control.  The query string in the navigate URLs gets populated from the database.  What I'd like to do is have the target page open in a radwindow rather than in a standard browser window.

Below is my aspx code.  Can someone guide me on the changes I need to make to have the target pages open in radwindows? Thanks!


<asp:Repeater ID="Repeater1" runat="server" DataSourceID="SqlDataSource1">
                        <ItemTemplate>
                            <table style="margin-bottom:10px; border-width:1px; border-spacing:2px; border-style:outset; border-color:Gray; border-collapse:separate; border-radius:5px; background-color:White;">
                                <tr>
                                    <td rowspan="4" style="width:100px; height:100px;">
                                        <asp:Image ID="Image1" runat="server" ImageUrl="~/images/image_upload_icon.png" />
                                    </td>
                                </tr>
                                <tr>
                                    <td style="width:100px;">
                                        Package Name:</td>
                                    <td style="width:390px; padding-left:10px;">
                                        <%#DataBinder.Eval(Container.DataItem, "PackageName") %>
                                    </td>
                                    <td align="right" style="width:100px;">
                                        <telerik:RadButton ID="RadButton3" runat="server" ButtonType="LinkButton"
                                            Height="18px" Image-EnableImageButton="true"
                                            Image-ImageUrl="~/images/remove_icon.png"
                                            NavigateUrl='<%# "removepackage.aspx?ID=" +Eval("PackageID") %>'
                                            Target="_blank" Text="remove" Visible='<%# Eval("RemoveButtonVisible") %>'
                                            Width="18px">
                                        </telerik:RadButton>
                                    </td>
                                </tr>
Princy
Top achievements
Rank 2
 answered on 16 May 2011
1 answer
28 views
hello,
as the title says, it is possible to change the location of the InlineForm when inserting a new Appointment ?
Right now, the form shows over/close to the cell(s) designated to hold the appointment, i would like to place it centered over the scheduler.
I saw a thread where it was shown how to do this with the AdvancedForm, i don't know if the same is possible with the InlineForm.
Thank you.
Veronica
Telerik team
 answered on 16 May 2011
3 answers
112 views

The demos on this site are really terrible and largely useless.  

All I am trying to do is to upload images files, and display progress of upload (both indvidual and overall).

 

Does anyone have a WORKING example of this? (C#)  for the life of me, I cannot find ANY info on how to actually do this.

How do I query the progress of the current image file being uploaded?

When Uplaod Files Button Clicked:

 

 

foreach

 

(UploadedFile f in RadFileUpload1.UploadedFiles)

 

 

{

 

 

    string fPath = string.Empty;

 

 

 

    int i = 0;

 

 

    i++;

 

 

    fPath = Server.MapPath(

@"~\Scanned_Images") + @"\" + f.GetName();

 

 

    f.SaveAs(fPath,

true);
   /// Call some other loop here???????????

 

 

 

 

//    RIGHT HERE - HOW DOES PROGRESS BAR GET REFRESHED AND DISPLAYED????????????????? HOW DO I QUERY THE STATUS OF EACH FILE BEING UPLOADED?
}


Private Void SomeOtherLoop
{
// something like this???????????

 

 

    for

 

 

(int j = 0; j < 10000; j++)

 

 

    {

 

        context.CurrentOperationText =

 

"Uploading File " + j.ToString();

 

 

        context.PrimaryTotal =

 

Convert.ToString(j);   <===== how do I know % of file uploaded?

 

 

        context.SecondaryPercent = context.PrimaryTotal; <===== how do I know % of file uploaded?

 

        System.Threading.

 

Thread.Sleep(100);

 

 

    }

 

}

 

 

 

Genady Sergeev
Telerik team
 answered on 16 May 2011
1 answer
40 views
Greetings, I'm trying to find a similar Row Detail functionality in the asp.net Ajax Grid like the one found in the silver light Grid.
http://demos.telerik.com/silverlight/#GridView/FirstLook

Please advise.
Shinu
Top achievements
Rank 2
 answered on 16 May 2011
1 answer
63 views
Hello
I wonder if you have a library to make the conservation of HTML to PDF.
I have a grid with multiple rows and columns.
A column is a column we publish HTML with RadEditor.
I need to export the HTML column of each line in a PDF file.
So I have 10 lines, I have 10 PDF files.

Can I use the RadEditor to convert HTML to PDF, but I do a postback for the conversion works. I've seen several rows in the grid the result is not very nice and user-friendly for the user.

Is that code for converting the RadEditor is accessed through a library?

Thank you
Rumen
Telerik team
 answered on 16 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?