Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
89 views
I saw this article: http://www.telerik.com/help/aspnet-ajax/grid-align-columns-in-hierarchy.html

but can't make it work to align the columns; have you got any code samples with Visa skin?

Thanks,
Pooya
Top achievements
Rank 1
 answered on 18 Aug 2011
7 answers
130 views
Hi all,

I am using RadGrid with NestedViewTemplate is another RadGrid for showing Master - Detail data. As the default, when you click on the icon in the first column to show the detail view.

Could I change this by clicking on another column (I don't want to use the first column and of course its icon).
Thank you,
Phuc PHAM
Phuc
Top achievements
Rank 1
 answered on 18 Aug 2011
1 answer
70 views
Dear Telerik Team,

I would like to maintain parent grid row selected colour after double click parent grid and appears popup window.

Thanks in advance,
Phyu Sin.
Princy
Top achievements
Rank 2
 answered on 18 Aug 2011
7 answers
258 views
hello

i am currently replacing some buttons with the radbutton.
for buttons and linkbuttons i was setting the "onclick" attribute to call a JS-function which opens a popup after checking if it isn't already open which should be avoided when using radbutton.
so i adapted the code to use the radbuttons OnClientClicking property to

"function(sender,args){" + javaScriptCall + "}";

where javaScriptCall calls the JS-function which returns a window:

top.Popup1 = OpenWindowWithCheck(top.Popup1, 'url', 'errormessage','Popup1')

and here is the function:

function OpenWindowWithCheck(Window, PagePath, ErrorMessage, WindowName)
{
    if (Window == null || Window.closed) {
        Window = window.open(PagePath, WindowName);
    }
    else {
        if (confirm(ErrorMessage))
        {
            Window.close();
            Window = window.open(PagePath, WindowName);
        }
        else
        {
            Window.focus();
        }
    }
    return Window;
}

This works well except that i get a popup-blocker message by IE9 now.
How can i avoid this popup-message or is there another way to call my JS-function with radbutton?


Slav
Telerik team
 answered on 18 Aug 2011
6 answers
133 views
Hi all,

I am using a combobox with its items are checkboxes. When a item is checked/unchecked another combobox will be filtered data. So what is the EventName of this Action for declaring UpdatedControls as below

<telerik:AjaxSetting AjaxControlID="cmbCheckBox" EventName="?">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="cmbFiltered" />
                </UpdatedControls>                
            </telerik:AjaxSetting>

Thanks for your support.
Phuc
Top achievements
Rank 1
 answered on 18 Aug 2011
3 answers
169 views
I've got 3 textboxes and an InputManager that sets the EmptyMessages of these textboxes. On initial page load, the empty messages are displayed fine, however on an Ajax postback of a radcombobox, these empty messages disappear and leave the textboxes blank.

Why is this happening? Thanks.
Iana Tsolova
Telerik team
 answered on 18 Aug 2011
1 answer
99 views
hi,

I have been searching this for many days. How to populate 2nd radgrid based on the selected row of 1st radgrid. I dont want postback to happen as I will be doing many other functionalities on 1st grid like doubleclick to open modal window sort, filter etc.

Please can anyone help me with sample code

Thanks in advance.
Princy
Top achievements
Rank 2
 answered on 18 Aug 2011
1 answer
101 views
Hi,

I have implemented a master child rad grid , where the child data for a particular row gets loaded only when user clicks on the uncollapse icon next to the mater data for a particular row.

Now when I am doing an export to excel via ItemCommand, i found that it also tries to load the child data by calling Childgrid_NeedDataSource before doing an export. Is there a way I can stop from doing that and only export the master data?

Note: I am having this issue only when I set IgnorePaging to true. Its works fine with IgnorePaging to false.

Any suggestions

-Rajesh
Mira
Telerik team
 answered on 18 Aug 2011
4 answers
185 views
Hi,
I'm facing an issue with RadScheduler.

I'm in WeekView, with ShowAllDayRow property set at true.
What I have to do to show ONLY the all day row, hiding ALL the hours row? setting DayStartTime same as DayEndTime doesn't work.

thanks in advance

Leo
David
Top achievements
Rank 1
 answered on 18 Aug 2011
5 answers
206 views
Hi,

I want to open a radWindow when i click the "Add New Row" Button. I know, i could use a Hyperlink (custom commanditem) - this would be an option if i could use the default style of the Insert Button.

I already stopped the default Insert Event with this code.
protected void gvUser_ItemCommand(object sender, GridCommandEventArgs e)
{
    if (e.CommandName == RadGrid.InitInsertCommandName)
    {
        e.Canceled = true;
           ... some code ...
    }
}

In the ItemCreaded Event I tried to add a "onclick" event, but this wont work.
protected void gvUser_ItemCreated(object sender, Telerik.Web.UI.GridItemEventArgs e)
 {
     if (e.Item is GridCommandItem)
     {
         LinkButton addButton = e.Item.FindControl("InitInsertButton") as LinkButton;
         addButton.Attributes["onclick"] = "return ShowInsertForm();";
     }
}

This is my javascript function.
function ShowInsertForm() {
    window.radopen("Bearbeiten.aspx?umleitung=-1", "rwBearbeiten");
    return false;
}

And this is my radWindowManager
<telerik:RadWindowManager ID="rwmBearbeiten" runat="server" EnableShadow="true">
    <Windows>
        <telerik:RadWindow ID="rwBearbeiten" runat="server" ShowContentDuringLoad="false"
            Width="800px" Height="650px" Title="Bearbeite Umleitungsdaten" Behaviors="Default"
            Modal="true" ReloadOnShow="true">
        </telerik:RadWindow>
    </Windows>
</telerik:RadWindowManager>

I dont have another idea, how i can solve this - i really want to keep the default style of the commanditem - it looks really great.


Best regards,
Raimund
ming
Top achievements
Rank 1
 answered on 18 Aug 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?