This is a migrated thread and some comments may be shown as answers.

Grid / Window Editing issue

1 Answer 24 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Peter Sitero
Top achievements
Rank 1
Peter Sitero asked on 31 Dec 2009, 07:58 PM
I am attempting to recreate the demo Grid / Window Editing and have run into a problem on the protected sub:

Protected

 

Sub RadAjaxManager1_AjaxRequest(ByVal sender As Object, ByVal e As UI.AjaxRequestEventArgs) Handles RadAjaxManager1.AjaxRequest
I am receiving an "unknown type" error in reference to UI.AjaxRequestEventArgs
I have included all of the imports from the demo, but it seems like one may be missing?
Imports System
Imports System.Data
Imports System.Configuration
Imports System.Collections
Imports System.Web
Imports System.Web.Security
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports System.Web.UI.WebControls.WebParts
Imports System.Web.UI.HtmlControls
Imports Telerik.Web.UI

 

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 04 Jan 2010, 07:43 AM
Hello Peter,

You should be passing the argument as Telerik.Web.UI.AjaxRequestEventArgs instead of UI.AjaxRequestEventArgs. This may be the reason for your error.

Happy New Year!
-Princy.
Tags
Grid
Asked by
Peter Sitero
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or