Thank u. Ive not downloaded the control, but i could see that, it is a trial version. Can i deploy my project with this control without any hitch? or what is the limitation for using this trial version?
I am using ajax autocompleteextender. I have declared the service method in the user control itself instead of declaring it in aspx page. But the extender does not work .How can i do it? I want to declare it in ascx page,as i will be reusing the component. i am developing in vs 2005
my master page script
<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true" EnablePartialRendering="true"/asp:ScriptManager>
my aspx page where i am inheriting masterpage
public partial class ctlAutoExtender : System.Web.UI.UserControl
protected void Page_Load(object sender, EventArgs e)
public static string GetCompletionList(string prefixText, int count)
string sql = String.Format("select clt_tVLongNm from mclient where clt_tVLongNm like @companyname + '%'");
List<string> companyList = new List<string>();
using (SqlConnection connection = new SqlConnection("server=192.168.2.57;uid=sa;pwd=d28rg6yp;database=fnocash_report"))
using (SqlCommand command = new SqlCommand(sql, connection))
using (SqlDataReader reader = command.ExecuteReader())
I am using gridview and it has check box selection. I have set the allow paging property to true. When I click a checkbox and go to next page and again come back to the page where i have clicked a checkbox, it gets unchecked.Please help me on this issue. i have to maintain the state of the checkboxes
i have a problem like when i am redirecting from one page to other page in my site but with "https" instead of "http" then protocol is changed but home page is reloaded instead of opening that page referenced by
I am using gridview and it has check box selection. I have set the allow paging property to true. When I click a checkbox and go to next page and again come back to the page where i have clicked a checkbox, it gets unchecked.Please help me on this issue.
There are some files that I'd like to put on the server of the web application, and I want the client to access them from the server using Server.MapPath()
The files saved on the server are on "C:\Inetpub\wwwroot\MyProject"
Now, How will the client access them after I install the application on his machine, I mean maybe the his Opeerating System is on the "D" not the "C" Drive??
for example, In my web application, when the user presses a button, certain data is saved in an XML file. This XML file should reside on the server so I put it here: "C:\Inetpub\wwwroot\MyProject". Then when the user presses another button, he is supposed to view this file. So he accesses this file using "Server.MapPath()". Now after deploying this application on another machine, how can I save this file on the server on this machine, I mean is this path correct or what??
sorry for taking u so long to read this but I just wanted to understand how to do that??
thnx in advance
You should always use relative paths (using Server.MapPath) and never hard code the path. Also when you deploy the application, you save that XML file in the Myproject folder under the application root whatever it is.
You can post the download code if you need more help.
Am having one problem while developing,, please help me out as soon as possible,,, its urgent,,
Am using textboxes to insert data into database,,,I want to insert textbox contents into database,,, but without using any button r click event,,,,, after filling the data into textboxes it should save contents automaticaly,,,
waiting for reply
Last Visit: 31-Dec-99 19:00 Last Update: 1-Feb-23 13:38