Browse by Tags
All Tags »
AJAX (
RSS)
“Ajax client-side framework failed to load”. If you encountered with the error message above after login to your site and you're using the ASP.NET membership framework (and you verified that MS AJAX is properly installed), you can add the following configuration section to your web.config: < configuration > ... < location path ="ScriptResource.axd" > < system.web > < authorization > < allow users ="*" /> </ authorization > </ system.web...
Every web developer using Firefox might have Firebug plug-in installed. For the ones who uses Internet Explorer during the development there is similar tool that you probably already know, the "IE Developer Toolbar". It's very nice one but it is lacking a bit compared to Firebug. This post will talk about the " Web Development Helper " which is a complementary tool for IE web developers, developed by Nikhil Kothari . This tool introduce few helpful features, here is some of...
In our current project we are using the RadControls toolkit for ASP.NET AJAX from Telerik at the presentation layer. One of the controls we were used the most was the RadComboBox for its wide client side API, enables you to make changes at the client side without bothering the server with tasks like filling new list of items, remove some etc. I had few cascading combo boxes and I was using AJAX web-service to add items to the one depends on the other selected value on the client-side. Everything...
בעייה: כשעובדים עם הפקדים של MS AJAX Toolkit לעיתים קורה מצב שבעליית הטופס פקדים מסויימים, שאמורים לעלות במצב "collapsed" עולים "expanded" לחלקיק השניה ומיד נסגרים. בד"כ זה לא קורה והפקדים עובדים בסדר, אך הפעם היה לי צורך לשתול באופן דינמי alert של javascript שאומר שהנתונים עודכנו בהצלחה לאחר ביצוע פעולת שמירה. מכיוון שה alert עולה ב load של הטופס, חל עיכוב בטעינת ה form ובעצם מה שקרה זה שה CollapsiblePanel שלי, "נתקע" במצב "expanded" במקום "collapsed"...
לפני כמה ימים הייתה לי בעייה: ביצעתי פעולת עדכון נתוני משתמש ל Data Source, ולאחר בדיקה שהעדכון אכן בוצע, שתלתי js alert שהעדכון אכן בוצע בהצלחה. הבעיה הייתה שהסקריפט לא הופיע בדף אחרי העדכון, ובדיקה ב view source הראתה שהוא בכלל לא נשתל. מכיוון שהמערכת שלי מציגה נתוני משתמש לפי ID מה QueryString, לאחר יצירת משתמש חדש הייתי מבצע Response.Redirect ל URL + ה User ID החדש. מה שהיה קורה, זה שה alert היה נשתל בדף הישן, ואני הייתי נשלח לדף החדש. אז חשבתי, איך אני יכול לשתול JS alert בדף שאני רוצה לעבור...