Format:
Recent snippets matching tags of aspx
using System; using System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class Features_ImportExport : System.Web.UI.Page { const string DocumentUrl = @"~/Content/Demo/SampleImportDocument.rtf"; const string ContentFolder = @"~/UploadImages/Imported";
220 Views
no comments
public partial class _Default : System.Web.UI.Page { private bool mInserted = false; protected void Page_Load(object sender, EventArgs e) { mInserted = false; } protected void ASPxGridView1_CustomJSProperties(object sender, ASPxGridViewClientJSPropertiesEventArgs e) { e.Properties["cpIsInserted"] = mInserted.ToString(); }
623 Views
no comments
<dxwgv:ASPxGridView ID="ASPxGridView1" runat="server" AutoGenerateColumns="False"
DataSourceID="AccessDataSource1" KeyFieldName="CategoryID"
OnCustomJSProperties="ASPxGridView1_CustomJSProperties"
onrowinserted="ASPxGridView1_RowInserted">
<ClientSideEvents EndCallback="function(s, e) {
if (s.cpIsInserted == 'True') alert('Inserted!');
}" />
1046 Views
no comments
protected void ASPxButton1_Click(object sender, EventArgs e)
{
object key = ASPxGridView1.GetRowValues(2, "CategoryID");
ASPxGridView1.Selection.SelectRowByKey(key);
}
414 Views
no comments
<system.web>
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" tagPrefix="ajaxToolkit"/>
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</controls>
</pages>
</system.web>
388 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
