Get values from string?
How to get the error number and error description from this string s = "ERR: 100, out of credit"; error should equal "100" error description should equal "out of credit" ...
How to get the error number and error description from this string s = "ERR: 100, out of credit"; error should equal "100" error description should equal "out of credit" ...
Can i place more than one triggers for a single update panel? Is it possible to give multiple triggers for an update panel. Is there anything that i should take care if i am using multiple triggers( if it possible) ?? ...
yes can search google but there are thousand of results by your experience which links give the best for a beginner who has to make some website using it within a month. i mean the styling, the ways to style the footer (you knw the copyright message) using vs08 c# aspx thankyou ...
Hello you all , I have a flash banner in my website and it has some navigation links on it . Because I have several different folders in my website I need address them from the root . At the moment i use getUrl like this : getURL("ArticleList/Default.aspx"); But it doesn't work . Thanks in advance ...
I have a checkbox named cbSelct. In a botton_click event i wrote cbSelect.Checked=true is the above code in the code behind page causes for a cbSelected_CheckedChanged event? I created a new website and place a checkbox named cbSelect and a button. protected void cbSelect_CheckedChanged(object sender, EventArgs e) { Response.Wri...
Hello, I am newbie in ASP.NET. I have prepared an arraylist of Product and want to display in the page. Easiest way is binding the arraylist to GridView. But I don't have flexibility there, since it will automatically generate a TABLE behind the scene. Is there any other way to give us flexibility to really control the HTML output, for ...
https://www.x.com/community/ppx/code_samples The sample code returns ACK, but where is the proper response? For example Getbalance, sample code returns ACK https://cms.paypal.com/cms_content/US/en_US/files/developer/nvp_GetBalance_cs.txt but the document shows it returns other values? https://www.x.com/docs/DOC-1186 ...
Hi, For my site I want to have a page which I will call programatically to add content. The parameters that I will need are some strings and the content of a file. I will invoke that with WebRequest object form .net. How can I send the string parameters and the content of a file in a post request and read them in the aspx page? Is ...
I have an asp.net site. Its a mixture of web forms and MVC2. I have this on 2 different servers which I get to via different urls. On one server authentication works fine via all browsers (IE 8, FF 3.6, Chrome) On the other IE 8 fails, it doesn't send back the cookie on the request to the page after authenticating. Using Fiddler I ...
i like help ways to add copy write footer on web page.aspx so that it always remains at the end no matter the size of image be. when my image increase in size, the copy write message appear on it ...
Hello Guys, I have a vertical left menu in my asp.net page. using jquery .load,i try to load other aspx page in the midlle div(content div) depending on the link click.Like this: $('#LeftMenu1_HyperLink1').live("click", function(event) { event.preventDefault(); $("#ContentDiv").load("mypage.aspx"); ...
hi, im creating a web form that requires a user to uplaod a file in doc,docxorpdf format on submit the form gets posted to an email address along with the attached file, ihave successfully implemented the posting of form to the email address but don't know how to attach the file with it ... plz help public void ProcessRequest(HttpConte...
Hi, our web application frequently losses it's session state (user is being logged out very often). I predict that the reason of such behavior are some exceptions thrown and unhandled in side threads of application or whole application restart. I'm pretty sure that it's not caused by recycle worker, because it happens in irregular peri...
Hello I have the following repeater code: <asp:Repeater ID="repMain" runat="server" OnItemCommand="repMain_ItemCommand" EnableViewState="false"> <ItemTemplate> <dmg:testcontrol runat="server" MyData=<%#Container.DataItem %>> </dmg:testcontrol> </ItemTemplate> </asp:Repeater> The testcontrol usercontrol looks li...
I am making use of an ASP.NET Masterpage. I have 3 tables as Columns in my Masterpage. The first table load then the second table that contains my "ContentPlaceHolder" and then table 3. How or what must I do to load table 1 and then table 3 and then lastly the table 2 that contains the "ContentPlaceHolder"? ...
I am getting error when I run the application, Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. This is the error I am getting when I run the application, I added the new dl...
I'm programming site for ren-a-car company, and I need to save exactly three pictures for every car. What is better to store in database ( table description) path to images and images save in some folder OR to save pictures in table (MS SQL )? ...
i have a form which has two textboxes and a submit button. on entering data and submitting data gets stored in the database.but if i again refresh the page the same data again gets stored. How should this be prevented? ...
I use the default ASP.NET Profile Provider which lets me define user properties in web.config. I now no longer want to use one of these user properties. I want to delete all traces of it. I can remove the property from the list of properties in web.config however, I suspect, the stored values for this property will still be held in the...
my model using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace amief.Models { public class WebsiteModels { public static void getPagesForPage(int pageId, dbDataContext db, List<page> myPages) { var pages = (from p in db.pages where p.pageParent == ...