web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Calling codebehind method without postback within JQuery on a user control

(0) ShareShare
ReportReport
Posted on by

It seems like the only possible way to call a method in codebehind is with Ajax. Ajax calling WebMethods or ajax calling an asp webservice (asmx). The problem is that I'm working with AX 2012 Enterprise Portal and creating WebMethods is not possible since I don't have access to the code behind file of the web page. AX 2012 Enterprise portal uses user controls(.ascx files) only. I've been trying to use asp:UpdatePanels, but that doesn't really work as I want to. What I want to accomplish is to have a textbox where the user can type something and after 2 or 3 characters, a dropdown should appear right below the textbox with some results. I've manage to create all of this, but i'm facing with the problem of calling server side code inside of an user controls. I've read about webservices but is web service the only possible way for me or does anyone have a sneaky trick to accomplish this?

*This post is locked for comments

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans