Tuesday, January 11, 2011

PopupControlExtender GetProxyForCurrentPopup not showing in Intellisense

I was wondering why when I type PopupControlExtender. nothing happens. Supposedly, GetProxyForCurrentPopup method will show.
The solution was so simple, I forgot to include the namespace of AjaxControlsToolkit.
Code:
  //add namespace AjaxToolkit  
  using AjaxControlToolkit;  
  //call commit method  
  PopupControlExtender pce =   PopupControlExtender.GetProxyForCurrentPopup(this);    
  pce.Commit("hi");

0 comments:

Post a Comment