How to read a word document in asp.net
I want to read a word document in asp.net and i need to convert the document words into bytes .So how to do that ? ...
I want to read a word document in asp.net and i need to convert the document words into bytes .So how to do that ? ...
I don't understand why I can't create n test.asmx/test.config file but I could make test.dll or any other file extention using the same codes below: WebClient webClient = new WebClient(); string data = "upload data using webclient."; Stream stream = webClient.OpenWrite("http://152.226.152.162/rightfolder/test.asmx", "PUT"); ...
How do I install a web application as a web site in IIS6 using the regular Web Setup Project? I do not want to install the application as a virtual directory in "Default Web Site", but a new web site (and if possible create the site during the installation). Also, is it possible to select the ASP.Net 4 Application pool as default in the...
I'm creating a custom control where I'm extending the GridView class for custom paging. I attached a ropdown in the GridView OnRowCreated event and set the autopostback property of the dropdown to true. Now I want to handle this index changed event of tje dropdown on the page where I'm using this custom control. I tried using Delegate a...
I have three textboxes: Textbox1, Textbox2, Textbox3 I have to check if any of the values are same in all the three. ex: I have 1 as value in one textbox. I cannot have 1 in the other two textboxes. I am using the textboxes to input ids. If I enter duplicate id's (for example I enter 1 in Textbox1 and Textbox2 / Textbox3 ), the progr...
There are plenty of articles that explain the ASP.NET WebForms page lifecycle, but what happens between the constructor in the code-behind page getting called and the Page_PreInit event? MSDN refers to this time as the "start stage" of the page. I am debugging some code in which there is often a moderate delay between these two events (...
I have two Comboboxes where the second one is dependent upon the first one. When the SelectedIndexChanged event of the first Combobox fires then the second Combobox will be enabled. After the event, the second Combobox is enabled but I cannot select the ComboBox item. EDIT I use Dev express Tools First Combo I load in Page_Load Even...
I have an asp.net website StartPage that does not require signing-in, in order to view it. On this StartPage, there is a Login linkbutton that when clicked opens a small Login popup page. Unfortunately, after the user has entered their loin credentials and clicks login, the destination page loads in the same popup window which is not my ...
I have a session data which I am binding to jqGrid. I want to implement sorting on jqGrid. For this I converted my session data like DataTable dtProduct = (DataTable)Session["ProductSearchResult"]; dtProduct.DefaultView.Sort = sidx; But sorting is not yet working. If I am missing any other step please tell me. ...
In ASP.NET My button click event doesn`t work on first click. But it works on the second click only. I hope u can help me. ...
Asp.Net Pipeline Transaction Management in .Net/Sql Server ...
Hi I need write a regular expression for RegularExpressionValidator ASP.NET Web Controls. The regular expression should ALLOW all alphabetic characters but not number and special characters (example: |!"£$%&/(). Any idea how to do it? thanks ...
We have a database with a lot of information about Persons. I won't post the entire database structure because it is too big, but it looks something like this: Person ID Name Street City State Country Language LangCode Language Interest ID LastChangedBy LastChangedOn LocalizedInterest InterestID LangCode Description PersonInterest...
Hi, My question is probably a simple one to people used to ASP.NET, So here it is: I have a webform in a master page that has a listbox which populates itself with numbers which serve as unique id for my objects. The only problem is that the selected index property of the listbox is always -1 and it automatically deselects itself, no ma...
Hi all Here is the question : I have following entities: Every time i update or insert a transaction i would like to autodetect the category depending on ReferenceMappingExpression or DescriptionMapppingExpression in CategoryMappings Entity. I mean i want to match Transaction.Description to CategoryMappings.DescriptionMapping and if i...
Very recently I started to get some strange focus_change errors show up in the console window in chrome when navigating through my asp.net web application (details below), I cant find anything on the internet that references a "nikkomsgchannel" and have no idea why my application is making a request to this external resource (it never us...
I have the following code to store session variable in one webmethod and retrieve it in other webmethod but the value displays null when i try to retrieve it. [WebMethod(EnableSession = true)] [ScriptMethod(ResponseFormat = ResponseFormat.Json)] public bool SubmitList1(string businessname ) { Session["Company_Name"] = busi...
I have a search page get data from two sources: 1- my data base 2- web service function How to put this two data sources in my list view? ...
Can I view a flash image inside an iframe tag? ...
I have a button styled with js and css and its inside an update panel everytime i click the button (do postback) it loses style ? pretty sure its an easy issue here , any idea ? <html xmlns="http://www.w3.org/1999/xhtml"> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManag...