Showing posts with label pages. Show all posts
Showing posts with label pages. Show all posts

Wednesday, March 28, 2012

Dynamic Creation of AJAX Controls (w/Intellisense?)

Is there any way to make intellisense work for the AJAX Control Toolkit in the code behind pages? I'm trying to dynamically create controls in c#.

Thanks!

Hi Jerryp,

First , I think you should InstallAsp.Net 2.0 Ajax Extension V1.0 and then installAjax Control Toolkit. You can get them from this url: http://www.asp.net/ajax/ . If your project is an exsit which is not an Ajax-Enabled project, you canmodify the web.config and add reference to the AjaxControlToolkit.dll.

By the way, Javascript intellisense is support by VS2008.

Hope this help.

Best regards,

Jonathan


Thanks for your respnose! I already have all those things installed. I guess I should have given more background. I am trying to create the controls in my c# page_load method. When I dynamically create the controls Intellisense doesn't work, so I've been using Reflector to see what methods are available on the different classes. It doesn't really get annoying until you have to drill down through the class hierarchy to find out what a property is called. My code compiles and runs, but it's difficult to develop with the AJAX Control Toolkit if intellisense doesn't work. I would like to know how to get the intellisense for the control toolkit to work.

Thanks,

Jerry

Wednesday, March 21, 2012

DropDownList blinks on update in IE, not in FF

I have some pages with lots of updatepanels and stuff, and everything works fine. The only glitch: each and one drop down list inside an UpdatePanel disappears when the update of that particular UpdatePanel is initiated, and then reappears whan the update is finished. This is quite some annoying "blink" ! :)

The "blink" happens to all my ddl's inside update panels, irrespective of whether I actually change their values, rebind, whatever. But, it happens in only IE 6, but NOT in FF 2, where the updates runs smoothly, just as for all other components in all my update panels.

Anyone with any ideas on how to stop the ddl's from blinking in IE ?


Bump. Anybody facing similar problem ? Or rather, solutionSmile