TextBox txtGameUPC = (TextBox)editForm.FindControl("txtGameUPC"); txtGameUPC.Visible = true; txtGameUPC.Enabled = false; //Call Java script function to validate the UPC code txtGameUPC.Attributes.Add("onblur", "validateUPC('" + txtGameUPC.ClientID + "');");
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>