By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,918 Members | 1,816 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,918 IT Pros & Developers. It's quick & easy.

Dynamic GUI in ASP.NET and AJAX?

P: n/a
Hello all:

I am a CRM Solution Architect so not a .NET expert by any means. I am
working with a customer who needs to modify the Advanced find in CRM which
works as shown here:

http://thestraumanns.mine.nu/af.html

Screen 1 shows a saved query loaded in the tool, and you can add query rows
by clicking the "Select" link which will display Screen 2. If you then
select something from the drop down, more GUI elements appear as shown in
screen 3, and note that a new row is added with the "Select" link. You can
add as many rows as you need.

The customer needs to work with Advanced find, but the AF functionality in
CRM cannot be modified in any way. CRM does have an extensive SDK via web
services, most data is accessible, and external ASPX pages can be called via
buttons on the CRM toolbars.

So they are thinking of using an AJAX-enabled ASPX page that is called from
a CRM entity. However they need the GUI to "dynamically build" based on the
saved query they choose, so initially the GUI would show the search
parameters saved by the query as shown in Screen 1, and then they want to be
able to mimic the behavior of the AF tool with the ability to add rows to
the query.

So, does anyone know if this is possible using ASPX and AJAX? I tried
mocking up a GUI that builds itself at run-time but so far I have not had
any luck.

Can anyone make a suggestion of how they can attack this?

Thanks in advance for any and all advice.

John.
Aug 8 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
It can be done. Dynamically adding controls with AJAX is a bit difficult,
but if you can take a trip back to the server, it is easy enough to set up
dynamic controls on a page with server code. I am not stating it is
impossible with AJAX, but you either have to go completely AJAX or you get
into a position where you have to write the sync mechanism between the
client and server bits.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

********************************************
| Think outside the box! |
********************************************
"John Straumann" <js********@hotmail.comwrote in message
news:A5**********************************@microsof t.com...
Hello all:

I am a CRM Solution Architect so not a .NET expert by any means. I am
working with a customer who needs to modify the Advanced find in CRM which
works as shown here:

http://thestraumanns.mine.nu/af.html

Screen 1 shows a saved query loaded in the tool, and you can add query
rows by clicking the "Select" link which will display Screen 2. If you
then select something from the drop down, more GUI elements appear as
shown in screen 3, and note that a new row is added with the "Select"
link. You can add as many rows as you need.

The customer needs to work with Advanced find, but the AF functionality in
CRM cannot be modified in any way. CRM does have an extensive SDK via web
services, most data is accessible, and external ASPX pages can be called
via buttons on the CRM toolbars.

So they are thinking of using an AJAX-enabled ASPX page that is called
from a CRM entity. However they need the GUI to "dynamically build" based
on the saved query they choose, so initially the GUI would show the search
parameters saved by the query as shown in Screen 1, and then they want to
be able to mimic the behavior of the AF tool with the ability to add rows
to the query.

So, does anyone know if this is possible using ASPX and AJAX? I tried
mocking up a GUI that builds itself at run-time but so far I have not had
any luck.

Can anyone make a suggestion of how they can attack this?

Thanks in advance for any and all advice.

John.

Aug 8 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.