Hi I need to ajaxify a column in a grid in a Usercontrol... i did a search and found an example on how to achieve it but the sample was using an asp button...
How can i achieve the same thing without the use of the asp:button
Also, just to confirm, Can i still use this snippet even if mine is called from a user control with a RadAjaxManagerProxy? The AjaxManager is from my Master Template...
How can i achieve the same thing without the use of the asp:button
<
telerik:GridButtonColumn
ButtonType
=
"PushButton"
CommandName
=
"ViewResults"
FilterControlAltText="Filter ViewButton
column"<BR>
Text="View Results" UniqueName="ViewButton" DataTextField="CRM_TRACKING_ID"
HeaderText="CRM Tracking ID"><
BR
></
telerik:GridButtonColumn
>
Also, just to confirm, Can i still use this snippet even if mine is called from a user control with a RadAjaxManagerProxy? The AjaxManager is from my Master Template...
protected void RadGrid1_ItemCreated(object sender, Telerik.WebControls.GridItemEventArgs e) |
{ |
if (e.Item is GridDataItem) |
{ |
GridDataItem item = (GridDataItem)e.Item; |
ImageButton ImageButton1 = (ImageButton)item["TemplateColumn"].FindControl("ImageButton1"); |
RadAjaxManager1.AjaxSettings.AddAjaxSetting(ImageButton1, TextBox1, null); |
} |
} |