• North American Sales: 1-800-231-8588
  • Global Contacts
  • My Account
Infragistics Infragistics
Menu
  • North American Sales: 1-800-321-8588
  • My Account
    • Sign In/Register
  • Design & DevelopmentDesign & Develop
    • Best Value
      Infragistics Ultimate The complete toolkit for building high performing web, mobile and desktop apps.
      Indigo.Design Use a unified platform for visual design, UX prototyping, code generation and application development.
    • Web
      Ignite UI for Angular Ignite UI for JavaScript Ignite UI for React Ultimate UI for ASP.NET Indigo.Design
    • Desktop
      Ultimate UI for Windows Forms Ultimate UI for WPF
      Prototyping
      Indigo.Design
    • Mobile
      Ultimate UI for Xamarin Ultimate UI for iOS Ultimate UI for Android
    • Automated Testing Tools
      Test Automation for Micro Focus UFT: Windows Forms Test Automation for Micro Focus UFT: WPF Test Automation for IBM RFT: Windows Forms
  • UX
    • Indigo.Design Desktop Collaborative prototyping and remote usability testing for UX & usability professionals
    • Indigo.Design A Unified Platform for Visual Design, UX Prototyping, Code Generation, and App Development
  • Business Intelligence
    • Reveal Embedded Accelerate your time to market with powerful, beautiful dashboards into your apps
    • Reveal App Empower everyone in your organization to use data to make smarter business decisions
  • Team Productivity
  • Learn & Support Support
    • Help & Support Documents
    • Blogs
    • Forums
    • Product Ideas
    • Reference Applications
    • Customer Stories
    • Webinars
    • eBook & Whitepapers
    • Events
  • Free Trials
  • Pricing
    • Product Pricing / Buy Online
    • Renew Existing License
    • Contact Us
  • Tags
  • Subscribe by email
  • More
  • Cancel
  • How do I know if a request is an ajax request made by Infragistics control?

    [Infragistics] Murtaza Abdeali
    [Infragistics] Murtaza Abdeali

    One of the common scenarios page developers run into is to make sure only the code necessary to serve up a particular request is executed during a page cycle. When using the ASP.NET AJAX controls built on top of our Aikido framework, you can easily filter calls made by these controls within your code behind by checking the following flag. 

    Infragistics.Web.UI.Framework.AppSettings.IsAjaxPostBack

    This flag was…

    • Thu, Apr 9 2009
  • How do I setup WebDataGrid paging when there are a lots of pages?

    [Infragistics] Tony Lombardo
    [Infragistics] Tony Lombardo

    QuickPages is a method of paging which will give links to a limited number of pages before and after the current page index.   Below is an example of the Paging behavior which is setup to display 3 quick pages along with a "First" and "Last" quick link.  This setup provides the best user experience for paged records which return more than 8 pages of data.

    <ig:Paging PagerAppearance="Both" PagerMode…
    • Sat, Feb 28 2009
  • How do I set Application Styling settings through the Web.Config?

    [Infragistics] Tony Lombardo
    [Infragistics] Tony Lombardo

    You can use the AppStyling Visual Studio Add-in which is available from the Tools menu in Visual Studio. 

    Alternatively, you can manually add the settings into your web.config as seen below.

    <configSections>
      <section name="infragistics.web" type="System.Configuration.SingleTagSectionHandler,System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
    </configSections>
    <infragistics.web…
    • Sat, Feb 28 2009
  • How do I dynamically change Application Style settings at runtime?

    [Infragistics] Tony Lombardo
    [Infragistics] Tony Lombardo

    In Visual Basic:

    Private Sub Page_Load(ByVal sender As System.Object, _
      ByVal e As System.EventArgs) Handles MyBase.Load
    	Dim settings As AppStylingManager = AppStylingManager.Settings
    	settings.StyleSetName = "Office2007Black"
    End Sub
    

    In C#:

    private void Page_Load(object sender, System.EventArgs e)
    {
    	AppStylingManager settings = AppStylingManager.Settings;
    	settings.StyleSetName = "Office2007Black…
    • Sat, Feb 28 2009
  • How do I bind the WebDataGrid to my business objects?

    [Infragistics] Tony Lombardo
    [Infragistics] Tony Lombardo

    The WebDataGrid can bind to a variety of objects, including an IList which is what we'll use in the example below.

    protected void Page_Load(object sender, EventArgs e) 
    { 
        //Assign the DataSource property 
        this.WebDataGrid1.DataSource = this.Customers; 
        //Call DataBind 
        this.WebDataGrid1.DataBind(); 
    } 
        //Get a list of customers 
    public List<Customer> Customers 
    { 
        get 
        { 
    …
    • Sat, Feb 28 2009
  • How do I add a control to the WebDialogWindow through code?

    [Infragistics] Tony Lombardo
    [Infragistics] Tony Lombardo

    You can add controls dynamically to the WebDialogWindow by adding to the ContentPane.Controls collection.

    //Create a textbox
    TextBox tb = new TextBox();
    tb.ID = "tb1";
    tb.Text = "text";
    
    //Add the textbox to the DialogWindow's ContentPane Control's collection
    this.WebDialogWindow1.ContentPane.Controls.Add(tb);
    • Sat, Feb 28 2009
  • How to Get a reference to a control through JavaScript

    [Infragistics] Tony Lombardo
    [Infragistics] Tony Lombardo

    The following code can be used to get a reference to an Infragistics control through JavaScript.  Note ClientID should be used, this value can be retrieved through the "ClientID" property of the control.  Here's a simple example, where "webdatagrid" is the ClientID of the target control.

    function pageLoad() 
    { 
    	//Call $find with the ClientID of the target control 
    	var control =…
    • Sat, Feb 28 2009
  • How can I combine all script files for the WebDataGrid into a single script?

    [Infragistics] Tony Lombardo
    [Infragistics] Tony Lombardo

    This Snippet explains how to enable Script Combining.  For more details on why to use Script Combining, read Understanding Script Combining.

    Note: for this to work, you must change the Version number in the Assembly attribute to match the version you're using.

    <asp:ScriptManager ID="sm" runat="server">
        <CompositeScript>
            <Scripts>
                <asp:ScriptReference Name="MicrosoftAjax.js" />
            …
    • Sat, Feb 28 2009
  • Products
    • Developers
    • UX Pros
    • Business Teams
    • View All
    • Free Trials
  • Learn & Support
    • Help & API Docs
    • Blogs
    • Technical Support Chat
    • Forums
    • Submit a Request
  • My Account
    • Manage My Subscriptions
    • Support Requests
  • Corporate
      • About Us
      • Careers
      • Legal
      • News & Events
      • Partners
  • Privacy Policy
  • Cookies
  • Terms of Use