thead{ display:table-header-group; } tbody{ display:table-row-group; }<tr class="rgGroupHeader"> <td class="rgGroupCol"><input type="submit" name="ctlrReportDesigner1$RadGrid1$ctl00$ctl04$ctl00" value=" " title="Collapse group" class="rgCollapse"></td><td colspan="3"><p>My Group Header</p></td> </tr>RadGrid1.AllowSorting = false; // Turn off column sorting when in Display modeRadGrid1.Columns[c1ASelectFile].Visible = false; // Hide "Select View" ColumnRadGrid1.Columns[c1APrintFile].Visible = false; // Hide "Print" ColumnRadGrid1.ClientSettings.Resizing.AllowColumnResize = false;RadGrid1.ClientSettings.Resizing.ResizeGridOnColumnResize = false;RadGrid1.ClientSettings.Resizing.ClipCellContentOnResize = false;RadGrid1.ClientSettings.AllowColumnsReorder = false;RadGrid1.CurrentPageIndex = iRecord; // Set document to display RadGrid1.PageSize = 1; // Set to one record per page when displaying documentRadGrid1.DataBind();Event code: 3005 Event message: An unhandled exception has occurred. Event time: 10/31/2011 3:43:14 PM Event time (UTC): 10/31/2011 10:43:14 PM Event ID: e83be8bc2dcb4fac96c0f6d752826fe9 Event sequence: 2063 Event occurrence: 5 Event detail code: 0 Application information: Application domain: /LM/W3SVC/1/Root/SpeechRecords-1-129645654292996087 Trust level: Full Application Virtual Path: /SpeechRecords Application Path: C:\WebSite\SpeechRecords\ Machine name: SVRTEONLINE Process information: Process ID: 97572 Process name: w3wp.exe Account name: NT AUTHORITY\NETWORK SERVICE Exception information: Exception type: ArgumentException Exception message: Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation. Request information: Request URL: http://192.168.0.238/SpeechRecords/Records.aspx Request path: /SpeechRecords/Records.aspx User host address: 192.168.1.131 User: Is authenticated: False Authentication Type: Thread account name: NT AUTHORITY\NETWORK SERVICE Thread information: Thread ID: 1 Thread account name: NT AUTHORITY\NETWORK SERVICE Is impersonating: False Stack trace: at System.Web.UI.ClientScriptManager.ValidateEvent(String uniqueId, String argument) at System.Web.UI.Control.ValidateEvent(String uniqueID, String eventArgument) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Custom event details: For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.TextBox txtBox = (TextBox)dataItem.FindControl("rtbDIN"); TextBoxSetting stringSetting = (TextBoxSetting)RadInputManager1.GetSettingByBehaviorID("StringBehavior"); stringSetting.TargetControls.Add(new TargetInput(txtBox.UniqueID, true)); ajxManager.ResponseScripts.Add("$find('" & cboFrom.ClientID & "').get_inputDomElement().focus();$find('" & cboFrom.ClientID & "').selectText(0, $find('" & cboFrom.ClientID & "').get_text().length);")<
telerik:RadGrid ID="RadGrid1" GridLines="None" runat="server" AllowAutomaticDeletes="True" AllowAutomaticInserts="True" PageSize="10"
AllowAutomaticUpdates="True" AllowPaging="True" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" OnUpdateCommand="RadGrid1_UpdateCommand"
OnDataBound="RadGrid1_DataBound">
<
asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:GCOM %>"
ProviderName="System.Data.OracleClient" SelectCommand="Select * from GA_DOC D, GA_DOC_Evidence E, GA_Evidence Ev
where D.DOC_ID = E.DOC_ID (+)
and E.EVIDENCE_ID = Ev.EVIDENCE_ID (+)
and LIVE_DATE is not null
and ARCHIVE_DATE is null
and DOC_TYPE_ID = 3"
OldValuesParameterFormatString="original_{0}" ConflictDetection="CompareAllValues">
protected
void RadGrid1_UpdateCommand(object source, Telerik.Web.UI.GridCommandEventArgs e)
{
GridEditableItem item = (GridEditableItem)e.Item;
String documentId = item.GetDataKeyValue("DOC_ID").ToString();
String title = item.GetDataKeyValue("TITLE").ToString();
String price = item.GetDataKeyValue("SALE_PRICE").ToString();
SqlConnection conn = null;
SqlDataReader rdr = null;
conn =
new SqlConnection(ConfigurationManager.ConnectionStrings["FTPFactoryConnStr"].ConnectionString);
try
{
//Open the connection and save data on Application's SQL DB.
conn.Open();
SqlCommand cmd = new SqlCommand(ConfigurationManager.AppSettings["ADDCONTROLFILE"].ToString(), conn);
cmd.CommandType =
CommandType.StoredProcedure;
cmd.Parameters.Add(
new SqlParameter("@FTPAction", "N"));
cmd.Parameters.Add(
new SqlParameter("@ExpirationDate", new DateTime(DateTime.Now.Ticks + 2).ToString("yyyyMMdd")));
cmd.Parameters.Add(
new SqlParameter("@ResearchId", Convert.ToInt32(documentId)));
cmd.Parameters.Add(
new SqlParameter("@Ticker", "abc"));
cmd.Parameters.Add(
new SqlParameter("@PPVDocumentPrice", price));
function TelerikMenu_OnClientItemPopulated(sender, eventArgs) { var items = eventArgs.get_item().get_items(); for (var i = 0; i < items.get_count(); i++) { var item = items.getItem(i); if (item != null) { item.get_items(); } }}