J
javelin
Since I haven't had any success manually updating this formview, I
thought I'd repost on another route I'm trying. To recap, I am
manually binding to a datasource using the MySQL .NET connector, and
I've been able to run action queries on this database when directly
coding them. However, I now have the need to update the formview. I've
tried to use the FormView.UpdateItem(), and then a LinkButton control,
and in both cases get a "missing event handler" error. Using the
LinkButton, I get the following:
The FormView 'fvEditImpRec' fired event ItemUpdating which wasn't
handled.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: The FormView
'fvEditImpRec' fired event ItemUpdating which wasn't handled.
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace
below.
[HttpException (0x80004005): The FormView 'fvEditImpRec' fired event
ItemUpdating which wasn't handled.]
System.Web.UI.WebControls.FormView.OnItemUpdating(FormViewUpdateEventArgs
e) +324
System.Web.UI.WebControls.FormView.HandleUpdate(String commandArg,
Boolean causesValidation) +972
System.Web.UI.WebControls.FormView.HandleEvent(EventArgs e, Boolean
causesValidation, String validationGroup) +545
System.Web.UI.WebControls.FormView.OnBubbleEvent(Object source,
EventArgs e) +163
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs
args) +56
System.Web.UI.WebControls.FormViewRow.OnBubbleEvent(Object source,
EventArgs e) +118
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs
args) +56
System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e)
+106
System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String
eventArgument) +175
System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String
eventArgument) +31
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument) +32
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
+242
Please let me know if anyone has a clue for me, as I'm newer to .NET
than VB and classic ASP, so I need direction.
Thanks.
thought I'd repost on another route I'm trying. To recap, I am
manually binding to a datasource using the MySQL .NET connector, and
I've been able to run action queries on this database when directly
coding them. However, I now have the need to update the formview. I've
tried to use the FormView.UpdateItem(), and then a LinkButton control,
and in both cases get a "missing event handler" error. Using the
LinkButton, I get the following:
The FormView 'fvEditImpRec' fired event ItemUpdating which wasn't
handled.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: The FormView
'fvEditImpRec' fired event ItemUpdating which wasn't handled.
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace
below.
[HttpException (0x80004005): The FormView 'fvEditImpRec' fired event
ItemUpdating which wasn't handled.]
System.Web.UI.WebControls.FormView.OnItemUpdating(FormViewUpdateEventArgs
e) +324
System.Web.UI.WebControls.FormView.HandleUpdate(String commandArg,
Boolean causesValidation) +972
System.Web.UI.WebControls.FormView.HandleEvent(EventArgs e, Boolean
causesValidation, String validationGroup) +545
System.Web.UI.WebControls.FormView.OnBubbleEvent(Object source,
EventArgs e) +163
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs
args) +56
System.Web.UI.WebControls.FormViewRow.OnBubbleEvent(Object source,
EventArgs e) +118
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs
args) +56
System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e)
+106
System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String
eventArgument) +175
System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String
eventArgument) +31
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument) +32
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
+242
Please let me know if anyone has a clue for me, as I'm newer to .NET
than VB and classic ASP, so I need direction.
Thanks.