Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
65
Accessing UltraWebGrid events within a Repeater
posted

I'm currently working on a screen where I need to add a UltraWebGrid to a repeater. Prior to adding this grid to the repeater, I wrote logic for the InitializeLayout, InitializeRow, UpdateRowBatch, etc events to handle editing and saving data within the grid. Now that I've moved this Grid to a repeater, I can only access the Grid by using the FindControl method within the ItemDataBound event of the repeater. Because of this, the logic within the Grid Event methods can no longer access the Grid directly.

My question is, is it even possible to access Grid Events from within a repeater?

Note: I'm using Infragistics35.WebUI.UltraWebGrid.v11.1

Parents
  • 2680
    Verified Answer
    Offline posted

    Hello,

    Thank you for contacting Infragistics support!

    The UltraWebGrid is a control that has been retired and is no longer supported by Infragistics. If you wish to learn more about why this, among with other controls, have been retired, and the successor controls for ASP.NET WebForms, please review the blog post by Taz. For additional information on support expiration for any of our products please take a look here.

    Generally you could access the control which fired a WebForms server-side event like this:

    private void UltraWebGridEvent(object sender, EventArgs e)
    {
        UltraWebGrid ultraWebGrid = sender as UltraWebGrid;
        //your logic here
    }

    Please let me know if I could be of further assistance.

Reply Children
No Data