protected void RadGridNextSteps_UpdateCommand(object sender, Telerik.Web.UI.GridCommandEventArgs e) { GridDataItem editItem = e.Item as GridDataItem; // found the row TableCell cell = editItem["sDisplayText"]; // found the cell TextBox txt = cell.Controls[0] as TextBox; // found the control string itemValue = txt.Text; // found the control’s value // Problem: itemValue is old value, not new value. }
Hello Telerik Team,
I have a requirement where i need to bind the Radscheduler to two datasources.Meaning
I have developed a usercontrol which is wrapped in a Sharepoint webpart which consists of a
rad scheduler.As of now my rad scheduler pulls the information from a specific list.
But now i need to pull the information for the appointments not only from a specific list but also from a sql database table.
what is the method i need to follow.
Do i need to use this
Any sample for this is greatly appreciated.
Thank you,
Smith
Hi Team ,
I have created webpart where i have included RadScript manager as below . Webpart is displaying correctly where as when I take mouse over any item on left navigation bar i get error as "A runtime error has occured .Do you wish to Debug?" and when I debug the error control takes me over to "onmouseover="Menu_HoverStatic(this)" ,Can you suggest as how to go about the issue .
ScriptManager
_scriptManagerTree = ScriptManager.GetCurrent(this.Page);
if (_scriptManagerTree == null)
{
_scriptManagerTree =
new RadScriptManager();
this.Controls.AddAt(0, _scriptManagerTree);
}
Regards
Srujan.N
<telerik:RadRating ID="ratingBinary" runat="server" ItemHeight="20px" ItemWidth="20px" Orientation="Horizontal" SelectionMode="Single" AutoPostBack="true" OnRate="ratingBinary_Rate"> <Items> <telerik:RadRatingItem Value="0" HoveredImageUrl="Assets/Collection/Images/Rating/Binary/downh.png" HoveredSelectedImageUrl="Assets/Collection/Images/Rating/Binary/downh.png" SelectedImageUrl="Assets/Collection/Images/Rating/Binary/downh.png" ImageUrl="Assets/Collection/Images/Rating/Binary/down.png" ToolTip="No" /> <telerik:RadRatingItem Value="1" HoveredImageUrl="Assets/Collection/Images/Rating/Binary/uph.png" HoveredSelectedImageUrl="Assets/Collection/Images/Rating/Binary/uph.png" SelectedImageUrl="Assets/Collection/Images/Rating/Binary/uph.png" ImageUrl="Assets/Collection/Images/Rating/Binary/up.png" ToolTip="Yes" /> </Items></telerik:RadRating><Columns><telerik:GridTemplateColumn HeaderText="Feature Name" UniqueName="FeatureNameTemplateColumn" ReadOnly="false"><ItemTemplate><asp:Label runat="server" ID="lblFeatureName" Text='<%# Bind("FeaturePropertyName") %>'></asp:Label></ItemTemplate></telerik:GridTemplateColumn><telerik:GridBoundColumn HeaderText="PD" UniqueName="PackageDescriptionEdit"></telerik:GridBoundColumn><telerik:GridBoundColumn HeaderText="Feature Value" UniqueName="FreeTextDataValueEdit"></telerik:GridBoundColumn><telerik:GridTemplateColumn HeaderText="Modified" UniqueName="LastModifiedTemplateColumn" ReadOnly="true"><ItemTemplate><asp:Label runat="server" ID="lblLastModified" Font-Size="8pt" Text='<%# Bind("LastModifiedBy") %>'></asp:Label></ItemTemplate></telerik:GridTemplateColumn><telerik:GridBoundColumn UniqueName="CheckBoxEmailColumn"></telerik:GridBoundColumn></Columns>var chk = new CheckBox {Checked = false, TabIndex = 5000, ID = "chkBoxEmail"};eItem["CheckBoxEmailColumn"].Controls.Add(chk);function CallEmailWindow() {var productid = $telerik.$('#<%= hfProductID.ClientID %>').val();var masterTable = $find("<%= rgvProductDetail.ClientID %>").get_masterTableView();var items = masterTable.get_dataItems();var num = masterTable.get_dataItems().length;for (var index = 0; index < num; index++) {var control = masterTable.get_dataItem()[index].findControl("chkBoxEmail");}}