formats

How to create a Default “Enter” Button for Forms/PostBacks

Issue: How to create a Default “Enter” Button for Forms/PostBacks Resolution: in page load add Page.RegisterHiddenField(“_EVENTTARGET”, “AnyButtonName.UniqueID”);

formats

“404: Not Found” error when calling a web method – Cascading Dropdown

Issue: “404: Not Found” error when calling a web method – when using Cascading Dropdown Resolution: Step 1: Add Script Manager as below <asp:ScriptManager ID=”ScriptManager1″ runat=”server”> <Services> <asp:ServiceReference Path=”CascadingDropDown.asmx” /> </Services> </asp:ScriptManager> Step 2: Add code in dropdown in update panel. <asp:UpdatePanel ID=”UpdatePanel1″ runat=”server”> <ContentTemplate> <cc1:CascadingDropDown ID=”CascadingDropDown1″ runat=”server” Category=”Category” TargetControlID=”Calling_DropDown” PromptText=”Select” LoadingText=”Loading….” ServicePath=”~/CascadingDropDown.asmx” ServiceMethod=”GetData” > </cc1:CascadingDropDown>

formats

User not local; please try a different path. The server response was: Sender address is not valid

User not local; please try a different path. The server response was: Sender address is not valid for your login. Check your email program settings.   Solution 1: When your are receiving any email which is not containing your domain name then you should not use Credential in .Net / PHP.  

Home Archive for category "Asp.Net"