[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

ASP .NET Infragistics AJAX Broken?

Posted on 2007-08-08
2
Medium Priority
?
1,979 Views
Last Modified: 2013-11-19
Hi,

I appreciate your time in helping with this problem.

source code can be found at http://www.ryanupton.com/WebSiteTest2Userclick.zip

DESCRIPTION IN BRIEF

We have set up a Web-based form using 1 drop down selector(Infragistics seachcombo), and a submit button (Infragistics WebImageButton), a WebPanel (Infragistics WebPanel) , a refresh panel (Infragistics WebAsyncRefreshPanel)and excel exporter (Infragistics UltraWebGridExcelExporter) that uses the values the user selects in the above mentioned controls to seed a query.

The query is then run against the database and the results displayed in the Intragistics Ultragrid  

What we would expect is that upon selecting different parameters and hitting submit the display would update with the new result set. What we do see is results seem to persist in the Ultragrid control until the user starts to interact with the control via the slider or hit the submit button a second time.

We think that one possible cause is that the control is somehow caching the prev resultset in any case it does not respond in timely fashion.

DETAILED DESCRIPTION

The selector individually populates a class which is stored in the session using the session command

The User then presses the submit button. The submit button grabs the global session data and then populates the Infragistics Ultragrid control using mysql data and displays the data in a heiracheral form. The Ultragrid is set to XML and Load on demand XML.  

This program works perfectly with one user on the server.

The size of the data and per the four brand tables is parent 1019 rows, child 5161, gndchild 48140 rows and ggchild 185937 rows

The existing setup is 4 computers,

Server 1 DATA : One Fedora Linux server Linux version 2.6.20-1.2952.fc6 runing MYSQL Ver 14.12 Distrib 5.0.27, for redhat-linux-gnu (i686) using readline 5.0 this stores the data Intel(R) Pentium(R) 4 CPU 3.40GHz

SERVER 2 HTML : One Windows XP Professional Version 2002 SP2 P4 3G 2G RAM  IIS  Internet Information Services Microsoft Corporation Version: 5.1 Running VS2005 Infragistics NetAdvantage for .NET 2007 Vol. 2 CLR 2.0
 
CLIENT 1 : One Windows XP Professional Version 2002 SP2 P4 2.8G 1G RAM IE VER 7.0.5730.11

CLIENT 2 : One Windows XP Professional Version 2002 SP2 Core Duo 2.8G 2G RAM Using Microsoft Internet Explorer Version 6.0.2900.2180.xpsp_sp2_gdr.070227-2254


DESCRIPTION OF PROBLEM  


When two or more different users are logged in as clients and one user selects data using the selectors then the follow problem occurs Randomly every 5 or so selections.


As Seen on Client 2
1) User1 one selects filter using the Infragistics searchcombo (pull down menu) select,  "Current Area",  then presses submit. While a second user does the same. The Control seams to start waits then expires without running any code randomly on one user.

As seen on Client 1
Senario 2.

Step 1) The user selects an area, presses submit and table populates Step 2) The user selects an area, presses submit Step 3) The async rotater spins then disappears and no new data appears ! The debug labels show new area selector code runs but that the submit code doesn't Step 4) If the user then selects another area the tables displays the selected data Step 5) Or iF The user presses submit again the data is displayed Step 6) Or if you export the code using excel export the table contains the new data.

Its as if the repaint or refresh of the Ultagridtable has not happened

I have debug flags down the bottom to figure out what is happening. if you export the code using excel export the table contains the new data.

HYPOTHESIS OF PROBLEM

1) Refresh / repaint of control broken
2) Program is sharing global variables with other programs
3) Program is sharing XML files

Where does the program store XML info? where is it stored  is it on disk?

4) The click action of the Infragistics controls is being stolen

I still don't know if the problem is with Infragists, my code or something else.

It's important to have two users logged in at the same time so we need this problem fixed.

0
Comment
Question by:rctems
2 Comments
 

Author Comment

by:rctems
ID: 19659651
Fixed it, and I think it is Infragistics bug.

The process of the form is as follows. The user selects an area using the pull down, then presses submit. The Ultragrid is then populated and displayed.

The bug arises when...

The user selects the WebCombo the UltraWebGrid InitializeDataSourceEvent fires. That is the Webcombo calls the Ultragrid databind. When the user clicks fast or at the same time as other users the event runs into the submit datasource event and other webcombo datasource events. This cause random crashingbehaviour in the program  

To fix it I checked to see who fires the event and ignore the webcombo originating events with the following code

protected void UltraWebGrid1_InitializeDataSource(object sender,       Infragistics.WebUI.UltraWebGrid.UltraGridEventArgs e)
        {
            if (e.Equals(this.UltraWebGrid1))
            {
......

Do you agree that this is indeed a Microsoft bug and that this proposed solution solves the problem.?

Ryan Upton
MBA(adv)
BE(hons)
RCT



{Links to personal websites removed -- mbizup, Access ZAPE 06-Feb-08}
0
 

Accepted Solution

by:
EE_AutoDeleter earned 0 total points
ID: 19814857
rctems,
Because you have presented a solution to your own problem which may be helpful to future searches, this question is now PAQed and your points have been refunded.

EE_AutoDeleter
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question