About the author

Vijay Kodali
E-mail me Send mail

Recent comments

Authors

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2024

CollapsiblePanelExtender set collapsed from codebehind

   <asp:CollapsiblePanelExtender ID="cpeTest" runat="server" TargetControlID="Panel1"
                                            CollapsedSize="0"
                                            Collapsed="True"
                                            ExpandControlID="lbutton1"
                                            CollapseControlID="lbutton1">

 cpeTest.ClientState = "true";
 cpeTest.Collapsed = true;

Posted by vijay on Friday, March 2, 2012 6:27 PM
Permalink | Comments (0) | Post RSSRSS comment feed

Make sure AjaxControlToolkit. Properties. Resources. NET4.resources was correctly embedded

Error Message:

Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "AjaxControlToolkit.Properties.Resources.NET4.resources" was correctly embedded or linked into assembly "AjaxControlToolkit" at compile time, or that all the satellite assemblies required are loadable and fully signed.

Reason:

AjaxControlToolkit’s control load reference refers to the base System.Web.UI.Control method which is present as a part of the ASP.NET AJAX Libraries and those libraries are referenced only when the ScriptManager is referenced in the page.

Solution:

Add ScriptManager in the page and this error would be resolved.

            <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>

Posted by vijay on Sunday, November 6, 2011 9:16 PM
Permalink | Comments (58) | Post RSSRSS comment feed

Ajax AutoCompleteExtender not working

Make sure you have indicated that a Web service can be invoked from script..

 
    [System.Web.Script.Services.ScriptService]
    public class AutoCompleteService : System.Web.Services.WebService
    {
 
        //[WebMethod]
        //public string HelloWorld()
        //{
        //    return "Hello World";
        //}
    }


Categories: Ajax Toolkit | ASP.NET
Posted by vijay on Thursday, March 12, 2009 9:57 AM
Permalink | Comments (0) | Post RSSRSS comment feed