Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
205 views
I have a master detail radGrid.  I need to programmatically update all detail rows when a column changes in the master table.  Is there a demo or something that will assist me in how to gather all child rows?  I'm able to extract the updated row from e.Item in the ItemUpdated event, but I can't figure out how to access all child rows.  Do I need to go to the datasource or does radGrid provide me with access via the object model?
Sebastian
Telerik team
 answered on 04 Feb 2009
2 answers
141 views

Hi,

I am hidding one button on server side in page load method. I want to set visibility of that button to true from client side using javascript.  any solution for this..

Thanks
Raju

Shinu
Top achievements
Rank 2
 answered on 04 Feb 2009
3 answers
354 views
how to show radtooltip on row mouse  over of radgrid control
Sebastian
Telerik team
 answered on 04 Feb 2009
2 answers
115 views
Hi,

I am using Telerik Tool Bar , i want to fire the buttons events inside the ToolBar. I have attached the Design.
<telerik:RadToolBar runat="server" ID="RadToolBar1" CssClass="RadToolBar"> 
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
    <Items> 
        <telerik:RadToolBarButton Text="Add"  ImageUrl="../App_Themes/images/Add.gif"  CommandName="Insert" > 
        </telerik:RadToolBarButton> 
        <telerik:RadToolBarButton Text="Edit" ImageUrl="../App_Themes/images/Edit.gif" CommandName="Update" > 
        </telerik:RadToolBarButton> 
        <telerik:RadToolBarButton Text="Delete" ImageUrl="../App_Themes/images/deletegrid.gif"  > 
        </telerik:RadToolBarButton> 
        <telerik:RadToolBarButton Text="Save" ImageUrl="../App_Themes/images/Save.gif" > 
        </telerik:RadToolBarButton> 
        <telerik:RadToolBarButton Text="Cancel"> 
        </telerik:RadToolBarButton> 
    </Items> 
</telerik:RadToolBar> 
Plz give me an example. Can any one help me.

Thanks
Jaya
Princy
Top achievements
Rank 2
 answered on 04 Feb 2009
1 answer
166 views
Hello,

I searched for some information on how to submit a form using a specific RadToolBarButton.  I know I could probably do it using javascript, but is there a better solution?

The button will be used with a custom jquery validation plugin and for dirty checking.

Thanks,
Mike
Princy
Top achievements
Rank 2
 answered on 04 Feb 2009
2 answers
114 views
Hello!
I have the following problem.
On master page i have RadMenu (lets call it RadMenu1).
On page with its master i populate it with data (using RadMenu menu = (RadMenu)Master.FindControl("RadMenu1");) etc.
THis works fine, since all data is there.
On this page i have function (in client script) called functionHello().

What is the way for linking this function to RadMenu1? Since when i try to do:

menu.Attributes["OnClientItemClicked"] = "functionHello";

its not working at all.
Alexander
Top achievements
Rank 1
 answered on 04 Feb 2009
3 answers
339 views
I am having trouble extracting the data of a multi-row edit using the techniques described in the "Performing batch updates" article when the data is in a Detail Table, not in the main table.

To set the scene, I have two command buttons, one to Edit All Rows which loops through evey editable item of the DataTable and sets Edit=true. The other button then issues a SaveAll command to save the new data in each item.

All of my columns are GridTemplateColumns and have labels in their ItemTemplate to display the data and textbox or or other controls in their EditItemTemplate to allow for editing of the data. I am able to pull the data when the Update button is hit on the row but when I have an Update All command button, it does not work. I have the following IF statement in my ItemCommand:

if (e.CommandName == "SaveAll")  
{  
    //foreach (GridItem item in e.Item.OwnerTableView.Items)  
    foreach (Telerik.Web.UI.GridEditableItem item in rgOptions.EditItems)  
    {  
        string price = ((TextBox)e.Item.FindControl("txtPrice")).Text;  
 
        // Perform some kind of save to DB here  
 
        item.Edit = false;  
    }  
 
    e.Item.OwnerTableView.Rebind();  
} 

The trouble is the FindControl always returns null even though I just entered data into the text box. The Item Template of the GridTemplateColumn puts the data into a label called lblPrice. This label is fully accessable via FindControl. It doesn't seem to recognize that it is in Edit Mode even though Edit = true (although IsEditMode = false, is this supposed to be the case?).

If I try the same exact code on the main table, it works great.

Any thoughts as to what I am missing?

Thank you,
Oleg Fridman
Princy
Top achievements
Rank 2
 answered on 04 Feb 2009
5 answers
155 views

Hi,

I would like to know if it is possible to update a control (status message) on each AJAX request. Setting AjaxSetting would not work because any control on any user control may trigger the postback.
I was thinking of doing this in JavaScript, something like catching the OnRequestStart event and then calling __doPostback for my control but it doesn't seem to work. Do you have any solution for this? 

Thank you
Victor
Pavlina
Telerik team
 answered on 04 Feb 2009
1 answer
275 views
I am trying to figure out how to get the name of the window on the client from the RadWindow client object?  The get_id() method gets me the client id of the window which contains the name, but I need the name by itself.  I can see that the name is part of the json serialized Telerik.Web.UI.RadWindow object.

Sys.Application.add_init(function() {
    $create(Telerik.Web.UI.RadWindow, {
"behaviors":37,"clientCallBackFunction":"OnClientClose","clientStateFieldID":"ctl00_ctlWindowManager_rwClientSearch_ClientState",
"formID":"aspnetForm","height":"550px","iconUrl":"","left":"","minimizeIconUrl":"","modal":true,"name":"rwClientSearch",
"navigateUrl":"/WindowHost.aspx?Control=012345","reloadOnShow":true,"showContentDuringLoad":false,"skin":"Gray","title":"Assign to report  version ","top":"","visibleStatusbar":false,"width":"550px"}, null, null, $get("ctl00_ctlWindowManager_rwClientSearch"));
});
Georgi Tunev
Telerik team
 answered on 04 Feb 2009
1 answer
82 views
Hi,

I have this problem with my RadGrid. One of the columns contains a template and therefore a FormTemplate is defined. A strange think happened as every row that has an alternate row style is now stretching over the grid edge. Has anyone seen this issue before?

Thanks.
Shinu
Top achievements
Rank 2
 answered on 04 Feb 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?