or
public void InstantiateIn(Control container) { ctrlAcquis = new Literal(); ctrlAcquis.DataBinding += new EventHandler(ctrl1_DataBinding); Table tb = new Table(); TableRow r = new TableRow(); TableCell c1 = new TableCell(); TableCell c2 = new TableCell(); r.Cells.Add(c1); r.Cells.Add(c2); tb.Rows.Add(r); c1.Controls.Add(ctrlAcquis); container.Controls.Add(tb); }foreach(GridDataItem item in RadGrid1.MasterTableView.Items) { Image img = item["MyColumn"].FindControl("Image1") as Image; item["MyColumn"].Text = img.AlternateText; } ctrlAcquis public void InstantiateIn(Control container) { ctrlAcquis = new Literal(); ctrlAcquis.ID = "ctrlAcquis"; ctrlAcquis.DataBinding += new EventHandler(ctrl1_DataBinding); Table tb = new Table(); TableRow r = new TableRow(); TableCell c1 = new TableCell(); TableCell c2 = new TableCell(); r.Cells.Add(c1); r.Cells.Add(c2); tb.Rows.Add(r); c1.Controls.Add(ctrlAcquis); container.Controls.Add(tb); } function OnCommand(sender, eventArgs) {
// code omitted here that used radConfirm to get user to approve the selected command
// ...
// code which is executed if user confirms selected command var grid = sender; var MasterTable = grid.get_masterTableView(); itemIndex = eventArgs.get_commandArgument(); masterTable.fireCommand("MyCustomCommand", itemIndex);}<%
@ Register Assembly="Telerik.Web.UI", Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
4) Intellisense is working fine in the code behind files.
But, still it doesn't seem to work in the ASPX files alone. Can you please suggest a solution to enable intellisense to show up in the ASPX pages also for Telerik controls ?
We are using Visual Studio 2008 with SP1.
Thanks & Regards,
Karthik.
$find("<%= RadAjaxManager1.ClientID %>").ajaxRequest();
Dim GridItem As GridDataItem = CType(grdTrngs.EditItems(0), GridDataItem) Dim cmbDocs As RadComboBox = GridItem.FindControl("cmbTrngsHR_DOCS_ID")
| <telerik:RadScriptManager runat="server" ID="rsm"></telerik:RadScriptManager> |
| <telerik:RadNumericTextBox ID="txtAmount" Runat="server"></telerik:RadNumericTextBox> |
| <asp:RangeValidator runat="server" id="rv1" MinimumValue=0 MaximumValue=1 ControlToValidate="txtAmount" ErrorMessage="Please fix"></asp:RangeValidator> |
| <ajaxControlToolkit:ValidatorCalloutExtender runat="Server" ID="vcerv1" TargetControlID="rv1" /> |
| <asp:Button runat="server" Text="Save" ID="btnSave" /> |

<div> <table> <thead> ...HEADERS </thead> <tbody> <telerik:RadXmlHttpPanel ID="workflowPanel" runat="server" WebMethodName="GetWorkflow" RenderMode="Block" WebMethodPath="~/Apps/RTO/Webservices/WorkflowChain.asmx" OnClientResponseEnding="onWorkflowEnding" OnClientResponseEnded="onWorkflowEnded" OnClientResponseError="onWorkflowError" EnableViewState="false" > </telerik:RadXmlHttpPanel> </tbody> </table></div>