Hi,
you do not have access to the web controls (i.e.
mainFormDataGrid.DataSource), Ajax.NET methods will only work as data
exchange between client and server, like static methods!
Regards,
Michael
On 6/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I have the following method that is being invoked
> 1 [AjaxPro.AjaxMethod()]
> 2 public DataSet GetDataSet() {
> 3 DataSet ds = service.GetEventData();
> 4 if( ds != null ) {
> 5 mainFormDataGrid.DataSource = ds;
> 6 mainFormDataGrid.DataBind();
> 7 }
> 8 return ds;
> 9 }
>
> Under the VS 2003 debugger it never seems to execute beyond line 5
>
> Any help is very appreciated
>
>
> >
>
--
Best regards | Schöne Grüße
Michael
Microsoft MVP - Most Valuable Professional
Microsoft MCAD - Certified Application Developer
http://weblogs.asp.net/mschwarz/
http://www.schwarz-interactive.de/
mailto:[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ajax.NET Professional" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/ajaxpro
The latest downloads of Ajax.NET Professional can be found at
http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---